Making a soundboard/launchpad

Johann Igoy's icon

Hi there. So I'm trying to make a basic soundboard (or in this case a Launchpad) that plays sounds when I press the buttons. I plan on implementing keybinds and making it so that you can either use your keyboard or just click on the buttons to play them. I'm using color panels and ubuttons to make the buttons and I plan on having the rows play different things like loops and drums, but I need help figuring out trying to make the buttons play a sound.

Project_2.maxpat
text/plain 47.30 KB

Some help would be appreciated, as well as some ideas for some improvement. Thank you

Source Audio's icon

You shoud clean up the patch before posting it.
You must as first declare what shoud be played, only 1 sound at a time,
or should each row be able to play one sound, or should each button be able to play own sound resulting in 16 samples polyphony ?
Are buttons going to be one shot or start / stop ( toggle) with auto turn off when sound
plays to end ?
And so on and so on...
At the end pressing (and ev. releasing) a button should trigger playback.
That again is dependent on the questions above.
If 1 button = 1 sfplay~ than simply send 1 to play, 0 to stop.