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=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net