[???] Linux Vst: Unexpected Note-Off Events.

Hi, I’m wondering if what I’m seeing is a bug in the Renoise VST host code. This is in the Linux build. I haven’t tried the Windows build. I’m assuming it would be fine, and Linux VST isn’t very popular, but that’s how I’m developing a synth plugin.

Have a look at the attached screen shot. So I have the two notes. When I hit space-bar, so “play”, what I get is a note-on for the C-5, the C-5 plays through, then I get a correct note-off for the C-5, a note-on for the D-5, but the D-5 should keep playing, but instead I get a note-off. So the D-5 only gets one render period, which is really just a ‘click’, and doesn’t really play. So I get something like this:

Event Type: 1  
 Type: 1  
 BS: 32  
 Delta: 0  
 Flags: 0  
 NoteLen: 0  
 NoteOff: 0  
 Status Magic: 1  
 Status: 1  
 Channel: 0  
 Data0 Magic: 0  
 Data0: 60  
 Data1 Magic: 0  
 Data1: 127  
 Detune: 0  
 NoteOffVel: 0  
processEvents  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
261.626  
Event Type: 1  
 Type: 1  
 BS: 32  
 Delta: 342  
 Flags: 0  
 NoteLen: 0  
 NoteOff: 0  
 Status Magic: 1  
 Status: 0  
 Channel: 0  
 Data0 Magic: 0  
 Data0: 60  
 Data1 Magic: 0  
 Data1: 0  
 Detune: 0  
 NoteOffVel: 0  
Event Type: 1  
 Type: 1  
 BS: 32  
 Delta: 342  
 Flags: 0  
 NoteLen: 0  
 NoteOff: 0  
 Status Magic: 1  
 Status: 1  
 Channel: 0  
 Data0 Magic: 0  
 Data0: 64  
 Data1 Magic: 0  
 Data1: 127  
 Detune: 0  
 NoteOffVel: 0  
processEvents  
261.626  
329.628  
Event Type: 1  
 Type: 1  
 BS: 32  
 Delta: 0  
 Flags: 0  
 NoteLen: 0  
 NoteOff: 0  
 Status Magic: 1  
 Status: 0  
 Channel: 0  
 Data0 Magic: 0  
 Data0: 64  
 Data1 Magic: 0  
 Data1: 0  
 Detune: 0  
 NoteOffVel: 0  
processEvents  
  

C-5 on, and many 261Hz rendering periods.
C-5 off, D-5 on, and a single render period with both C-5 and D-5 playing.
D-5 off.

Any ideas why I get the D-5 off?

You will get a D-5 off when looping back to the beginning of the pattern (the C-5 stops the D-5) or when stopping playback. Is this the issue?

I assume you’ve tested your VST in another host and it’s only Renoise which is doing this, yeah?