View Issue Details

IDProjectCategoryView StatusLast Update
0006190ardourbugspublic2015-03-05 19:22
Reporterrobertnyles Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status newResolutionopen 
Summary0006190: Sustain pedal should be released when playback stops / should be pressed when pressed before playback starts
DescriptionArdour 3.5.4587

Midi playback would be more accurate if the playback would consider the last sustain pedal event at start.

If playback stops I want silence usually. If sustain pedal wasn't released the instrument plays eternally with some instruments.
TagsNo tags attached.

Activities

x42

2015-03-04 01:36

administrator   ~0016391

ardour already sends a MIDI panic: all-notes off, all-sound-off, sustain-pedal up on every locate and transport state change (and has done so for quite a while pre 3.0).

Re-sending the sustain-pedal is not yet done, but there are plans for restoring the complete state after locate, though that's not trivial. Ardour basically has to scan the complete MIDI track..

robertnyles

2015-03-04 12:00

reporter   ~0016392

Then there's a regression. Sustain pedal stays pressed after stopping the transport.

colinf

2015-03-04 12:42

updater   ~0016393

I've observed something like this when driving a hardware synth via 5-pin DIN MIDI: Ardour does try to send all-notes-off and sustain-off on all channels at transport stop, but for some reason the sending of these MIDI messages sometimes fails.

When this happens, "failed to deliver sustain-zero on channel 0 on port piano MIID/midi_out 1" and "failed to deliver ALL NOTES OFF on channel 0 on port piano MIID/midi_out 1" appears in Ardours terminal output 16 times (once for each MIDI channel). I believe that this can happen when jack_midi_event_write() fails for whatever reason, but I don't know why that might be.

Increasing jackd's MIDI buffer size doesn't seem to help, either.

robertnyles

2015-03-05 19:22

reporter   ~0016399

I don't get those messages.

Issue History

Date Modified Username Field Change
2015-03-03 12:58 robertnyles New Issue
2015-03-04 01:36 x42 Note Added: 0016391
2015-03-04 12:00 robertnyles Note Added: 0016392
2015-03-04 12:42 colinf Note Added: 0016393
2015-03-05 19:22 robertnyles Note Added: 0016399