Csound Csound-dev Csound-tekno Search About

[Cs-dev] [ csound-Bugs-3199941 ] Csound5.13.0 bug in FluidControl opcode

Date2011-03-05 10:01
From"SourceForge.net"
Subject[Cs-dev] [ csound-Bugs-3199941 ] Csound5.13.0 bug in FluidControl opcode
Bugs item #3199941, was opened at 2011-03-04 21:02
Message generated for change (Comment added) made by jpff
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3199941&group_id=81968

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Opcodes
Group: csound5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Csound5.13.0 bug in FluidControl opcode

Initial Comment:
Hello.

Since Csound5.13.0 the FluidControl opcode is not working, so no controls are sent to FluidSynth and not any pitch bend as well.

I have found the problem in the FluidOpcodes.cpp file. I have added a missing line and after building it works again, so I wanted to share it with you for it to be fixed upstream:

fluidopcodes.cpp
[...]
    int kontrol(CSOUND *csound) {
#pragma omp critical (critical_section_fluidopcodes)
        {
	    midiStatus = 0xF0 & (int) *(kMidiStatus);  //***** DAVID: this is the missing line causes control not to work ****
            midiChannel = (int) *kMidiChannel;
[...]

I hope this helps. Best regards!

David Bluecame.

----------------------------------------------------------------------

>Comment By: John ffitch (jpff)
Date: 2011-03-05 10:01

Message:
Odd; that lin eis in my sorces

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=3199941&group_id=81968

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net