-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JOSS] replace thinkdsp with librosa.core.tone #3
Comments
Hi @faroit, So sorry - this has been on the back burner, but I'm ready to make this a priority these next weeks. I looked into the package you referenced, and found it couldn't do some of the minor odd specifics I needed. Switching to librosa would require more of a major rehaul of the code that feels necessary given our scope. Looking into thinkdsp.py, there are some major class dependencies that the code uses in order to run the simple Sinusoid object, but I've pulled together some basic tests that have now been committed in ./tests/test_thinkdsp.py. For your reference, I've commented out the portions of thinkdsp.py that are not strictly necessary. While the tests don't cover 100% of the processes, I think my tests cover the basics. Let me know if this is enough to fix this issue. Cheers, Locke |
Curious about the specifics that you need. I am sure @bmcfee would love to hear about them and you could think of adding this to librosa via PR, which would allow more users to get access to these functionalities. If this is too specific, I am okay with removing the unnecessary code form thinkdsp.py |
Hi @faroit - thanks for the reply. Looking back over this, I think removing the unnecessary code is the best way to go. I've already commented the unnecessary code out; let me know if you would rather I delete it entirely or if leaving it commented (for possible future updates) is okay. At this point, let me know if you need anything else from me to complete revisions for this submission. Thanks! |
Planning on closing this issue, but feel free to reopen if I misread your comment @faroit. |
i just had a quick look and I still think that there is a lot of code in |
the included
thinkdsp.py
file is only used for a single function -CosSignal
. I would suggest to copy just this function (and add unit tests for this) or replace this with librosa, a very popular audio framework, that includes a tone generator as well: https://librosa.org/librosa/generated/librosa.core.tone.htmlThis issue is part of a JOSS submission review
The text was updated successfully, but these errors were encountered: