Csound Csound-dev Csound-tekno Search About

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

Date2011-04-27 11:33
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 (Settings changed) 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: Closed
>Resolution: Fixed
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

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net