Csound Csound-dev Csound-tekno Search About

[Csnd] fluidsynth program change errors

Date2010-11-04 16:29
FromJoel Ross
Subject[Csnd] fluidsynth program change errors
Hi,

I have run into a couple of problems when using the fluid opcodes.
I am using the fluid opcodes with a gm soundfont to perform midi files.
I use two instruments, one always on containing the fluidOut opcode,
and another which processes the midi messages.

In order to pass program changes on to fluid synth, I am using:

ichn midichn
midiprogramchange iprogram
fluidControl giengine, 192, ichn, iprogram, 0

Two things happen here. Firstly, the following line
(or similar for different channels) is constantly posted
to the output during midi performances.

Result: 0 Program change: c:  3 p:  6

Secondly, I had a number of tracks, and in each, the first note
would be played with the default voice (I loaded piano into each
fluidsynth channel in the header). I get around this by explicitly
sending the program change in the score before playing the midi file,
but this is quite ugly.

Does anyone have any ideas as to the reason for either of these.
Im using csound 5.12 on OSX intel.

Thanks,
 Joel


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-11-04 17:40
FromMichael Gogins
Subject[Csnd] Re: fluidsynth program change errors
Thanks for the information. I have a suspicion as to the cause. I will
look into it.

Regards,
Mike

On Thu, Nov 4, 2010 at 12:29 PM, Joel Ross  wrote:
> Hi,
>
> I have run into a couple of problems when using the fluid opcodes.
> I am using the fluid opcodes with a gm soundfont to perform midi files.
> I use two instruments, one always on containing the fluidOut opcode,
> and another which processes the midi messages.
>
> In order to pass program changes on to fluid synth, I am using:
>
> ichn midichn
> midiprogramchange iprogram
> fluidControl giengine, 192, ichn, iprogram, 0
>
> Two things happen here. Firstly, the following line
> (or similar for different channels) is constantly posted
> to the output during midi performances.
>
> Result: 0 Program change: c:  3 p:  6
>
> Secondly, I had a number of tracks, and in each, the first note
> would be played with the default voice (I loaded piano into each
> fluidsynth channel in the header). I get around this by explicitly
> sending the program change in the score before playing the midi file,
> but this is quite ugly.
>
> Does anyone have any ideas as to the reason for either of these.
> Im using csound 5.12 on OSX intel.
>
> Thanks,
>  Joel
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>



-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"