Comments (8)
For a tutorial on using melodia in python please see: http://www.justinsalamon.com/news/melody-extraction-in-python-with-melodia
Based on the title of this issue I'm guessing you're also getting an error which might have already been addressed in #4, please have a look and see if that resolves your issue. If not please post a full description of your issue including your OS, python environment, the exact code that resulted in the error and the full error message. Thanks!
from audio_to_midi_melodia.
For a tutorial on using melodia in python please see: http://www.justinsalamon.com/news/melody-extraction-in-python-with-melodia
Based on the title of this issue I'm guessing you're also getting an error which might have already been addressed in #4, please have a look and see if that resolves your issue. If not please post a full description of your issue including your OS, python environment, the exact code that resulted in the error and the full error message. Thanks!
For a tutorial on using melodia in python please see: http://www.justinsalamon.com/news/melody-extraction-in-python-with-melodia
Based on the title of this issue I'm guessing you're also getting an error which might have already been addressed in #4, please have a look and see if that resolves your issue. If not please post a full description of your issue including your OS, python environment, the exact code that resulted in the error and the full error message. Thanks!
$ python audio_to_midi_melodia.py a.wav b.mid 60 --smooth 0.25 --minduration 0.1 --jams
Loading audio...
Extracting melody f0 with MELODIA...
Vamp::HostExt::PluginLoader: No library found in Vamp path for plugin "mtg-melodia:melodia"
Traceback (most recent call last):
File "audio_to_midi_melodia.py", line 217, in
savejams=args.jams)
File "audio_to_midi_melodia.py", line 166, in audio_to_midi_melodia
parameters={"voicing": 0.2})
File "/usr/local/lib/python2.7/dist-packages/vamp/collect.py", line 166, in collect
plugin, step_size, block_size = vamp.load.load_and_configure(data, sample_rate, plugin_key, parameters, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/vamp/load.py", line 83, in load_and_configure
vampyhost.ADAPT_CHANNEL_COUNT)
TypeError: Failed to load plugin: mtg-melodia:melodia
why this is happening?
from audio_to_midi_melodia.
hello @justinsalamon I just installed audio to melodia and I am trying to use it on Windows 64 bits with python 3.6 but I have the same problem as @YuHsin1998 . I tried to visualize the mtg-melodia plugin in sonic visualizer and I had no problem. I am running my code in an virtual environment of Anaconda (so I write the following command in Anaconda Prompt: python audio_to_midi_melodia.py a.wav test.mid 60 --smooth 0.25 --minduration 0.1 --jams) I put a copy of the melodia plugin in the 'site-packages of my virtual environment. But I am stuck and I don't have any solution. Thanks a lot in advance for your answer.
from audio_to_midi_melodia.
I think per the README, the program requires Python 2.7.
from audio_to_midi_melodia.
hello @justinsalamon I just installed audio to melodia and I am trying to use it on Windows 64 bits with python 3.6 but I have the same problem as @YuHsin1998 . I tried to visualize the mtg-melodia plugin in sonic visualizer and I had no problem. I am running my code in an virtual environment of Anaconda (so I write the following command in Anaconda Prompt: python audio_to_midi_melodia.py a.wav test.mid 60 --smooth 0.25 --minduration 0.1 --jams) I put a copy of the melodia plugin in the 'site-packages of my virtual environment. But I am stuck and I don't have any solution. Thanks a lot in advance for your answer.
So did you find out how to install in your virtual environment? I'am getting the same issue :(
from audio_to_midi_melodia.
@YuHsin1998 what environment are you using? This script is only supported for 32-bit python 2.7. Also make sure you've installed the melodia plugin as per the instructions in the README file.
@regisamichiafox see above.
Please let me know if you manage to get it working. If not, please specify exactly how your environment is set up, the command your are trying to run, and paste the complete error message you're getting.
from audio_to_midi_melodia.
32-bit python 2.7 - the same problem
from audio_to_midi_melodia.
Sorry, it works. Thanks!
from audio_to_midi_melodia.
Related Issues (20)
- Converted mid file play just ding... dang dong... HOT 1
- Failed on launch HOT 3
- Audioread NoBackendError HOT 4
- Replace librosa with soundfile HOT 1
- Vamp::HostExt::PluginLoader: No library found in Vamp path for plugin "mtg-melodia:melodia" HOT 4
- how to set the program as ‘monophonic’ HOT 8
- TypeError: Failed to load plugin: mtg-melodia:melodia HOT 2
- Melodia plugin download link has disappeared HOT 2
- Could you please tell me how to solve this problem when I install vamp? HOT 1
- Failed to load plugin: mtg-melodia:melodia HOT 3
- error when installing dependencies HOT 3
- Better algorithm for note segmentation/quantization ? HOT 1
- Is Exporting Only WAV possible? HOT 1
- need 'arm64' - Mac m1 HOT 1
- Song requirements
- Timestamps for pitch
- Divide by zero in log2 calculation HOT 2
- Add support for Python 3 HOT 8
- Use contour salience to set MIDI note velocity HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audio_to_midi_melodia.