Author Topic: Active Sense Message  (Read 345 times)

rfoschini

  • Posts: 2
Active Sense Message
« on: 27 Dec '18 - 13:16 »
Good morning,
for the BASSMIDI project, I would suggest you to implement the handling of "MIDI Active Sense": his purpose is to stop sound when the MIDI cable is accidentally disconnected. His handling is similar to a Watchdog, with a fixed timing of 300ms...
Please let me know if you think this is a good idea or not.
And thank you for your good work.

Ian @ un4seen

  • Administrator
  • Posts: 21791
Re: Active Sense Message
« Reply #1 on: 27 Dec '18 - 17:48 »
As BASSMIDI is a softsynth (so no MIDI cable), I'm not sure how it would handle that event. What did you have in mind?

rfoschini

  • Posts: 2
Re: Active Sense Message
« Reply #2 on: 27 Dec '18 - 18:43 »
Nothing strange... i built a midifile player using Arduino, and via a usb midi interface, uses bassmidi (via virtual midi synth) to reproduce sounds. However, if someone pause song or detach midi cable, sound generators continues playing.
All other midi synth i use (Roland, Yamaha, etc) implements Midi Active Sense, to stop sound and reset controllers if cable is detached.
Similarly, i think that bassmidi should detect if midi Active Sense stops, and simply stop sound (and eventually reset controllers).
Do you think itís useful?