Hallo people,
I am using ZynAddSubFX as a standalone software synth. I noticed following odd behaviour while experimenting with pitch-bend messages. The default values for LSB & MSB seem to be 0x00 & 0x00 and not 0x40 & 0x40 as in the MIDI specification. All values above 00 increase the pitch. How can I send a bend-down message then?
Thanks,
Dimitris Tziouris
ZynAddSubFX & PitchBend message
-
- KVRist
- 219 posts since 23 May, 2004
Hi.
Thanks for telling me. Yes, this is a bug. The reason of the fact that the bug is very old, is that I could not test in windows (nor linux with open sound system), because my MIDI keyboard doesnt has any pitch bend controller.
I'll fix this and will be available in the next version (of course, if you know how to compile a software or you have a friend who know, you can download the latest source code that will contain the bugfix).
Paul
Thanks for telling me. Yes, this is a bug. The reason of the fact that the bug is very old, is that I could not test in windows (nor linux with open sound system), because my MIDI keyboard doesnt has any pitch bend controller.
I'll fix this and will be available in the next version (of course, if you know how to compile a software or you have a friend who know, you can download the latest source code that will contain the bugfix).
Paul
My portfolio:
http://www.paulnasca.com
http://www.paulnasca.com
-
- KVRist
- 379 posts since 3 Sep, 2004
This is right. I've noticed the problem before but I do not use standalone as ZynAddSubFX is working very ineffective in this mode. The problem is in WINMidiIn.C:
case(0xe)://pitch wheel
tmp=par1+par2*(long int) 128;
should be replaced with:
case(0xe)://pitch wheel
tmp=par1+par2*(long int) 128-8192;
(tested)
probably same with OSSMidiIn.C: cmdparams[1]=tmp+getmidibyte()*(int) 128-8192;
Best regards
case(0xe)://pitch wheel
tmp=par1+par2*(long int) 128;
should be replaced with:
case(0xe)://pitch wheel
tmp=par1+par2*(long int) 128-8192;
(tested)
probably same with OSSMidiIn.C: cmdparams[1]=tmp+getmidibyte()*(int) 128-8192;
Best regards
-
- KVRist
- 219 posts since 23 May, 2004
Please get the cvs version of zynaddsubfx to see if my changes (few weeks ago) are good.
Paul
Paul
My portfolio:
http://www.paulnasca.com
http://www.paulnasca.com
-
- KVRist
- 379 posts since 3 Sep, 2004
Yes, IMO Your version should work properly.
Best regards
Best regards
