Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Score rewinding

Date2005-05-09 17:00
FromMichael Gogins
SubjectRe: [Cs-dev] Score rewinding
It should be possible to rewind after EOF. The use case would be an audio sequencer running a Csound score as a section of a larger performance also involving other plugins and softsynths, where the user has set a loop that includes part of the Csound score but extends beyond it.

Regards,
Mike

-----Original Message-----
From: Istvan Varga 
Sent: May 9, 2005 11:43 AM
To: csound-devel@lists.sourceforge.net
Subject: Re: [Cs-dev] Score rewinding

Victor Lazzarini wrote:

> I seem to get the score back to start, but the next call to 
> performKsmps() still
> doesn't seem to do anything. What am I doing wrong?
> 
> performKsmps() plays the score up until the end first time OK, it
> reports "end of score in performKsmps()". I call rewind(), but
> performKsmps() doesn't play anymore. It will play an event sent
> to it with scoreEvent(), but not the score. The score is back to the
> start because it reports "SECTION 1"

You are correct, rdscor() closes the score file when EOF is reached,
making it not possible to rewind; I only tested rewind while the score
is still playing.


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel





-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-05-09 17:10
FromIstvan Varga
SubjectRe: [Cs-dev] Score rewinding
Michael Gogins wrote:

> It should be possible to rewind after EOF.

OK, I commented out the offending line in rdscor.c. Hope that this does
not break something else.


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net