why wont my music load.

edited December 2017 in Library Questions

OK, I converted a youtube video to mp3 then placed it in the program, I'm making but it say can't load. https://paste.ofcode.org/EcHFNHzudGWJ7GZcnVaqqg

=== Minim Error === === Couldn't load the file oChristmasTree.mp3

any advice? minim library

Tagged:

Answers

  • double-check the name of the file. CASE MATTERS.

    the documentation says that it'll look in the sketch folder and the data subdirectory for the file.

  • i copied the name right from the file. What the second part mean?

  • say you have a sketch called Music.pde

    you have a directory in sketchbook called Music

    according to that it'll look for your file as ~/sketchbook/Music/data/oChristmasTree.mp3 and then ~/sketchbook/Music/oChristmasTree.mp3

    this is standard for image and music files

  • edited December 2017

    it still not working. I even tried loading the file with the button. I don't got time for this program to mess up I need to finish this.

  • Drag the file onto the processing ide and it'll copy or to the right place. There's menu item called something like 'add file to sketch' that'll do the same thing if you can't drag and drop.

    If that doesn't work then your file might not be compatible.

    What is the exact error on the console?

  • Does the example sound player work (from the examples menu)?

    Does the example audio file work with your code? Does your file work with the example code?

  • edited December 2017

    yes it example works, is there like a site with music that will work? I found a way for it to work I just need to turn the music on while they watch it. I better go find my jukebox.

  • Answer ✓

    If the example works then it's either your code or your file.

    If the example works with your file then it's your code that is wrong.

    If your code works with the example file then the problem is your file.

    (We don't have your file, we can't tell you the problem)

  • edited December 2017

    i'll try. I'm starting to think no file I try will work.

  • 3 explicit suggestions that will narrow down the problem

    1 vague reply

  • the song I want an converted but even the sample wont accept the mp3 version of it is rocking around the christmas tree. They say it accepts mp3 versions

  • edited December 2017 Answer ✓

    Try an other download manager.

    for geeks

    for people entirely overwhelmed during preparation of Christmas and the challenges it brings

    . . .

    ʕ•ᴥ•ʔ

  • i used 3 already but I'll try more.

Sign In or Register to comment.