Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] soundfile reader

Date2006-05-01 10:59
FromIstvan Varga
SubjectRe: [Cs-dev] soundfile reader
AttachmentsNone  

Date2006-05-01 11:33
FromVictor Lazzarini
SubjectRe: [Cs-dev] soundfile reader
Do you think constant reinits should be OK? I'm
thinking here of someone dragging a slider backwards
and forwards. I suppose I can try it to see.

Btw, I expect that the ifilcod parameter would take
a S-type variable, that is, say, bound to a string
channel. Am I right?

And another thing, regarding the API, is it possible
to pass a char *, cast as a float in p-field of a score
event,
to a instrument? If not, would it be possible to have
support for strings in events ?

Thanks for your quick reply.

Victor
>
> On Monday 01 May 2006 12:05, Victor Lazzarini wrote:
>
> > Would it be possible to change the skiptime parameter
> > in diksin2 to be k-rate. Otherwise, should I add a
> > new soundfile player with a k-rate time pointer (or
> > would anyone else want to do it? Istvan?).
>
> I have been planning a more advanced version of diskin2
> for quite some time, although have not actually got to do
> it so far. However, I am mainly interested in adding
> support for loop points and reading files from memory, to
> have an alternative to loscil with better sound quality.
> If you only want to seek to a different point in the file
> at k-rate (occasionally only, if I understand correctly,
> for a sound file player with transport controls), then a
> user defined opcode that uses reinit may be sufficient.
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web
> services, security? Get stuff done quickly with
> pre-integrated technology to make your job easier Download
> IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-03 00:11
Frommatt
SubjectRe: [Cs-dev] soundfile reader
i do the reinit with a slider
[ take a look at "scrubber.csd" in MacCsound distribution ]

-- obviously you get a click everytime you move the slider, 
but nothing more than when you scan on a CD player..



On May 1, 2006, at 3:33 AM, Victor Lazzarini wrote:

> Do you think constant reinits should be OK? I'm
> thinking here of someone dragging a slider backwards
> and forwards. I suppose I can try it to see.

-m@
________________________
           matt  ingalls
http://sfsound.org/matt.html



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-03 06:47
FromRory Walsh
SubjectRe: [Cs-dev] soundfile reader
Yeah I just tried it yesterday doing the same thing, only thought my own 
front-end and . Works fine, only thing is that I can't seem to figure 
out how to get the length of a sound file without resorting to an 
external tool? Anyone know if I can do this 'strictly' within Csound, 
i.e., retrieve a sound file length??

Rory.

matt wrote:
> i do the reinit with a slider
> [ take a look at "scrubber.csd" in MacCsound distribution ]
> 
> -- obviously you get a click everytime you move the slider, but nothing 
> more than when you scan on a CD player..
> 
> 
> 
> On May 1, 2006, at 3:33 AM, Victor Lazzarini wrote:
> 
>> Do you think constant reinits should be OK? I'm
>> thinking here of someone dragging a slider backwards
>> and forwards. I suppose I can try it to see.
> 
> -m@
> ________________________
>           matt  ingalls
> http://sfsound.org/matt.html
> 
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-03 06:56
From"Steven Yi"
SubjectRe: [Cs-dev] soundfile reader
AttachmentsNone  

Date2006-05-03 07:05
FromRory Walsh
SubjectRe: [Cs-dev] soundfile reader
Cheers Steven, perhaps that will work but if so I need more info. I was 
using the soundin/diskin opcode and I was passing a string from the 
command line to signal the file to open, can I pass a string to the 
score in the same way? i.e., using strget/strset?



Steven Yi wrote:
> Hi Rory,
> 
> Not sure if I'm following the thread correctly, but I think ftlen should 
> work:
> 
> http://csounds.com/manual/html/ftlen.html
> 
> steven
> 
> On 5/2/06, Rory Walsh  wrote:
>> Yeah I just tried it yesterday doing the same thing, only thought my own
>> front-end and . Works fine, only thing is that I can't seem to figure
>> out how to get the length of a sound file without resorting to an
>> external tool? Anyone know if I can do this 'strictly' within Csound,
>> i.e., retrieve a sound file length??
>>
>> Rory.
>>
>> matt wrote:
>> > i do the reinit with a slider
>> > [ take a look at "scrubber.csd" in MacCsound distribution ]
>> >
>> > -- obviously you get a click everytime you move the slider, but nothing
>> > more than when you scan on a CD player..
>> >
>> >
>> >
>> > On May 1, 2006, at 3:33 AM, Victor Lazzarini wrote:
>> >
>> >> Do you think constant reinits should be OK? I'm
>> >> thinking here of someone dragging a slider backwards
>> >> and forwards. I suppose I can try it to see.
>> >
>> > -m@
>> > ________________________
>> >           matt  ingalls
>> > http://sfsound.org/matt.html
>> >
>> >
>> >
>> > -------------------------------------------------------
>> > Using Tomcat but need to do more? Need to support web services, 
>> security?
>> > Get stuff done quickly with pre-integrated technology to make your job
>> > easier
>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>> Geronimo
>> > 
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job 
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-03 07:44
From"Steven Yi"
SubjectRe: [Cs-dev] soundfile reader
AttachmentsNone  

Date2006-05-03 08:09
FromRory Walsh
SubjectRe: [Cs-dev] soundfile reader
Thanks Steven, I forgot about ftgen, sure, that'll do it. I've come to 
the point where I try to do things in Csound first rather than from any 
host, the result being that I'm learning a lot more about Csound rather 
than covering old ground in C/C++! Cheers,
Rory.

Steven Yi wrote:
> Hi Rory,
> 
> I'm not sure about strset/get in the score, but you could probably
> just use ftgen instead of doing it in the score, i.e.:
> 
> gi_soundfile ftgen 0, 0, 0, 1, Sfilename, ....
> 
> and use gi_soundfile after that for the table num.
> 
> Otherwise, I do things in blue where I just replace values in the CSD
> when generating it before running Csound with it, so might just be
> able to do a text swap in your host instead of using Csound mechanisms
> (just another alternative).
> 
> steven
> 
> 
> On 5/2/06, Rory Walsh  wrote:
>> Cheers Steven, perhaps that will work but if so I need more info. I was
>> using the soundin/diskin opcode and I was passing a string from the
>> command line to signal the file to open, can I pass a string to the
>> score in the same way? i.e., using strget/strset?
>>
>>
>>
>> Steven Yi wrote:
>> > Hi Rory,
>> >
>> > Not sure if I'm following the thread correctly, but I think ftlen 
>> should
>> > work:
>> >
>> > http://csounds.com/manual/html/ftlen.html
>> >
>> > steven
>> >
>> > On 5/2/06, Rory Walsh  wrote:
>> >> Yeah I just tried it yesterday doing the same thing, only thought 
>> my own
>> >> front-end and . Works fine, only thing is that I can't seem to figure
>> >> out how to get the length of a sound file without resorting to an
>> >> external tool? Anyone know if I can do this 'strictly' within Csound,
>> >> i.e., retrieve a sound file length??
>> >>
>> >> Rory.
>> >>
>> >> matt wrote:
>> >> > i do the reinit with a slider
>> >> > [ take a look at "scrubber.csd" in MacCsound distribution ]
>> >> >
>> >> > -- obviously you get a click everytime you move the slider, but 
>> nothing
>> >> > more than when you scan on a CD player..
>> >> >
>> >> >
>> >> >
>> >> > On May 1, 2006, at 3:33 AM, Victor Lazzarini wrote:
>> >> >
>> >> >> Do you think constant reinits should be OK? I'm
>> >> >> thinking here of someone dragging a slider backwards
>> >> >> and forwards. I suppose I can try it to see.
>> >> >
>> >> > -m@
>> >> > ________________________
>> >> >           matt  ingalls
>> >> > http://sfsound.org/matt.html
>> >> >
>> >> >
>> >> >
>> >> > -------------------------------------------------------
>> >> > Using Tomcat but need to do more? Need to support web services,
>> >> security?
>> >> > Get stuff done quickly with pre-integrated technology to make 
>> your job
>> >> > easier
>> >> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> >> Geronimo
>> >> >
>> >> 
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >> > _______________________________________________
>> >> > Csound-devel mailing list
>> >> > Csound-devel@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >> >
>> >>
>> >>
>> >> -------------------------------------------------------
>> >> Using Tomcat but need to do more? Need to support web services, 
>> security?
>> >> Get stuff done quickly with pre-integrated technology to make your job
>> >> easier
>> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> >> Geronimo
>> >> 
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >>
>> >
>> >
>> > -------------------------------------------------------
>> > Using Tomcat but need to do more? Need to support web services, 
>> security?
>> > Get stuff done quickly with pre-integrated technology to make your job
>> > easier
>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>> Geronimo
>> > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job 
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>> Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-03 11:54
FromIstvan Varga
SubjectRe: [Cs-dev] soundfile reader
AttachmentsNone  

Date2006-05-03 12:50
FromVictor Lazzarini
SubjectRe: [Cs-dev] soundfile reader
It just seems a roundabout way of doing things though. Maybe we
should have an i-time opcode that returns the file length, sr, channels,
etc.. And an API function.

Victor

At 08:09 03/05/2006, you wrote:
>Thanks Steven, I forgot about ftgen, sure, that'll do it. I've come to the 
>point where I try to do things in Csound first rather than from any host, 
>the result being that I'm learning a lot more about Csound rather than 
>covering old ground in C/C++! Cheers,
>Rory.
>
>Steven Yi wrote:
>>Hi Rory,
>>I'm not sure about strset/get in the score, but you could probably
>>just use ftgen instead of doing it in the score, i.e.:
>>gi_soundfile ftgen 0, 0, 0, 1, Sfilename, ....
>>and use gi_soundfile after that for the table num.
>>Otherwise, I do things in blue where I just replace values in the CSD
>>when generating it before running Csound with it, so might just be
>>able to do a text swap in your host instead of using Csound mechanisms
>>(just another alternative).
>>steven
>>
>>On 5/2/06, Rory Walsh  wrote:
>>>Cheers Steven, perhaps that will work but if so I need more info. I was
>>>using the soundin/diskin opcode and I was passing a string from the
>>>command line to signal the file to open, can I pass a string to the
>>>score in the same way? i.e., using strget/strset?
>>>
>>>
>>>
>>>Steven Yi wrote:
>>> > Hi Rory,
>>> >
>>> > Not sure if I'm following the thread correctly, but I think ftlen should
>>> > work:
>>> >
>>> > http://csounds.com/manual/html/ftlen.html
>>> >
>>> > steven
>>> >
>>> > On 5/2/06, Rory Walsh  wrote:
>>> >> Yeah I just tried it yesterday doing the same thing, only thought my own
>>> >> front-end and . Works fine, only thing is that I can't seem to figure
>>> >> out how to get the length of a sound file without resorting to an
>>> >> external tool? Anyone know if I can do this 'strictly' within Csound,
>>> >> i.e., retrieve a sound file length??
>>> >>
>>> >> Rory.
>>> >>
>>> >> matt wrote:
>>> >> > i do the reinit with a slider
>>> >> > [ take a look at "scrubber.csd" in MacCsound distribution ]
>>> >> >
>>> >> > -- obviously you get a click everytime you move the slider, but 
>>> nothing
>>> >> > more than when you scan on a CD player..
>>> >> >
>>> >> >
>>> >> >
>>> >> > On May 1, 2006, at 3:33 AM, Victor Lazzarini wrote:
>>> >> >
>>> >> >> Do you think constant reinits should be OK? I'm
>>> >> >> thinking here of someone dragging a slider backwards
>>> >> >> and forwards. I suppose I can try it to see.
>>> >> >
>>> >> > -m@
>>> >> > ________________________
>>> >> >           matt  ingalls
>>> >> > http://sfsound.org/matt.html
>>> >> >
>>> >> >
>>> >> >
>>> >> > -------------------------------------------------------
>>> >> > Using Tomcat but need to do more? Need to support web services,
>>> >> security?
>>> >> > Get stuff done quickly with pre-integrated technology to make your job
>>> >> > easier
>>> >> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> >> Geronimo
>>> >> >
>>> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> >> > _______________________________________________
>>> >> > Csound-devel mailing list
>>> >> > Csound-devel@lists.sourceforge.net
>>> >> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >> >
>>> >>
>>> >>
>>> >> -------------------------------------------------------
>>> >> Using Tomcat but need to do more? Need to support web services, 
>>> security?
>>> >> Get stuff done quickly with pre-integrated technology to make your job
>>> >> easier
>>> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> >> Geronimo
>>> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> >> _______________________________________________
>>> >> Csound-devel mailing list
>>> >> Csound-devel@lists.sourceforge.net
>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >>
>>> >
>>> >
>>> > -------------------------------------------------------
>>> > Using Tomcat but need to do more? Need to support web services, security?
>>> > Get stuff done quickly with pre-integrated technology to make your job
>>> > easier
>>> > Download IBM WebSphere Application Server v.1.0.1 based on Apache 
>>> Geronimo
>>> > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>>
>>>
>>>-------------------------------------------------------
>>>Using Tomcat but need to do more? Need to support web services, security?
>>>Get stuff done quickly with pre-integrated technology to make your job 
>>>easier
>>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>_______________________________________________
>>>Csound-devel mailing list
>>>Csound-devel@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>-------------------------------------------------------
>>Using Tomcat but need to do more? Need to support web services, security?
>>Get stuff done quickly with pre-integrated technology to make your job easier
>>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>-------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>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 



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-03 13:02
FromRory Walsh
SubjectRe: [Cs-dev] soundfile reader
 > You may want to have a look at these already existing opcodes:
 >
 >   http://csounds.com/manual/html/filelen.html
 >   http://csounds.com/manual/html/filesr.html
 >   http://csounds.com/manual/html/filenchnls.html
 >

Brilliant.

Rory.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-03 13:11
FromIstvan Varga
SubjectRe: [Cs-dev] soundfile reader
AttachmentsNone  

Date2006-05-03 14:07
FromVictor Lazzarini
SubjectRe: [Cs-dev] soundfile reader
yes, that can be used alright.

I suppose having it in the Csound API would allow us to use it in
Python or Java as well.

Victor

At 11:54 03/05/2006, you wrote:
> > And an API function.
>
>Why not just use libsndfile directly ?

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



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-05-03 14:33
From"Dr. Richard Boulanger"
SubjectRe: [Cs-dev] soundfile reader
yes.

On May 3, 2006, at 7:50 AM, Victor Lazzarini wrote:

> It just seems a roundabout way of doing things though. Maybe we
> should have an i-time opcode that returns the file length, sr,  
> channels,
> etc.. And an API function.
>
> Victor
>
> At 08:09 03/05/2006, you wrote:
>> Thanks Steven, I forgot about ftgen, sure, that'll do it. I've  
>> come to the point where I try to do things in Csound first rather  
>> than from any host, the result being that I'm learning a lot more  
>> about Csound rather than covering old ground in C/C++! Cheers,
>> Rory.
>>
>> Steven Yi wrote:
>>> Hi Rory,
>>> I'm not sure about strset/get in the score, but you could probably
>>> just use ftgen instead of doing it in the score, i.e.:
>>> gi_soundfile ftgen 0, 0, 0, 1, Sfilename, ....
>>> and use gi_soundfile after that for the table num.
>>> Otherwise, I do things in blue where I just replace values in the  
>>> CSD
>>> when generating it before running Csound with it, so might just be
>>> able to do a text swap in your host instead of using Csound  
>>> mechanisms
>>> (just another alternative).
>>> steven
>>>
>>> On 5/2/06, Rory Walsh  wrote:
>>>> Cheers Steven, perhaps that will work but if so I need more  
>>>> info. I was
>>>> using the soundin/diskin opcode and I was passing a string from the
>>>> command line to signal the file to open, can I pass a string to the
>>>> score in the same way? i.e., using strget/strset?
>>>>
>>>>
>>>>
>>>> Steven Yi wrote:
>>>> > Hi Rory,
>>>> >
>>>> > Not sure if I'm following the thread correctly, but I think  
>>>> ftlen should
>>>> > work:
>>>> >
>>>> > http://csounds.com/manual/html/ftlen.html
>>>> >
>>>> > steven
>>>> >
>>>> > On 5/2/06, Rory Walsh  wrote:
>>>> >> Yeah I just tried it yesterday doing the same thing, only  
>>>> thought my own
>>>> >> front-end and . Works fine, only thing is that I can't seem  
>>>> to figure
>>>> >> out how to get the length of a sound file without resorting  
>>>> to an
>>>> >> external tool? Anyone know if I can do this 'strictly' within  
>>>> Csound,
>>>> >> i.e., retrieve a sound file length??
>>>> >>
>>>> >> Rory.
>>>> >>
>>>> >> matt wrote:
>>>> >> > i do the reinit with a slider
>>>> >> > [ take a look at "scrubber.csd" in MacCsound distribution ]
>>>> >> >
>>>> >> > -- obviously you get a click everytime you move the slider,  
>>>> but nothing
>>>> >> > more than when you scan on a CD player..
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > On May 1, 2006, at 3:33 AM, Victor Lazzarini wrote:
>>>> >> >
>>>> >> >> Do you think constant reinits should be OK? I'm
>>>> >> >> thinking here of someone dragging a slider backwards
>>>> >> >> and forwards. I suppose I can try it to see.
>>>> >> >
>>>> >> > -m@
>>>> >> > ________________________
>>>> >> >           matt  ingalls
>>>> >> > http://sfsound.org/matt.html
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > -------------------------------------------------------
>>>> >> > Using Tomcat but need to do more? Need to support web  
>>>> services,
>>>> >> security?
>>>> >> > Get stuff done quickly with pre-integrated technology to  
>>>> make your job
>>>> >> > easier
>>>> >> > Download IBM WebSphere Application Server v.1.0.1 based on  
>>>> Apache
>>>> >> Geronimo
>>>> >> >
>>>> >> http://sel.as-us.falkag.net/sel? 
>>>> cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> >> > _______________________________________________
>>>> >> > Csound-devel mailing list
>>>> >> > Csound-devel@lists.sourceforge.net
>>>> >> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> >> >
>>>> >>
>>>> >>
>>>> >> -------------------------------------------------------
>>>> >> Using Tomcat but need to do more? Need to support web  
>>>> services, security?
>>>> >> Get stuff done quickly with pre-integrated technology to make  
>>>> your job
>>>> >> easier
>>>> >> Download IBM WebSphere Application Server v.1.0.1 based on  
>>>> Apache
>>>> >> Geronimo
>>>> >> http://sel.as-us.falkag.net/sel? 
>>>> cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> >> _______________________________________________
>>>> >> Csound-devel mailing list
>>>> >> Csound-devel@lists.sourceforge.net
>>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> >>
>>>> >
>>>> >
>>>> > -------------------------------------------------------
>>>> > Using Tomcat but need to do more? Need to support web  
>>>> services, security?
>>>> > Get stuff done quickly with pre-integrated technology to make  
>>>> your job
>>>> > easier
>>>> > Download IBM WebSphere Application Server v.1.0.1 based on  
>>>> Apache Geronimo
>>>> > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
>>>> > _______________________________________________
>>>> > Csound-devel mailing list
>>>> > Csound-devel@lists.sourceforge.net
>>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>> >
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> Using Tomcat but need to do more? Need to support web services,  
>>>> security?
>>>> Get stuff done quickly with pre-integrated technology to make  
>>>> your job easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on  
>>>> Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel? 
>>>> cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> -------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services,  
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make  
>>> your job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> -------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services,  
>> security?
>> Get stuff done quickly with pre-integrated technology to make your  
>> job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
>> Geronimo
>> http://sel.as-us.falkag.net/sel? 
>> cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> 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
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,  
> security?
> Get stuff done quickly with pre-integrated technology to make your  
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache  
> Geronimo
> http://sel.as-us.falkag.net/sel? 
> cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net