Code Monkey home page Code Monkey logo

Comments (6)

MZehren avatar MZehren commented on July 29, 2024

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.

HotzingTone avatar HotzingTone commented on July 29, 2024

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.

MZehren avatar MZehren commented on July 29, 2024

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.

HotzingTone avatar HotzingTone commented on July 29, 2024

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.

HotzingTone avatar HotzingTone commented on July 29, 2024

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.

MZehren avatar MZehren commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.