Comments (6)
Hello,
It seems that the function calling Automix is a debug function I forgot in the code and is likely deprecated. I would remove the function to correct the issue, or you would have to replace it with your own implementation. But I don't understand how this is an issue since this function is never called.
If you want to install Automix, it is available here: https://github.com/MZehren/Automix. But it is likely outdated compared to the private version I was using.
Does this help?
from adtof.
Hi Mickael,
Thanks for taking the time replying. It does help! And yes you are right, it hasn't been called so far, but I just wanted to make sure all the dependencies are properly installed.
However, I haven't been able to successfully run automaticGrooming.py. The error comes from madmom library saying it couldn't load *.ogg files because ffmpeg is missing, while in fact ffmpeg is installed. It reads:
madmom.io.audio.LoadAudioFileError: "All attempts to load audio file 'data/dataset/audio/audio/Pedro Cap - Calma (Remix ft. Farruko).ogg' failed. Try installing ffmpeg (or avconv on Ubuntu Linux)."
I tried reinstalling ffmpeg
and madmom
, but it didn't help. I am using MacOS v12.2.1.
Would you have a guess how to solve this? Thank you so much!
from adtof.
Thank you for your comment.
I did not encounter any issue with FFMPEG personally, but it seems that you are not alone from a quick google search: https://groups.google.com/g/madmom-users/c/xgqHlZuNyIw
Can you try what Sebastian suggests in his answer?
The issue does not come from my ADTOF, so it is difficult to help you more than that.
Let me know if Sebastian's suggestion does not help you.
from adtof.
Thank you very much Mickael!
I will try the solution later and will let you know if that works!
Much appreciate your help!
from adtof.
Hi Mickael,
After brew reinstall ffmpeg
and pip install ffmpeg-python
, madmom is now able to find ffmpeg and the problem is solved!
There is still a minor error - the automatic data grooming process sometimes is stopped by failing to read bad MIDI data (out of the range of 0-127).
For that I added a try/except handling in this for loop to skip the bad data, then it all went well!
Thank you very much!
from adtof.
Good to know, thank you for your input!
I remember having issues with some midi files too. There is already a try/catch here to count the number of occurrences of each type of errors.
I wonder why yours is not caught already. Maybe it doesn't correspond to a "ValueError".
I'm closing this issue now.
Mickael
from adtof.
Related Issues (13)
- Automatically download, pick and convert files
- Python-midi requirements doesn't work with python 3 HOT 1
- Consider a Python 3 MIDI library HOT 1
- Expand on Installation section in README
- Consider following PEP 8
- Add a working test/example
- PhaseShiftConverter.py is missing its docstring
- extract data from video demo of drums manufacturers.
- extract data from already existing transcriptions
- Add an MD5 hash of the original audio files HOT 1
- How to get audio raw data๏ผ HOT 2
- ContextualVersionConfilct error when running the second cell of the model HOT 2
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 adtof.