Loading a sample.

Jan 27, 2008 at 10:25pm

Loading a sample.

Evening, I have been hunting around for the last 3 days trying to find this out.

But is it possible to load a sample by default, into the buffer when the patch is opened? I would imagine it has something to do with loadbang, and I have been experimenting, but nothing has worked yet.

I assume it is something silly that I am missing as it seems pretty fundamental.

Cheers.

#35541
Jan 27, 2008 at 10:38pm

like this… you can just loadbang the message, but writing the filename directly to the buffer~ object is easier ;)

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 190 108 87 196617 replace drumloop;
#P newex 190 132 118 196617 buffer~ sound jongly.aif;
#P connect 1 0 0 0;
#P window clipboard copycount 2;

#121266

You must be logged in to reply to this topic.