Csound Csound-dev Csound-tekno Search About

[Cs-dev] rewindscore opcode

Date2006-05-22 00:56
Frommatt ingalls
Subject[Cs-dev] rewindscore opcode
is there an opcode that does the same as
csoundRewindScore() in the API?

if not, it would be cool to have one!

-m


-------------------------------------------------------
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-22 10:37
FromIstvan Varga
SubjectRe: [Cs-dev] rewindscore opcode
AttachmentsNone  

Date2006-05-22 19:50
Frommatt
SubjectRe: [Cs-dev] rewindscore opcode
i am imagining users having a GUI widget slider that allows them
to "scrub" the score.

negative numbers seeking to score position seems unintuitive to me.
so how about this,  2 opcodes:

scoreoffset ival
scoreseek kval

where 'scoreoffset' is an i-time opcode, equivalent to
	csoundSetScoreOffsetSeconds(ival)

and 'scoreseek' is a p-time opcode, equivalent to
	csoundSetScoreOffsetSeconds(kval)
	csoundRewindScore()

thanks,
m

>  - should the opcode run at init or performance time ?

i

>  - should it rewind to zero time, or to whatever was most recently
>    set with csoundSetScoreOffsetSeconds() (csoundRewindScore()
>    does the latter) ?

>  - alternatively, the opcode could seek to any time in seconds, with
>    negative values meaning the most recently set score offset

>  - what should the name of the opcode be ?
>
> Note that changing the score position may result in all notes being
> turned off (including the one that called the opcode).
>
>
> -------------------------------------------------------
> 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
>

-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-22 20:13
FromIstvan Varga
SubjectRe: [Cs-dev] rewindscore opcode
AttachmentsNone  

Date2006-05-23 17:50
Frommatt
SubjectRe: [Cs-dev] rewindscore opcode
great!

On May 22, 2006, at 12:13 PM, Istvan Varga wrote:

> On Monday 22 May 2006 20:50, matt wrote:
>
>> i am imagining users having a GUI widget slider that allows them
>> to "scrub" the score.
>>
>> negative numbers seeking to score position seems unintuitive to me.
>> so how about this,  2 opcodes:
>>
>> scoreoffset ival
>> scoreseek kval
>>
>> where 'scoreoffset' is an i-time opcode, equivalent to
>> 	csoundSetScoreOffsetSeconds(ival)
>>
>> and 'scoreseek' is a p-time opcode, equivalent to
>> 	csoundSetScoreOffsetSeconds(kval)
>> 	csoundRewindScore()
>
> Calling csoundRewindScore() immediately after setting the score
> offset does not really make any difference, as csoundRewindScore()
> seeks to the most recently set score offset, while
> csoundSetScoreOffsetSeconds() sets the score offset first, and
> then seeks there.
>
>
> -------------------------------------------------------
> 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
>

-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