[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Recent discussions on sysex commands and the MIDI Tuning

From: Marcus Weseloh
Subject: Re: [fluid-dev] Recent discussions on sysex commands and the MIDI Tuning Standard
Date: Thu, 18 Aug 2016 11:56:45 +0200

Hi David,

Good news: the problem is not a bug in FluidSynth but a problem with
your code :-)

Your Sysex messages are incorrecly formatted. The EOX end marker (last
byte of your Sysex messages) should be 0xF7, but yours end with 0x7F.
That causes FluidSynth not to discard the last byte when reading from
the file, which in turn makes the tuning mechanism bail out because
the message data has the wrong size.

Fix your Sysex messages and I think you should hear the correct
tuning, even when specifying the MIDI file via command-line.

Oh, and also fix your cent values, as R.L. Horn has pointed out. The
14 bit cent value should be transmitted in normal MIDI fashion as two
data bytes which have their MSB (highest bit) set to 0. So these two
byes are never allowed to be larger than 0x7F (01111111).



2016-08-18 10:14 GMT+02:00 Marcus Weseloh <address@hidden>:
> Hi David,
> 2016-08-18 0:09 GMT+02:00 David Bellows <address@hidden>:
>> I'm using Kubuntu 16.04. dpkg -l fluidsynth lists:
>> fluidsynth                      1.1.6-3              amd64
>> And are you sure it plays fine? I don't mean to question your ears but
>> I'm definitely not getting the quarter-tones in the Fluidsynth
>> version.
> Yes, it plays fine, I can hear quarter-notes. But I started FluidSynth
> as a server and used aplaymidi to send the file to it. When specifying
> the file on the command-line, I get the same results as R.L. Horn
> mentioned, so there seems to be a problem with parsing the MIDI file.
> Try running fluidsynth as a server:
> fluidsynth -a alsa soundfonts/fluid.sf2
> Then in another shell:
> aplaymidi -p 129:0 Piano_Standard.midi
> Your port number will probably be different, not 129:0. Check it with
> aplaymidi -l
> Cheers,
>    Marcus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]