diracdeltas / spleeter4max

separate audio in ableton into stems using Spleeter
https://youtu.be/4pcJoI5CUOA
547 stars 51 forks source link

Windows cannot find "(file destination)". Make sure that you typed the name correctly, and then try again error. #64

Open Pattern-Maker opened 1 year ago

Pattern-Maker commented 1 year ago

Did you read the installation instructions already?

Yes. I know I'm not using the official versions of Ableton and Max but I thought there might still be a solution if this is the only error. I have native spleeter installed and working separate from Ableton and Max 4 Live.

Describe the issue When I try to run the Spleeter M4L device I get this error message from the image below.

Screenshot 2022-12-06 Windows cannot find file

Info:

Thanks for your work on this. I'll figure this out one way for another. I'd actually really like to make an improved version at some point that has a selector for the 2,4, and 5 stem options.

diracdeltas commented 1 year ago

it's been so long since i've looked at this, but my first thought was are you sure max/ableton/spleeter all have access to C:\? seems like it's a permissions issue

Pattern-Maker commented 1 year ago

Thank you for taking the time to return to this and reply to my issue. Your work is still being appreciated! I'm looking into the permission right now. I use the same directory when using Spleeter from command prompt and I also use the same directory as user folder in Ableton along with M4L device storage. With that being said I'll see what I can find along these lines.

Pattern-Maker commented 1 year ago

I gave Max full access and the error is still occurring. The way it reads is that Spleeter4Max is looking in the wrong location for the audio file. I tried consolidating the audio file in Ableton before using Spleeter4Max which prints it to an Ableton Temp folder. Despite doing this and then selecting the track for splitting the error message still refers to its original location prior to consolidation.

Max4Spleeter screenshot 2

diracdeltas commented 1 year ago

this is the line of code where it gets the file location using the Max API: https://github.com/diracdeltas/spleeter4max/blob/feature/native-spleeter/main.js#L11

it's possible this API doesn't work the same way in whatever version of ableton/max you are using?

diracdeltas commented 1 year ago

https://docs.cycling74.com/max8/vignettes/live_object_model