Csound Csound-dev Csound-tekno Search About

[Csnd] How to use '-i' command line option

Date2009-04-02 19:11
FromSaturnin Sektor
Subject[Csnd] How to use '-i' command line option
The '-i' command line option for cSound allows me to specify an input
soundfile name.  What doesn't seem to be answered in in the manual in
an obvious way is how to reference that file in an orchestra (using
diskin, soundin, loscil, etc.).  How do I access either the filename
or actual data in the file for a file specified by "-i"?


thanks,
Toby

Date2009-04-02 19:19
FromRory Walsh
Subject[Csnd] Re: How to use '-i' command line option
I can't answer your question but I generally use soundin to simply
load and play a soundfile, and if I want to load one in from the
command line i use the --strset flag with a strget in my orchestra.
I've never used -i for anything but live input.

Rory.


2009/4/2 Saturnin Sektor :
> The '-i' command line option for cSound allows me to specify an input
> soundfile name.  What doesn't seem to be answered in in the manual in
> an obvious way is how to reference that file in an orchestra (using
> diskin, soundin, loscil, etc.).  How do I access either the filename
> or actual data in the file for a file specified by "-i"?
>
>
> thanks,
> Toby
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Date2009-04-02 19:37
FromAndres Cabrera
Subject[Csnd] Re: How to use '-i' command line option
Hi,

It's received as realtime input, using opcodes like in, ins or inch.

Cheers,
Andrés

On Thu, Apr 2, 2009 at 1:11 PM, Saturnin Sektor  wrote:
> The '-i' command line option for cSound allows me to specify an input
> soundfile name.  What doesn't seem to be answered in in the manual in
> an obvious way is how to reference that file in an orchestra (using
> diskin, soundin, loscil, etc.).  How do I access either the filename
> or actual data in the file for a file specified by "-i"?
>
>
> thanks,
> Toby
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 


Andrés


Date2009-04-02 19:43
FromSaturnin Sektor
Subject[Csnd] Re: Re: How to use '-i' command line option
Excellent! Thanks for the info.  That's what I'm looking for.


-Toby

2009/4/2 Andres Cabrera :
> Hi,
>
> It's received as realtime input, using opcodes like in, ins or inch.
>
> Cheers,
> Andrés
>
> On Thu, Apr 2, 2009 at 1:11 PM, Saturnin Sektor  wrote:
>> The '-i' command line option for cSound allows me to specify an input
>> soundfile name.  What doesn't seem to be answered in in the manual in
>> an obvious way is how to reference that file in an orchestra (using
>> diskin, soundin, loscil, etc.).  How do I access either the filename
>> or actual data in the file for a file specified by "-i"?
>>
>>
>> thanks,
>> Toby
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
>
>
> --
>
>
> Andrés
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



-- 
'What are the roots that clutch, what branches grow
Out of this stony rubbish?' - T.S. Eliot