fsplay~ path outside 'sounds'-folder not possible?


    Jun 21 2022 | 7:05 pm
    Hi!
    For the [fsplay~] object I open a file name by connecting [message] with 'open drumLoop.aif'. When I [message] "1" (play) it works.
    I want to order my sound files so I would like to use subfolders. No matter what I try I can not get 'open (/)folder/drumLoop.aif ' working. The max-window says: "can't find the file folder/drumLoop.aif". According to the documentation this should be possible.
    I checked the Max search path in File preferences and the subfolder 'folder' is listed there.
    What am I missing? (I use version 5 )

    • Jun 22 2022 | 8:41 am
      you can't use path like that. Either absolute path or file name. If you add a folder as search path. and activate subfolders, then file will get found.
    • Jun 22 2022 | 9:11 am
      and after you moved media files or added new ones, restart max...
    • Jun 22 2022 | 6:51 pm
      Thanks for the replies! @Source audio: how should I use them? Could you give me an example? I've tried [open "C:/Program Files (x86)/Cycling '74/Max 5.0/examples/sounds/pillarscherokee.aif"] without success so that is probably not what you mean.
      @Roman I did a restart. Thanks for the tip anyway! :)
    • Jun 23 2022 | 8:03 am
      If you want to use files located in max examples, which are anyway in search path, you only need file name, no folders prepended.
      If you want to use files in any other location, then add that location to max search path, activate subfolders and again use only file names. If you want to use absolute path, without adding any search paths to max, then you need something in that direction, but you have a mistake in sprintf symout s%s% missing slash between folder path and file. in that case correct would be sprintf symout %s/%s
      open "C:/Program Files (x86)/Cycling '74/Max 5.0/examples/sounds/pillars/cherokee.aif"