loadmess prefix / open
I want to play a sound file (called Ambiance1.wav) through splay~
It is in the same folder as the max patch on my computer.
I trigger it with message ‘open ambiance1.wav’ but that doesn’t work.
I also tried object loadmess: ‘loadmess prefix ./Ambiance1.wav’ and that doesn’t work.
How can I open the .wav file without using message ‘open’? (I want the maxpatch to open the right .wav by itself)
Try "loadmess open Ambiance1.wav", it should work.
i thought the same way when i first started with max, it doesnt check for what objects to use that are in the same folder as the patch, it needs a directory to look up.
so go to options -> file preferences
then click the little "+" sign at the bottom left corner, it should say "add path" if you hold your mouse cursor over it, then select what path your file you want to use is in.
THEN, do what pierre said.
----------begin_max5_patcher---------- 573.3ocyV1saaBCEG+ZpTeGPd2lVYa9Hv1U6EXu.SSUNfSpm.aD1YMoUqO6y efSBMgJDMisa3fNGyg+me3yw7xs2D.VI1QkfvOG98vffWzdBr9LdB7NB.0jc EUDocgfZpTR1PAK5Bpn6T1.nCtDaUUTkZeC0kZ.H7G9XqEbkj8rMBBeOz6ug nJdjw27PKsP4drn7Dc7PTJzZx7W6mLNo1lLvWaYjpCZfuslw0pvJZ7Idchy5 F4cyJsYPr5m2gf.qyee6MFq1rXzngSeRmhyISkfTthv2LLfrQmFjxhsbAkZL NTggSARnwCo7oynlVpjpFlD93g.F2Z563XYcIVrL2sGYo0.svHtGLFSEGegJ N6fhc54gRhh3abNVqtbsh1dZ50NOt5jEtDlZpn0UB8x6tiXJRjQrcOllqc2O EPSetjT7J3cvE1AnHncqSbh+5.zZflH3En0xou+vijg1e3A0GnkAmgrcIwlk Elb8aYvW.IoSGICNwUzP4g06eh7KZR58Zy0dBLF5HEzM6EGMKifS9Kfpq9gS nDKSvnjY7vo3q+YSx0MUj8uNLdjrMbiz+HcbnLGrhcSZxmdGGd7cbQGxfT2f zUMe5alJ4PQq+5q+rY1ZCyS0hB57.9B3rIuNsBpX7y9iIaEaB7lO.Rw11B+a t6mKzuiiUcIUpXbhhI3mrpr9K5QVYIk2aTaMqrQnONrSHu2oDiVa4iQZus.l IsEMFssz7o7+WoM+TKcLRK5eB0RFqzlepEOORy3Pa9CSjh+M -----------end_max5_patcher-----------
what i like to do is just have a couple folders organized, like one for external objects, one for soundfiles, etc. then just add the files you want to use in that directory and then if the directory is new, add it to the ones to check in when max starts up.
by the way, you have to change the message from "open mywave56.wav" to "open ambiance1.wav"
Wouw, tnx a lot!
Forums > MaxMSP