is their any way i can open a sample into sfplay~ without using open. what i want is to be able to click a message box stating open 1.wav or open C:UsersLEEDesktopdrumsbassdrum1.wav. i dont want the open pop up menu to open at all. is that possible with sfplay~ if not what do i need to use. thanks.
you’re right the answer is simple: right/ctrl click on ANY object and you can access a helpfile which demonstrates not just how to use the object, but also details common message formats and syntax. The answer to your query, and I quote:
"sfplay~ plays AIFF, NeXT/SUN(.au), WAVE, and Raw Data files of 1-32 tracks from disk. To play a file, you send sfplay~ the open message, then send it a 1 to start and a 0 to stop. open takes an argument to specify a filename in the search path….."
– Pasted Max Patch, click to expand. –
Copy all of the following text. Then, in Max, select New From Clipboard.