getting waveform~ to read polybuffer~

Rob MacNeacail's icon

how do i get waveform~ to read which sample polybuffer~ is playing without manually sending it a message?

i've tried doing it with the getshortname command, but it spits out the last sample in the polybuffer instead of the one i've got groove to play.

any help is much appreciated!

Screenshot-4.png
png
Nikolas K's icon

Hi Rob,
Well, [polybuffer~] is just a bunch of buffers, it itself doesn't play any sample. The playback is done, in your case, by the [groove~]. You tell it which buffer to read with the "set polybuffername.index" message, as in your patch the "set thamples.9" message.
You could send the same message to the [waveform~] and it will display that sample.

-N