[lively-kernel] Lively Audio

Jay Hardesty jay.hardesty at gmail.com
Fri Apr 23 13:30:14 CEST 2010


On Fri, Apr 23, 2010 at 3:09 AM, Alessandro Warth <alexwarth at gmail.com> wrote:
> Hi Jay,
> While the MIDI format doesn't care about matching ONs and OFFs, there's a
> good chance that the player tidies up (by sending an "all notes off" message
> to the hardware) once it's done playing a file. So this could end up working
> in some platforms, but not in others...
> I guess we won't know until we try.
> Cheers,
> Alex

Thanks, yes - I was just thinking of all those times I've had a
looping MIDI file playing, then slotted in another MIDI file to take
its place (for the next section of music), and found I had notes stuck
playing from the first MIDI cause they never got their NOTE-OFF
messages.

But I'm sure you're right - in fact can't remember the situation I
describe happening with something as self-contained as the Quicktime
player (never tried it using Javascript either).

> On Thu, Apr 22, 2010 at 6:16 PM, Jay Hardesty <jay.hardesty at gmail.com>
>> As far as I know a MIDI player does not care where (or from which
>> file) a MIDI ON, or subsequent MIDI OFF message comes from.
>> Each is just a pair of bytes arriving from wherever.

more specifically, I should have said : a pair of data bytes following
a status byte..

Jay


More information about the lively-kernel mailing list