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

2016-08-18 Thread David Bellows
>Your Sysex messages are incorrecly formatted. The EOX end marker (last byte of your Sysex messages) should be 0xF7, but yours end with 0x7F. F7!?! Yep, your right! Good eye! I swear, any other value than that and neither I nor the two other people who helped me in setting this up would have made

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

2016-08-18 Thread Marcus Weseloh
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 readin

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

2016-08-18 Thread Marcus Weseloh
Hi David, 2016-08-18 0:09 GMT+02:00 David Bellows : > 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 Flu

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

2016-08-17 Thread David Bellows
> System_exclusive, 11, 127, 127, 8, 2, 0, 1, 74, 74, 128, 0, 127 Bad. The tuning value 74, 128, 0 is invalid since the fraction is a 14-bit value (7-bit MSB,7-bit LSB). It should be 75, 0, 0. My software has a few weird rounding things like this. That said 74, 128, 0 should be the s

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

2016-08-17 Thread R.L. Horn
On Wed, 17 Aug 2016, David Bellows wrote: Thanks for the confirmation! What other sequencer(s) are you using? pmidi The example plays correctly, but not quite a quarter-tone scale, as some of your tuning commands are malformed (which timidity seems to go along with): System_exclusive,

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

2016-08-17 Thread David Bellows
> This might be a problem with fluidsynth's interpretation of midi files. If I > pass it the file directly, I get the behavior David mentioned. If I use > another sequencer, it works okay. Thanks for the confirmation! What other sequencer(s) are you using? On Wed, Aug 17, 2016 at 3:30 PM, R.L.

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

2016-08-17 Thread R.L. Horn
On Wed, 17 Aug 2016, Marcus Weseloh wrote: Using fluidsynth 1.1.6 your updated MIDI file plays fine, at least on my Linux system. This might be a problem with fluidsynth's interpretation of midi files. If I pass it the file directly, I get the behavior David mentioned. If I use another sequ

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

2016-08-17 Thread Marcus Weseloh
Hi again, looking at your new file, I see that you send the tuning program change RPN messages before each tuning Sysex message. While that works, I don't think it is necessary. Choosing the tuning program for the channel once at the beginning of the file should be enough. Cheers, Marcus 201

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

2016-08-17 Thread Marcus Weseloh
Hi David, 2016-08-17 19:22 GMT+02:00 David Bellows : >> I had another look at the FluidSynth source, though. It seems like voices >> start out with no tuning prog defined. So even when you change tuning prog 0 >> using the Sysex messages, that tuning won't be used. Try adding RPN messages >> to

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

2016-08-17 Thread David Bellows
> I had another look at the FluidSynth source, though. It seems like voices > start out with no tuning prog defined. So even when you change tuning prog 0 > using the Sysex messages, that tuning won't be used. Try adding RPN messages > to select tuning prog 0 for your channel before sending the

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

2016-08-17 Thread Marcus Weseloh
Hi David, Am 17.08.2016 5:22 nachm. schrieb "David Bellows" : > > Actually that MIDI note shouldn't really matter as it's the sysex > command that contains the pitch information for the note that's being > re-assigned (1 in this case) to what it's supposed to sound like (60 + > 2048 pitch bend, fo

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

2016-08-17 Thread David Bellows
Hey Marcus (and anyone else paying attention!) I've attached another MIDI file. It uses a sysex command with the MIDI Tuning Standard. Unlike the previous one I sent this one assigns the new MIDI + pitch bend to the same Standard MID pitch (previously I just used the dummy pitch 1 for all the note

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

2016-08-17 Thread David Bellows
Hey Marcus! Actually that MIDI note shouldn't really matter as it's the sysex command that contains the pitch information for the note that's being re-assigned (1 in this case) to what it's supposed to sound like (60 + 2048 pitch bend, for example). In Timidity this plays just fine but the result

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

2016-08-17 Thread Marcus Weseloh
Hello David, I got triggered by your recent question about different tunings in FluidSynth, as I will need different tunings as well. I found this old posting of yours, so you seem to know about MTS and have tried to use it. I had a look at your example file and am not surprised that it doesn't ge

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

2016-07-13 Thread R.L. Horn
On July 10, 2016 12:33:47 PM CDT, David Bellows wrote: >Cool! I've attached a MIDI file generated by the Lua library at: >http://www.pjb.com.au/comp/lua/MIDI.html. >It is random piano notes using Pythagorean tuning. It plays just fine >in timidity but I can't get it to play in fluidsynth. Flui

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

2016-07-10 Thread David Bellows
> FluidSynth is supposed to support MTS. I have never used it myself though. > If you are having troubles using this, it may be a bug. An example file > would be helpful for testing purposes. Cool! I've attached a MIDI file generated by the Lua library at: http://www.pjb.com.au/comp/lua/MIDI.

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

2016-07-10 Thread Element Green
Hello David FluidSynth is supposed to support MTS. I have never used it myself though. If you are having troubles using this, it may be a bug. An example file would be helpful for testing purposes. Cheers. Element On Sun, Jul 10, 2016 at 7:57 AM, David Bellows wrote: > First off, I really

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

2016-07-10 Thread David Bellows
First off, I really do not understand MIDI to a surprisingly alarming degree, so forgive me if none of this really connects. I'm working on some software that generates music using any tuning imaginable. The software generates a MIDI file that uses the MIDI Tuning Standard to basically (when seen