Cabbage Logo
Back to Cabbage Site

Using a combobox with wav files and the keys

Hello,

I am new to cabbage and am wondering if it is possible to play .wav on the keyboard files selected using a combobox. I have been looking at the examples but can’t find one that uses audio samples. I would love to show these samples using a soundfiler widget as well to visualise the waveform being played. I don’t know if that is too complicated or not.

If someone could help me out I would be so thankful.

Johnny.

Hi @JohnnyJ, welcome to the forum. Here is a simple example hobbled together from various instruments posted here over the years. Let me know if it works Ok.

comboboxSampleSelector.zip (72.0 KB)

Hi Rory,

thank you so much for replying so soon! That is a brilliant starting point for me to get going.

Thank you for the help again :handshake: