Hi,
I am Marko from Helsinki, new to Bela, super excited about the sonic/capabilities, sensor connectivity and immediacy of the platform, for so many things, novel expressive instruments.. I myself do have Music Tech background (NYU B.M.), have built arduino etc based glove/portable instruments, some Max/Pd background, spent time at IRCAM etc.
Anyway:
Basically, I am trying to work further with multiple piezos, between 4-8, have started from the basic piezo trigger example 04, but want to be able to trigger multiple separate samples with velocity sensitivity, output to stereo.
I have been searching the blogs, wiki etc for any initial examples/starting code points for how to get things happening, beyond lifting up the "Num_Channels" to 8 from 1, sample name updating etc. Essentially, challenges appear to be:
A) Figuring out the proper approach to sample reading/naming, with multiple samples (assuming it starts from adding new filenames after the string, Ch amounts, possibly altering SampleLoader.h, dealing/customizing sample-streamer-multi etc ?)
B) Getting the velocity sensitive triggering happening in the code; and:
C) Enabling multiple triggering of the same sample, each instance being played on top of each other, rather than last triggered sample with same sensor being shut off when new one gets triggered (if that is possible).. assuming the right term might be voice stealing etc?
Ps. Most recent testing gives a 2X faster pitch shifted playback, when simply swapping a wav file/file name.. Both original wav and my new wav are mono 44.1/16.
Any constructive suggestions, links to relevant examples/code examples/approaches are wholeheartedly welcome, re: above, especially A), and B), currently a bit stuck. I am considering whether to drop the IDE/code approach, and rather approach things from PD side, to be able to get the core happening.. but I assume there is a not so complex way to get multiple velocity sensitive piezos read with the code itself.. Thank you in advance, Best regards, Marko.