Sfplay wont load file

Mar 13, 2012 at 9:11pm

Sfplay wont load file

Hi, I have estrange problem with sfplay,
it wont open a file , even is it is on ./example folder

I like to add the files to a application, so I can use this app on any matchine without having worry about file structure

any help is welcome

– Pasted Max Patch, click to expand. –
#62361
Mar 14, 2012 at 1:32am

any one ?

#225266
Mar 14, 2012 at 2:17am

i do not have max on this machine to try your patch ,

but i create a message box like this:

(open D:/soundfolder/test.wav) and connect it to (sfplay~ 2)

note the ‘/’ slash

make sure your .wav or .aiff is working in a media player,

then go back to max and use (open) to select it, then use (1) to play it. it should play with the dsp on, create an (ezdac~) so you can see your audio is on,

also create a couple of (meter~) and attach them to the output of (sfplay~ 2)

they should flash with a working audio file.

if all this fails. does a (cycle~ 1000) connected to a (meter~) work?

#225267
Mar 14, 2012 at 2:21am

also if your using sfrecord to record these files you’re trying to play, sfrecord can be a bit buggy. try a wav or aiff from an export of your sequencer that you know plays o.k.

tell us how y get on.
peace

#225268
Mar 14, 2012 at 2:30am

thank You teqy
using the open ../music/aif-files/filename.aiff

does not work

using the message open and select a file ,
does work

basically I woudl like to add the .aif files to my stand alone and be part of it so no need o of file selection

– Pasted Max Patch, click to expand. –
#225269
Mar 14, 2012 at 2:45am

You’ll probably need to make use of the “conformpath” object to get this working right. That’ll probably do the trick.

#225270
Mar 14, 2012 at 2:51am

thank you guys
still not able to open files from standalone
get error on maxwindow no file open

– Pasted Max Patch, click to expand. –
#225271
Mar 14, 2012 at 8:22am

I think that you’re better off opening with a full path to the file, and not relying on any search paths.

You can get the path of your standalone and construct relative paths from there.

#225272

You must be logged in to reply to this topic.