Csound Csound-dev Csound-tekno Search About

[Cs-dev] fluidAllOut

Date2011-01-23 15:56
Frommenno
Subject[Cs-dev] fluidAllOut
Hello,

i think there is something wrong with fluidAllOut. The new parser does not
reveal the error but with the old parser i get to see:
error:  insufficient required arguments, line 52:
asigl, asigr fluidAllOut

This is my csd (and i think it is correct):



; Select audio/midi flags here according to platform
-odac   -M0    ;;;realtime audio out and realtime midi in
;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
;-o fluidAllOut.wav -W ;;; for file output any platform



sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1

massign   1, 1	;assign instr 1 to channel 1
massign   2, 2	;assign instr 2 to channel 2

giengine1 fluidEngine
; soundfont path to manual/examples
isfnum1	 fluidLoad "01hpschd.sf2", giengine1, 1
	 fluidProgramSelect giengine1, 1, isfnum1, 0, 0

giengine2 fluidEngine
; soundfont path to manual/examples
isfnum2	 fluidLoad "22Bassoon.sf2", giengine2, 1
	 fluidProgramSelect giengine2, 1, isfnum2, 0, 70

instr 1

	mididefault   60, p3
	midinoteonkey p4, p5
ikey	init p4
ivel	init p5
	fluidNote giengine1, 1, ikey, ivel

endin

instr 2

	mididefault   60, p3
	midinoteonkey p4, p5
ikey	init p4
ivel	init p5
	fluidNote giengine2, 1, ikey, ivel

endin

instr 100

imvol init 4
asigl, asigr fluidAllOut
      outs asigl*imvol, asigr*imvol
endin



i 1 0 2 60 100 ;play one note of instr 1
i 2 2 2 60 100 ;play another note of instr 2 and...
i 100 0 60
e

 

Any suggestions?

greetings
menno
-- 
View this message in context: http://csound.1045644.n5.nabble.com/fluidAllOut-tp3353726p3353726.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-23 16:14
FromVictor Lazzarini
SubjectRe: [Cs-dev] fluidAllOut
The code shows it takes an "i" parameter. It appears to be a dummy  
variable, it does not seem to do anything.
Maybe  it shouldn't be there?

Victor
On 23 Jan 2011, at 15:56, menno wrote:

>
> Hello,
>
> i think there is something wrong with fluidAllOut. The new parser  
> does not
> reveal the error but with the old parser i get to see:
> error:  insufficient required arguments, line 52:
> asigl, asigr fluidAllOut
>
> This is my csd (and i think it is correct):
>
> 
> 
> ; Select audio/midi flags here according to platform
> -odac   -M0    ;;;realtime audio out and realtime midi in
> ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ;-o fluidAllOut.wav -W ;;; for file output any platform
> 
> 
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
>
> massign   1, 1	;assign instr 1 to channel 1
> massign   2, 2	;assign instr 2 to channel 2
>
> giengine1 fluidEngine
> ; soundfont path to manual/examples
> isfnum1	 fluidLoad "01hpschd.sf2", giengine1, 1
> 	 fluidProgramSelect giengine1, 1, isfnum1, 0, 0
>
> giengine2 fluidEngine
> ; soundfont path to manual/examples
> isfnum2	 fluidLoad "22Bassoon.sf2", giengine2, 1
> 	 fluidProgramSelect giengine2, 1, isfnum2, 0, 70
>
> instr 1
>
> 	mididefault   60, p3
> 	midinoteonkey p4, p5
> ikey	init p4
> ivel	init p5
> 	fluidNote giengine1, 1, ikey, ivel
>
> endin
>
> instr 2
>
> 	mididefault   60, p3
> 	midinoteonkey p4, p5
> ikey	init p4
> ivel	init p5
> 	fluidNote giengine2, 1, ikey, ivel
>
> endin
>
> instr 100
>
> imvol init 4
> asigl, asigr fluidAllOut
>      outs asigl*imvol, asigr*imvol
> endin
> 
> 
>
> i 1 0 2 60 100 ;play one note of instr 1
> i 2 2 2 60 100 ;play another note of instr 2 and...
> i 100 0 60
> e
> 
> 
>
> Any suggestions?
>
> greetings
> menno
> -- 
> View this message in context: http://csound.1045644.n5.nabble.com/fluidAllOut-tp3353726p3353726.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better  
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-23 16:29
FromMichael Gogins
SubjectRe: [Cs-dev] fluidAllOut
There is a bug in the code, which I have fixed. The OENTRY structure
is given an i-rate input parameter which is not needed or used. I have
removed the declaration of this bogus parameter from the OENTRY
structure.

Thanks for finding this.

Regards,
Mike

On Sun, Jan 23, 2011 at 11:14 AM, Victor Lazzarini
 wrote:
> The code shows it takes an "i" parameter. It appears to be a dummy
> variable, it does not seem to do anything.
> Maybe  it shouldn't be there?
>
> Victor
> On 23 Jan 2011, at 15:56, menno wrote:
>
>>
>> Hello,
>>
>> i think there is something wrong with fluidAllOut. The new parser
>> does not
>> reveal the error but with the old parser i get to see:
>> error:  insufficient required arguments, line 52:
>> asigl, asigr fluidAllOut
>>
>> This is my csd (and i think it is correct):
>>
>> 
>> 
>> ; Select audio/midi flags here according to platform
>> -odac   -M0    ;;;realtime audio out and realtime midi in
>> ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
>> ; For Non-realtime ouput leave only the line below:
>> ;-o fluidAllOut.wav -W ;;; for file output any platform
>> 
>> 
>>
>> sr = 44100
>> ksmps = 32
>> nchnls = 2
>> 0dbfs = 1
>>
>> massign   1, 1        ;assign instr 1 to channel 1
>> massign   2, 2        ;assign instr 2 to channel 2
>>
>> giengine1 fluidEngine
>> ; soundfont path to manual/examples
>> isfnum1        fluidLoad "01hpschd.sf2", giengine1, 1
>>        fluidProgramSelect giengine1, 1, isfnum1, 0, 0
>>
>> giengine2 fluidEngine
>> ; soundfont path to manual/examples
>> isfnum2        fluidLoad "22Bassoon.sf2", giengine2, 1
>>        fluidProgramSelect giengine2, 1, isfnum2, 0, 70
>>
>> instr 1
>>
>>       mididefault   60, p3
>>       midinoteonkey p4, p5
>> ikey  init p4
>> ivel  init p5
>>       fluidNote giengine1, 1, ikey, ivel
>>
>> endin
>>
>> instr 2
>>
>>       mididefault   60, p3
>>       midinoteonkey p4, p5
>> ikey  init p4
>> ivel  init p5
>>       fluidNote giengine2, 1, ikey, ivel
>>
>> endin
>>
>> instr 100
>>
>> imvol init 4
>> asigl, asigr fluidAllOut
>>      outs asigl*imvol, asigr*imvol
>> endin
>> 
>> 
>>
>> i 1 0 2 60 100 ;play one note of instr 1
>> i 2 2 2 60 100 ;play another note of instr 2 and...
>> i 100 0 60
>> e
>> 
>> 
>>
>> Any suggestions?
>>
>> greetings
>> menno
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/fluidAllOut-tp3353726p3353726.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better
>> price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



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

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-23 18:11
Frommenno
SubjectRe: [Cs-dev] fluidAllOut
There is  sound but it is heavily distorted, i had to lower the output
somewhat but the sound definitely is distorted.
This is the csd

menno



; Select audio/midi flags here according to platform
-odac   -M0    ;;;realtime audio out and realtime midi in
;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
;-o fluidAllOut.wav -W ;;; for file output any platform



sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1

massign   1, 1	;assign instr 1 to channel 1
massign   2, 2	;assign instr 2 to channel 2

giengine1 fluidEngine
; soundfont path to manual/examples
isfnum1	 fluidLoad "/home/menno/CVS/manual/manual/examples/01hpschd.sf2",
giengine1, 1
	 fluidProgramSelect giengine1, 1, isfnum1, 0, 0

giengine2 fluidEngine
; soundfont path to manual/examples
isfnum2	 fluidLoad "/home/menno/CVS/manual/manual/examples/22Bassoon.sf2",
giengine2, 1
	 fluidProgramSelect giengine2, 1, isfnum2, 0, 70

instr 1

	mididefault   60, p3
	midinoteonkey p4, p5
ikey	init p4
ivel	init p5
	fluidNote giengine1, 1, ikey, ivel

endin

instr 2

	mididefault   60, p3
	midinoteonkey p4, p5
ikey	init p4
ivel	init p5
	fluidNote giengine2, 1, ikey, ivel

endin

instr 100

imvol init .4
asigl, asigr fluidAllOut
      outs asigl*imvol, asigr*imvol
endin



i 1 0 2 60 100 ;play one note of instr 1
i 2 2 2 60 100 ;play another note of instr 2 and...
i 100 0 60
e

 
-- 
View this message in context: http://csound.1045644.n5.nabble.com/fluidAllOut-tp3353726p3353847.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-23 18:17
FromMichael Gogins
SubjectRe: [Cs-dev] fluidAllOut
This may not be caused by a bug. The fluidAllOut opcode just mixes
outputs from all loaded SoundFonts and SoundFont engines regardless of
their relative level. If the levels are too high, there will be
distortion. If the levels are not normalized, they will not be
balanced and that may cause the user to bring the levels up too high,
and again there would be distortion.

It might be better, in practice, to use separate SoundFont engines and
to mix the outputs afterwards. But for the purposes of your example,
just try turning the level down and finding normalized SoundFonts.

Hope this helps,
Mike

On Sun, Jan 23, 2011 at 1:11 PM, menno  wrote:
>
> There is  sound but it is heavily distorted, i had to lower the output
> somewhat but the sound definitely is distorted.
> This is the csd
>
> menno
>
> 
> 
> ; Select audio/midi flags here according to platform
> -odac   -M0    ;;;realtime audio out and realtime midi in
> ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ;-o fluidAllOut.wav -W ;;; for file output any platform
> 
> 
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
>
> massign   1, 1  ;assign instr 1 to channel 1
> massign   2, 2  ;assign instr 2 to channel 2
>
> giengine1 fluidEngine
> ; soundfont path to manual/examples
> isfnum1  fluidLoad "/home/menno/CVS/manual/manual/examples/01hpschd.sf2",
> giengine1, 1
>         fluidProgramSelect giengine1, 1, isfnum1, 0, 0
>
> giengine2 fluidEngine
> ; soundfont path to manual/examples
> isfnum2  fluidLoad "/home/menno/CVS/manual/manual/examples/22Bassoon.sf2",
> giengine2, 1
>         fluidProgramSelect giengine2, 1, isfnum2, 0, 70
>
> instr 1
>
>        mididefault   60, p3
>        midinoteonkey p4, p5
> ikey    init p4
> ivel    init p5
>        fluidNote giengine1, 1, ikey, ivel
>
> endin
>
> instr 2
>
>        mididefault   60, p3
>        midinoteonkey p4, p5
> ikey    init p4
> ivel    init p5
>        fluidNote giengine2, 1, ikey, ivel
>
> endin
>
> instr 100
>
> imvol init .4
> asigl, asigr fluidAllOut
>      outs asigl*imvol, asigr*imvol
> endin
> 
> 
>
> i 1 0 2 60 100 ;play one note of instr 1
> i 2 2 2 60 100 ;play another note of instr 2 and...
> i 100 0 60
> e
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/fluidAllOut-tp3353726p3353847.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



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

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-24 13:13
Frommenno
SubjectRe: [Cs-dev] fluidAllOut
 
Hi Michael,

i have tried again, as you suggest, using different levels but the
distortion persists (and so do i;)). Even playing one note distorts, it
sounds like the sound has become a sound with a much lower samplerrate, it
is a nasty "digital" sounding distortion.

i work with Csound5.13beta doubles and Ubuntu and the soundfonts that come
with the manual - and they work fine with other fluidopcodes.

greetings
Menno



; Select audio/midi flags here according to platform
-odac   -M0    ;;;realtime audio out and realtime midi in
;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
;-o fluidAllOut.wav -W ;;; for file output any platform



sr = 44100
ksmps = 32
nchnls = 2
;0dbfs = 1000

massign   1, 1	;assign instr 1 to channel 1
massign   2, 2	;assign instr 2 to channel 2

giengine1 fluidEngine
; soundfont path to manual/examples
isfnum1	 fluidLoad "/home/menno/CVS/manual/manual/examples/01hpschd.sf2",
giengine1, 1
	 fluidProgramSelect giengine1, 1, isfnum1, 0, 0

giengine2 fluidEngine
; soundfont path to manual/examples
isfnum2	 fluidLoad "/home/menno/CVS/manual/manual/examples/22Bassoon.sf2",
giengine2, 1
	 fluidProgramSelect giengine2, 1, isfnum2, 0, 70

instr 1

	mididefault   60, p3
	midinoteonkey p4, p5
ikey	init p4
ivel	init p5
	fluidNote giengine1, 1, ikey, ivel

endin

instr 2

	mididefault   60, p3
	midinoteonkey p4, p5
ikey	init p4
ivel	init p5
	fluidNote giengine2, 1, ikey, ivel

endin

instr 100

imvol init 30000
asigl, asigr fluidAllOut
      outs asigl*imvol, asigr*imvol
endin



i 1 0 2 60 100 ;play one note of instr 1
i 2 2 2 60 100 ;play another note of instr 2 and...
i 100 0 60
e

 
-- 
View this message in context: http://csound.1045644.n5.nabble.com/fluidAllOut-tp3353726p3354601.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-24 13:51
FromMichael Gogins
SubjectRe: [Cs-dev] fluidAllOut
Thanks for the info. I will test this as part of building 5.13 for Windows.

Regards,
Mike

On Mon, Jan 24, 2011 at 8:13 AM, menno  wrote:
>
>
> Hi Michael,
>
> i have tried again, as you suggest, using different levels but the
> distortion persists (and so do i;)). Even playing one note distorts, it
> sounds like the sound has become a sound with a much lower samplerrate, it
> is a nasty "digital" sounding distortion.
>
> i work with Csound5.13beta doubles and Ubuntu and the soundfonts that come
> with the manual - and they work fine with other fluidopcodes.
>
> greetings
> Menno
>
> 
> 
> ; Select audio/midi flags here according to platform
> -odac   -M0    ;;;realtime audio out and realtime midi in
> ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
> ; For Non-realtime ouput leave only the line below:
> ;-o fluidAllOut.wav -W ;;; for file output any platform
> 
> 
>
> sr = 44100
> ksmps = 32
> nchnls = 2
> ;0dbfs = 1000
>
> massign   1, 1  ;assign instr 1 to channel 1
> massign   2, 2  ;assign instr 2 to channel 2
>
> giengine1 fluidEngine
> ; soundfont path to manual/examples
> isfnum1  fluidLoad "/home/menno/CVS/manual/manual/examples/01hpschd.sf2",
> giengine1, 1
>         fluidProgramSelect giengine1, 1, isfnum1, 0, 0
>
> giengine2 fluidEngine
> ; soundfont path to manual/examples
> isfnum2  fluidLoad "/home/menno/CVS/manual/manual/examples/22Bassoon.sf2",
> giengine2, 1
>         fluidProgramSelect giengine2, 1, isfnum2, 0, 70
>
> instr 1
>
>        mididefault   60, p3
>        midinoteonkey p4, p5
> ikey    init p4
> ivel    init p5
>        fluidNote giengine1, 1, ikey, ivel
>
> endin
>
> instr 2
>
>        mididefault   60, p3
>        midinoteonkey p4, p5
> ikey    init p4
> ivel    init p5
>        fluidNote giengine2, 1, ikey, ivel
>
> endin
>
> instr 100
>
> imvol init 30000
> asigl, asigr fluidAllOut
>      outs asigl*imvol, asigr*imvol
> endin
> 
> 
>
> i 1 0 2 60 100 ;play one note of instr 1
> i 2 2 2 60 100 ;play another note of instr 2 and...
> i 100 0 60
> e
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/fluidAllOut-tp3353726p3354601.html
> Sent from the Csound - Dev mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



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

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-01-29 03:38
FromMichael Gogins
SubjectRe: [Cs-dev] fluidAllOut
There were 2 bugs in the fluidAllOut opcode, the extraneous argument
plus a sample buffer indexing error which must have been the source of
noise. I have fixed and tested both bugs. The fixes will go into CVS
and into the next Windows installer as soon as SourceForge recovers
from being hacked.

Thanks,
Mike

On Mon, Jan 24, 2011 at 8:51 AM, Michael Gogins
 wrote:
> Thanks for the info. I will test this as part of building 5.13 for Windows.
>
> Regards,
> Mike
>
> On Mon, Jan 24, 2011 at 8:13 AM, menno  wrote:
>>
>>
>> Hi Michael,
>>
>> i have tried again, as you suggest, using different levels but the
>> distortion persists (and so do i;)). Even playing one note distorts, it
>> sounds like the sound has become a sound with a much lower samplerrate, it
>> is a nasty "digital" sounding distortion.
>>
>> i work with Csound5.13beta doubles and Ubuntu and the soundfonts that come
>> with the manual - and they work fine with other fluidopcodes.
>>
>> greetings
>> Menno
>>
>> 
>> 
>> ; Select audio/midi flags here according to platform
>> -odac   -M0    ;;;realtime audio out and realtime midi in
>> ;-iadc    ;;;uncomment -iadc if realtime audio input is needed too
>> ; For Non-realtime ouput leave only the line below:
>> ;-o fluidAllOut.wav -W ;;; for file output any platform
>> 
>> 
>>
>> sr = 44100
>> ksmps = 32
>> nchnls = 2
>> ;0dbfs = 1000
>>
>> massign   1, 1  ;assign instr 1 to channel 1
>> massign   2, 2  ;assign instr 2 to channel 2
>>
>> giengine1 fluidEngine
>> ; soundfont path to manual/examples
>> isfnum1  fluidLoad "/home/menno/CVS/manual/manual/examples/01hpschd.sf2",
>> giengine1, 1
>>         fluidProgramSelect giengine1, 1, isfnum1, 0, 0
>>
>> giengine2 fluidEngine
>> ; soundfont path to manual/examples
>> isfnum2  fluidLoad "/home/menno/CVS/manual/manual/examples/22Bassoon.sf2",
>> giengine2, 1
>>         fluidProgramSelect giengine2, 1, isfnum2, 0, 70
>>
>> instr 1
>>
>>        mididefault   60, p3
>>        midinoteonkey p4, p5
>> ikey    init p4
>> ivel    init p5
>>        fluidNote giengine1, 1, ikey, ivel
>>
>> endin
>>
>> instr 2
>>
>>        mididefault   60, p3
>>        midinoteonkey p4, p5
>> ikey    init p4
>> ivel    init p5
>>        fluidNote giengine2, 1, ikey, ivel
>>
>> endin
>>
>> instr 100
>>
>> imvol init 30000
>> asigl, asigr fluidAllOut
>>      outs asigl*imvol, asigr*imvol
>> endin
>> 
>> 
>>
>> i 1 0 2 60 100 ;play one note of instr 1
>> i 2 2 2 60 100 ;play another note of instr 2 and...
>> i 100 0 60
>> e
>> 
>> 
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/fluidAllOut-tp3353726p3354601.html
>> Sent from the Csound - Dev mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>



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

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net