Unexpected error message when calling live.object "create_audio_clip"
Hello and thank you for taking the time to read.
I am working on a device that adds an audio clip to the currently selected track at the transport position in Live.
When I attempt to call the "create_audio_clip" function, I get an error like such :
live.object: Please provide an absolute path: 'create_audio_clip Macintosh HD:/Users/joewalsh/Desktop/ABSCasing_f_1.wav 10680.0'
I'm currently using a .wav file on the desktop for testing, but have tried other file locations as well with no luck so far.
Any help and/or advice you can offer me would be greatly appreciated! Thank you!
UPDATE: I found out that by adding /Volumes to the beginning of the file path, it now works properly.
Max Patch
Copy patch and select New From Clipboard in Max.