zombie snapshots?

mkap7's icon

Hi folks,

I'm having a few problems with snapshots. First, zombie snapshots! I keep deleting snapshots from my patcher window.....and they just reappear 10 seconds later. Same thing if i delete them from the project window. I look away for a second and.......they're baaaaaaaaack. Very creepy.

I looked around a bit and found where the snapshots live, in the finder, even after being "deleted" from the patcher or the project.... and I can delete them there....but is that really how we're supposed to do this? Seems unlikely.

Thanks,

-mk

mkap7's icon

My other problem may be trickier. My patcher is using a gamepad to trigger some VST synths, and I was thinking that snapshots would be a good way to give users a choice of a few presets in terms of which buttons play which notes and with this or that sound.....and this mostly works except that whenever I load a new snapshot, I get an initial blast of notes. This might be a consequence of the probably needlessly convoluted architecture of my patcher, which I wouldn't ask anyone to wade into.....but it sometimes seems like these are accumulated note-on messages that weren't paired with a note-off. Is that possible?

Related question: what is the right message to send to a vst~ object that means "all notes off" to shut down stuck notes? I've seen a few different answers to that.

Thanks!

-mk

Source Audio's icon

I hate snapshots.

all sound off & all notes off are standard midi messages.

CC# 120 & 123

midievent 176 120 0

midievent 176 123 0

if you use multimidichannel plugin you can uzi that

mkap7's icon

That works (176 120 0). I would still like to figure out why I get the blast of notes when I load the snapshots.....but at least I have a button to turn them off if they get stuck.

Thanks!

Roman Thilenius's icon

have not looked into your patch and dont use snapshots, but such things usually happen with [preset] & co when there are GUI objects involved somewhere in your code.

mkap7's icon

I wouldn't ask anyone to troubleshoot my very large and probably crazy patch! But thank you for all of the advice. I think I can live with a bunch of notes from opening a snapshot. At least, for now.