Csound Csound-dev Csound-tekno Search About

[Csnd] sndload and loscilx issues

Date2010-09-12 09:11
Frommenno
Subject[Csnd] sndload and loscilx issues
Hi,

after a summer break i am resuming my work to get
working-right-away-examples for all the opcodes.
i came across sndload that is designed to work together with loscilx. But i
have the same question as Paolino. It was posted in 2006:
http://csound.1045644.n5.nabble.com/sndload-and-loscilx-td1102138.html#a1102138

loscilx wants ifn as an argument, but sndload "Loads a sound file into
memory for use by loscilx" , but not as a function table as loscilx wants.
In the folowing example loscilx works just fine but sndload seems to be
superfluous.
What is the surplus value of loscilx that can not be done with loscil
anyway?







	sr	=	48000

	ksmps	=	128
	nchnls	=	2

giSample    ftgen   0, 0, 0, 1, "kickroll.wav",  0,  0,  0
;sndload	"home/menno/CVS/csound5/manual/manual/kickroll.wav"
instr 1

a1, a2		loscilx	10000, 1, giSample


outs	a1*3, a2*3
endin



i1 0 1 

e




greetings,
menno

Date2010-09-12 09:32
FromAndres Cabrera
Subject[Csnd] Re: sndload and loscilx issues
Hi,

I think Istvan left these unfinished. I'm not sure if he left any
indication of his thoughts about what he wanted to do...

Cheers,
Andrés

On Sun, Sep 12, 2010 at 9:11 AM, menno  wrote:
>
> Hi,
>
> after a summer break i am resuming my work to get
> working-right-away-examples for all the opcodes.
> i came across sndload that is designed to work together with loscilx. But i
> have the same question as Paolino. It was posted in 2006:
> http://csound.1045644.n5.nabble.com/sndload-and-loscilx-td1102138.html#a1102138
>
> loscilx wants ifn as an argument, but sndload "Loads a sound file into
> memory for use by loscilx" , but not as a function table as loscilx wants.
> In the folowing example loscilx works just fine but sndload seems to be
> superfluous.
> What is the surplus value of loscilx that can not be done with loscil
> anyway?
>
>
> 
> 
> 
> 
>
>        sr      =       48000
>
>        ksmps   =       128
>        nchnls  =       2
>
> giSample    ftgen   0, 0, 0, 1, "kickroll.wav",  0,  0,  0
> ;sndload        "home/menno/CVS/csound5/manual/manual/kickroll.wav"
> instr 1
>
> a1, a2          loscilx 10000, 1, giSample
>
>
> outs    a1*3, a2*3
> endin
>
> 
> 
> i1 0 1
>
> e
> 
> 
>
>
> greetings,
> menno
> --
> View this message in context: http://csound.1045644.n5.nabble.com/sndload-and-loscilx-issues-tp2836549p2836549.html
> Sent from the Csound - General mailing list archive at Nabble.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"
>
>



-- 


Andrés


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-09-12 18:26
Frompaolino
Subject[Csnd] Re: sndload and loscilx issues
Hi,
Loscilx works whit ftable but this opcode can't read deferred size tables,
so the limit is 16777216 points. 
In my opinion sndload was created for remove that limitation.

Paolino.