Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] fluid opcodes on OSX.

Date2007-05-18 13:38
FromVictor Lazzarini
SubjectRe: [Cs-dev] fluid opcodes on OSX.
Attachmentsfluidt.csd  None  None  
In fact, now I am starting to think that the problem is not with
fluidsynth at all, as I am able to send MIDI notes to it from
Csound (see attached CSD).

Perhaps midiin is not quite right then?

Victor

At 13:06 18/05/2007, you wrote:
>hum....  interesting....  so you are close.... do the soundfont
>instruments from the manual work on OSX too?
>You might try these - because - they broke too - with this recent
>release....  and so.... it might be a similar
>thing going on with MIDI and soundfonts (the samples) not necessarily
>the opcodes.... maybe MIDI in isn't
>transposing the sample correctly anymore?  something with the
>header?  just some wild guesses.
>
>-dB
>
>On May 18, 2007, at 8:01 AM, Victor Lazzarini wrote:
>
> > I discovered that it's not all of fluidsynth that is broken, but the
> > MIDI part. The attached file, which uses fluidNote to play instead
> > of MIDI controls actually is working perfectly.
> >
> > Victor
> >
> >
> > At 12:26 18/05/2007, you wrote:
> >> I had a look at the fluid opcodes on OSX, using Istvan's
> >> example from the manual.
> >>
> >> While this works on Windows, it does not seem to on OSX.
> >> The soundfont gets loaded (well at least I get the console messages
> >> reporting it), but I am not getting any sound out of it. I am
> >> using the
> >> virtual keyboard (on both Win and OSX). The rtevents get sent OK,
> >> but fluidsynth does not produce sound.
> >>
> >> On Windows I am using v.1.13 and on OSX 1.1.17. I suspect fluidsynth
> >> itself to be faulty, but I can't really test it.
> >>
> >> In fact, I really do not know anything about the code, so it's
> >> difficult for
> >> me to debug. I would prefer if the author(s) could step in and say
> >> what might be the problem.
> >>
> >> If it ever worked on OSX (which I don't know because I never
> >> tested it),
> >> why has it stopped working? In which release has it stopped working?
> >> Have the sources been modified at all?
> >>
> >> I would prefer if someone stepped in to check this, because I am not
> >> very familiar with how this code works or should work.
> >>
> >> Victor
> >> Victor Lazzarini
> >> Music Technology Laboratory
> >> Music Department
> >> National University of Ireland, Maynooth
> >>
> >>
> >> ---------------------------------------------------------------------
> >> ----
> >> This SF.net email is sponsored by DB2 Express
> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> control of your XML. No limits. Just data. Click to get it now.
> >> http://sourceforge.net/powerbar/db2/
> >> _______________________________________________
> >> Csound-devel mailing list
> >> Csound-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >> 
> > Victor Lazzarini
> > Music Technology Laboratory
> > Music Department
> > National University of Ireland, Maynooth
> > ----------------------------------------------------------------------
> > ---
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth

Date2007-05-18 14:14
FromVictor Lazzarini
SubjectRe: [Cs-dev] fluid opcodes on OSX.
This keeps getting better.  Now I have run Istvan's manual example with
a midifile and it's working.

There must then be some sort of issue with the virtual MIDI device that
was preventing it from working with midiin and the fluid opcodes. I don't
have access to  a  machine right now (I have been running stuff remotely
using ssh), so I can't try any graphical stuff.

As far as fluid goes, I think we can say that the opcodes are working as
expected. If there is any problem, it's elsewhere.

Victor

At 13:38 18/05/2007, you wrote:
>In fact, now I am starting to think that the problem is not with
>fluidsynth at all, as I am able to send MIDI notes to it from
>Csound (see attached CSD).
>
>Perhaps midiin is not quite right then?
>
>Victor
>
>At 13:06 18/05/2007, you wrote:
>>hum....  interesting....  so you are close.... do the soundfont
>>instruments from the manual work on OSX too?
>>You might try these - because - they broke too - with this recent
>>release....  and so.... it might be a similar
>>thing going on with MIDI and soundfonts (the samples) not necessarily
>>the opcodes.... maybe MIDI in isn't
>>transposing the sample correctly anymore?  something with the
>>header?  just some wild guesses.
>>
>>-dB
>>
>>On May 18, 2007, at 8:01 AM, Victor Lazzarini wrote:
>>
>> > I discovered that it's not all of fluidsynth that is broken, but the
>> > MIDI part. The attached file, which uses fluidNote to play instead
>> > of MIDI controls actually is working perfectly.
>> >
>> > Victor
>> >
>> >
>> > At 12:26 18/05/2007, you wrote:
>> >> I had a look at the fluid opcodes on OSX, using Istvan's
>> >> example from the manual.
>> >>
>> >> While this works on Windows, it does not seem to on OSX.
>> >> The soundfont gets loaded (well at least I get the console messages
>> >> reporting it), but I am not getting any sound out of it. I am
>> >> using the
>> >> virtual keyboard (on both Win and OSX). The rtevents get sent OK,
>> >> but fluidsynth does not produce sound.
>> >>
>> >> On Windows I am using v.1.13 and on OSX 1.1.17. I suspect fluidsynth
>> >> itself to be faulty, but I can't really test it.
>> >>
>> >> In fact, I really do not know anything about the code, so it's
>> >> difficult for
>> >> me to debug. I would prefer if the author(s) could step in and say
>> >> what might be the problem.
>> >>
>> >> If it ever worked on OSX (which I don't know because I never
>> >> tested it),
>> >> why has it stopped working? In which release has it stopped working?
>> >> Have the sources been modified at all?
>> >>
>> >> I would prefer if someone stepped in to check this, because I am not
>> >> very familiar with how this code works or should work.
>> >>
>> >> Victor
>> >> Victor Lazzarini
>> >> Music Technology Laboratory
>> >> Music Department
>> >> National University of Ireland, Maynooth
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> ----
>> >> This SF.net email is sponsored by DB2 Express
>> >> Download DB2 Express C - the FREE version of DB2 express and take
>> >> control of your XML. No limits. Just data. Click to get it now.
>> >> http://sourceforge.net/powerbar/db2/
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >> 
>> > Victor Lazzarini
>> > Music Technology Laboratory
>> > Music Department
>> > National University of Ireland, Maynooth
>> > ----------------------------------------------------------------------
>> > ---
>> > This SF.net email is sponsored by DB2 Express
>> > Download DB2 Express C - the FREE version of DB2 express and take
>> > control of your XML. No limits. Just data. Click to get it now.
>> > http://sourceforge.net/powerbar/db2/
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>-------------------------------------------------------------------------
>>This SF.net email is sponsored by DB2 Express
>>Download DB2 Express C - the FREE version of DB2 express and take
>>control of your XML. No limits. Just data. Click to get it now.
>>http://sourceforge.net/powerbar/db2/
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>Victor Lazzarini
>Music Technology Laboratory
>Music Department
>National University of Ireland, Maynooth
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-18 16:28
FromVictor Lazzarini
Subject[Cs-dev] fluid saga: summary
In summary, fluid opcodes are working as expected on OSX.

Istvan's example works OK with a MIDI file, but needs a couple of
fixes to work with the virtual keyboard. I am not exactly sure what,
but a command gets issued that throws fluid off the track. But
if fixed the example works OK and I expect other examples to also
do so.

Here's the fix (perhaps we need to change the manual?)

fluicomplex.csd: line 53
           if(kst != 192 || kchn != 10) then

becomes

            if(kst != 192) then

and line 56
           fluidProgramSelect_k gifld, kch - 1, gisf2, 128, kd1

becomes
            fluidProgramSelect_k gifld, kch - 1, gisf2, 0, kd1


Victor
Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-18 17:19
From"Dr. Richard Boulanger"
SubjectRe: [Cs-dev] fluid saga: summary
please let's fix the manual and the included example .csd that is  
released with the
manual....  and why this worked before and now not?  strange.

Happy.  and Thanks.

-dB


On May 18, 2007, at 11:28 AM, Victor Lazzarini wrote:

> In summary, fluid opcodes are working as expected on OSX.
>
> Istvan's example works OK with a MIDI file, but needs a couple of
> fixes to work with the virtual keyboard. I am not exactly sure what,
> but a command gets issued that throws fluid off the track. But
> if fixed the example works OK and I expect other examples to also
> do so.
>
> Here's the fix (perhaps we need to change the manual?)
>
> fluicomplex.csd: line 53
>            if(kst != 192 || kchn != 10) then
>
> becomes
>
>             if(kst != 192) then
>
> and line 56
>            fluidProgramSelect_k gifld, kch - 1, gisf2, 128, kd1
>
> becomes
>             fluidProgramSelect_k gifld, kch - 1, gisf2, 0, kd1
>
>
> Victor
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2007-05-18 17:19
From"Dr. Richard Boulanger"
SubjectRe: [Cs-dev] fluid saga: summary
please let's fix the manual and the included example .csd that is  
released with the
manual....  and why this worked before and now not?  strange.

Happy.  and Thanks.

-dB


On May 18, 2007, at 11:28 AM, Victor Lazzarini wrote:

> In summary, fluid opcodes are working as expected on OSX.
>
> Istvan's example works OK with a MIDI file, but needs a couple of
> fixes to work with the virtual keyboard. I am not exactly sure what,
> but a command gets issued that throws fluid off the track. But
> if fixed the example works OK and I expect other examples to also
> do so.
>
> Here's the fix (perhaps we need to change the manual?)
>
> fluicomplex.csd: line 53
>            if(kst != 192 || kchn != 10) then
>
> becomes
>
>             if(kst != 192) then
>
> and line 56
>            fluidProgramSelect_k gifld, kch - 1, gisf2, 128, kd1
>
> becomes
>             fluidProgramSelect_k gifld, kch - 1, gisf2, 0, kd1
>
>
> Victor
> Victor Lazzarini
> Music Technology Laboratory
> Music Department
> National University of Ireland, Maynooth
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net