Csound Csound-dev Csound-tekno Search About

RE: [Cs-dev] fluidload vs. fluidLoad ?

Date2005-02-24 17:47
From"gogins@pipeline.com"
SubjectRE: [Cs-dev] fluidload vs. fluidLoad ?
Yes. There are two sets of Fluidsynth-based opcodes, mine and Steven Yi's.
I originally created them, but mine dependend on a hack to collect audio
and did not use fluidout. Steven created a version with an audio collector
(fluidout) which works better. I then reworked mine with its own fluidout
because mine have an advantage (for me, anyway) that Steven's do not: you
can load any number of SoundFonts in mine and they all go into a shared
cache with sequentially numbered "program IDs" making it easier to use
oodles of SoundFonts.

Steven and I have talked about merging the two sets of opcodes but have not
done it.

The documentation could be clearer on this -- which opcodes belong to which
set.

Steven and I should reopen our discussion and get rid of one set of
opcodes, if possible.

Original Message:
-----------------
From: Dave Phillips dlphilp@bright.net
Date: Thu, 24 Feb 2005 12:54:40 -0500
To: csound-devel@lists.sourceforge.net
Subject: [Cs-dev] fluidload vs. fluidLoad ?


Greetings:

  The subject is my dilemma. I'm trying to run an edited version of 
Michael G's Koch.py in CsoundVST. I receive errors like these:

    error: too many input args, line 10:
       fluidLoad "/home/dlphilp/soundfonts/8mbgmsfx.sf2",1,1,1
    error: illegal number of output args, line 10:
        fluidLoad "/home/dlphilp/soundfonts/8mbgmsfx.sf2",1,1,1

    error: insufficient required arguments, line 36:
       aleft,aright fluidOut

  Please remind me: are fluidload and fluidLoad two completely different 
opcodes ?

Best,

dp






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-24 18:06
Fromsteven yi
SubjectRe: [Cs-dev] fluidload vs. fluidLoad ?
Hi Michael,

gogins@pipeline.com wrote:
> Yes. There are two sets of Fluidsynth-based opcodes, mine and Steven Yi's.
> I originally created them, but mine dependend on a hack to collect audio
> and did not use fluidout. Steven created a version with an audio collector
> (fluidout) which works better. I then reworked mine with its own fluidout
> because mine have an advantage (for me, anyway) that Steven's do not: you
> can load any number of SoundFonts in mine and they all go into a shared
> cache with sequentially numbered "program IDs" making it easier to use
> oodles of SoundFonts.

This isn't quite right, as you can load as many soundFonts into the 
instance of the fluid engine you give as an argument with the wrapping I 
did, also sequentially numbered.

> Steven and I have talked about merging the two sets of opcodes but have not
> done it.
> 
> The documentation could be clearer on this -- which opcodes belong to which
> set.
> 
> Steven and I should reopen our discussion and get rid of one set of
> opcodes, if possible.
> 

Yes, we should figure this out.  I think the wrapping I did is much more 
flexible with the price being a few more lines of code required for use. 
The last I had taken a look, it could be made possible that the way you 
wrapped fluid could be done on top of the way I wrapped it with the use 
of default arguments.  I haven't been able to compile fluidsynth 1.0.5 
on Windows; I'm switching back to 1.0.3 now to see if I can compile, if 
so, I should be able to take a look and see if I can figure out a way to 
merge the two.

steven


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-24 18:29
FromDave Phillips
SubjectRe: [Cs-dev] fluidload vs. fluidLoad ?
Greetings:

  The documentation describes these opcodes:

    fluidcontrol
    fluidload
    fluidout

  Michael G gets credit for them. 'csound -z' informs me that these 
Fluid opcodes are supported:

    fluidCCi
    fluidCCk
    fluidEngine
    fluidLoad
    fluidNote
    fluidOut
    fluidProgramSelect

  These are not documented at all, and the ones that are documented are 
not supported.

Best,

dp





gogins@pipeline.com wrote:

>Yes. There are two sets of Fluidsynth-based opcodes, mine and Steven Yi's.
>I originally created them, but mine dependend on a hack to collect audio
>and did not use fluidout. Steven created a version with an audio collector
>(fluidout) which works better. I then reworked mine with its own fluidout
>because mine have an advantage (for me, anyway) that Steven's do not: you
>can load any number of SoundFonts in mine and they all go into a shared
>cache with sequentially numbered "program IDs" making it easier to use
>oodles of SoundFonts.
>
>Steven and I have talked about merging the two sets of opcodes but have not
>done it.
>
>The documentation could be clearer on this -- which opcodes belong to which
>set.
>
>Steven and I should reopen our discussion and get rid of one set of
>opcodes, if possible.
>
>Original Message:
>-----------------
>From: Dave Phillips dlphilp@bright.net
>Date: Thu, 24 Feb 2005 12:54:40 -0500
>To: csound-devel@lists.sourceforge.net
>Subject: [Cs-dev] fluidload vs. fluidLoad ?
>
>
>Greetings:
>
>  The subject is my dilemma. I'm trying to run an edited version of 
>Michael G's Koch.py in CsoundVST. I receive errors like these:
>
>    error: too many input args, line 10:
>       fluidLoad "/home/dlphilp/soundfonts/8mbgmsfx.sf2",1,1,1
>    error: illegal number of output args, line 10:
>        fluidLoad "/home/dlphilp/soundfonts/8mbgmsfx.sf2",1,1,1
>
>    error: insufficient required arguments, line 36:
>       aleft,aright fluidOut
>
>  Please remind me: are fluidload and fluidLoad two completely different 
>opcodes ?
>
>Best,
>
>dp
>
>
>
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>--------------------------------------------------------------------
>mail2web - Check your email from the web at
>http://mail2web.com/ .
>
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>  
>




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-24 22:46
FromDave Phillips
SubjectRe: [Cs-dev] fluidload vs. fluidLoad ?
Attachmentsfluidops-test.csd  
Greetings:

  I found Steven's documentation for his fluid* opcodes, but when I run 
the attached CSD I see activity but get no audio rendered. Can anyone 
tell me if I've missed something in the file ? Csound reports no errors, 
everything seems fine, I just get no sonic joy.

Best,

dp


Date2005-02-25 18:50
Fromsteven yi
SubjectRe: [Cs-dev] fluidload vs. fluidLoad ?
Attachmentsfluidops-test.csd  
Hi Dave,

I modified your file to not use a midi score and wrote a small score 
that worked just fine for me.  I've attached the CSD here.

steven



Dave Phillips wrote:
> Greetings:
> 
>  I found Steven's documentation for his fluid* opcodes, but when I run 
> the attached CSD I see activity but get no audio rendered. Can anyone 
> tell me if I've missed something in the file ? Csound reports no errors, 
> everything seems fine, I just get no sonic joy.
> 
> Best,
> 
> dp
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> 
> --expression-opt -odac0 -d -m0 -F/home/dlphilp/chopin.mid
> 
> 
> 
> sr=44100
> kr=441
> ksmps=100
> nchnls=2
> 
> giFluidEngine fluidEngine
> giSFpiano fluidLoad "/home/dlphilp/soundfonts/8mbgmsfx.sf2",giFluidEngine
> fluidProgramSelect giFluidEngine,0,giSFpiano,0,0
> 
> instr 1	;untitled
> inum notnum
> ivel veloc
> fluidNote giFluidEngine,0,inum,ivel
> endin
> 
> instr 10 ; fluidOut instrument
> aleft,aright fluidOut giFluidEngine
> outs aleft*0dbfs,aright*0dbfs
> endin
> 
> 
> 
> f0 0 6000
> i1 0 6000
> i10 0 6000
> e
> 
> 
> 


Date2005-02-25 19:15
FromDave Phillips
SubjectRe: [Cs-dev] fluidload vs. fluidLoad ?
Hi Steven:

  Umm, thanks, but I already knew that worked. :)  What doesn't work is 
driving those opcodes with a MIDI file. Try the original, let me know 
what happens for you.

Best,

dp



steven yi wrote:

> Hi Dave,
>
> I modified your file to not use a midi score and wrote a small score 
> that worked just fine for me.  I've attached the CSD here.
>
> steven
>
>
>
> Dave Phillips wrote:
>
>> Greetings:
>>
>>  I found Steven's documentation for his fluid* opcodes, but when I 
>> run the attached CSD I see activity but get no audio rendered. Can 
>> anyone tell me if I've missed something in the file ? Csound reports 
>> no errors, everything seems fine, I just get no sonic joy.
>>
>> Best,
>>
>> dp
>>
>>
>> ------------------------------------------------------------------------
>>
>> 
>>
>> 
>> --expression-opt -odac0 -d -m0 -F/home/dlphilp/chopin.mid
>> 
>>
>> 
>> sr=44100
>> kr=441
>> ksmps=100
>> nchnls=2
>>
>> giFluidEngine fluidEngine
>> giSFpiano fluidLoad 
>> "/home/dlphilp/soundfonts/8mbgmsfx.sf2",giFluidEngine
>> fluidProgramSelect giFluidEngine,0,giSFpiano,0,0
>>
>> instr 1    ;untitled
>> inum notnum
>> ivel veloc
>> fluidNote giFluidEngine,0,inum,ivel
>> endin
>>
>> instr 10 ; fluidOut instrument
>> aleft,aright fluidOut giFluidEngine
>> outs aleft*0dbfs,aright*0dbfs
>> endin
>> 
>>
>> 
>> f0 0 6000
>> i1 0 6000
>> i10 0 6000
>> e
>> 
>>
>> 
>
>
>------------------------------------------------------------------------
>
>
>
>
>
>
>
>sr=44100
>kr=441
>ksmps=100
>nchnls=2
>
>giFluidEngine fluidEngine
>giSFpiano fluidLoad "sf2/003.3mg GS Roland Sound Set 16 bit Bank.SF2",giFluidEngine
>fluidProgramSelect giFluidEngine,0,giSFpiano,0,0
>
>instr 1	;untitled
>inum = p4
>ivel = p5
>fluidNote giFluidEngine,0,inum,ivel
>endin
>
>instr 10 ; fluidOut instrument
>aleft,aright fluidOut giFluidEngine
>outs aleft*0dbfs,aright*0dbfs
>endin
>
>
>
>f0 0 6000
>
>i1 0 1 60 100
>i1 + . 64 100
>i1 + . 67 100
>i1 + . 72 100
>i1 + . 75 100
>
>i10 0 30
>e
>
>
>
>
>  
>




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-02-25 20:01
Fromsteven yi
SubjectRe: [Cs-dev] fluidload vs. fluidLoad ?
Oh, thought you were commenting on the fluid opcodes as a whole.  Could 
you send the MIDI file you were using?

Thanks,
steven

Dave Phillips wrote:
> Hi Steven:
> 
>  Umm, thanks, but I already knew that worked. :)  What doesn't work is 
> driving those opcodes with a MIDI file. Try the original, let me know 
> what happens for you.
> 
> Best,
> 
> dp
> 
> 
> 
> steven yi wrote:
> 
>> Hi Dave,
>>
>> I modified your file to not use a midi score and wrote a small score 
>> that worked just fine for me.  I've attached the CSD here.
>>
>> steven
>>
>>
>>
>> Dave Phillips wrote:
>>
>>> Greetings:
>>>
>>>  I found Steven's documentation for his fluid* opcodes, but when I 
>>> run the attached CSD I see activity but get no audio rendered. Can 
>>> anyone tell me if I've missed something in the file ? Csound reports 
>>> no errors, everything seems fine, I just get no sonic joy.
>>>
>>> Best,
>>>
>>> dp
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> 
>>>
>>> 
>>> --expression-opt -odac0 -d -m0 -F/home/dlphilp/chopin.mid
>>> 
>>>
>>> 
>>> sr=44100
>>> kr=441
>>> ksmps=100
>>> nchnls=2
>>>
>>> giFluidEngine fluidEngine
>>> giSFpiano fluidLoad 
>>> "/home/dlphilp/soundfonts/8mbgmsfx.sf2",giFluidEngine
>>> fluidProgramSelect giFluidEngine,0,giSFpiano,0,0
>>>
>>> instr 1    ;untitled
>>> inum notnum
>>> ivel veloc
>>> fluidNote giFluidEngine,0,inum,ivel
>>> endin
>>>
>>> instr 10 ; fluidOut instrument
>>> aleft,aright fluidOut giFluidEngine
>>> outs aleft*0dbfs,aright*0dbfs
>>> endin
>>> 
>>>
>>> 
>>> f0 0 6000
>>> i1 0 6000
>>> i10 0 6000
>>> e
>>> 
>>>
>>> 
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> 
>>
>> 
>> 
>>
>> 
>> sr=44100
>> kr=441
>> ksmps=100
>> nchnls=2
>>
>> giFluidEngine fluidEngine
>> giSFpiano fluidLoad "sf2/003.3mg GS Roland Sound Set 16 bit 
>> Bank.SF2",giFluidEngine
>> fluidProgramSelect giFluidEngine,0,giSFpiano,0,0
>>
>> instr 1    ;untitled
>> inum = p4
>> ivel = p5
>> fluidNote giFluidEngine,0,inum,ivel
>> endin
>>
>> instr 10 ; fluidOut instrument
>> aleft,aright fluidOut giFluidEngine
>> outs aleft*0dbfs,aright*0dbfs
>> endin
>> 
>>
>> 
>> f0 0 6000
>>
>> i1 0 1 60 100
>> i1 + . 64 100
>> i1 + . 67 100
>> i1 + . 72 100
>> i1 + . 75 100
>>
>> i10 0 30
>> e
>> 
>>
>> 
>>
>>  
>>
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net