Sfplay wont load file

    Mar 13 2012 | 9:11 pm
    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

    • Mar 14 2012 | 1:32 am
      any one ?
    • Mar 14 2012 | 2:17 am
      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?
    • Mar 14 2012 | 2:21 am
      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
    • Mar 14 2012 | 2:30 am
      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
    • Mar 14 2012 | 2:45 am
      You'll probably need to make use of the "conformpath" object to get this working right. That'll probably do the trick.
    • Mar 14 2012 | 2:51 am
      thank you guys still not able to open files from standalone get error on maxwindow no file open
    • Mar 14 2012 | 8:22 am
      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.