[Csnd] score manipulation opcodes/state diagram required
Date | 2019-01-14 09:08 |
From | Richard |
Subject | [Csnd] score manipulation opcodes/state diagram required |
It is not clear to me what the different score manipulation commands do. I try to understand them by reading the comments in ctcsound.py. E.e. setScorePending should silence the csound score events, allowing only real-time events. But this does not seem work when I have a lot of score events already queued up with cs.ScoreEvent(). Should it not work also then? In general, a state diagram of all possible allowed states and transitions would be very welcome here. (start, stop, rewind, etc) Now I try to figure it out by trail and error and reading the comments, but the results are not always what one would expect. E.g. the following code cs.setScoreOffsetSeconds(12) cs.rewindScore() shows the following message: end of section 1 sect peak amps: 0.59161 0.04001 SECTION 1: time advanced 529200.000 beats by score request (that many beats??) Also, the sound is stopped and the scoreTime() pointer stays at the last value, it does not jump... Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2019-01-14 09:33 |
From | Richard |
Subject | Re: [Csnd] score manipulation opcodes/state diagram required |
Hmm, the scoreTime() pointer does jump, that was an error on my side. But why is the section ended and the sound silenced? On 14/01/2019 10:08, Richard wrote: > It is not clear to me what the different score manipulation commands do. > I try to understand them by reading the comments in ctcsound.py. > > E.e. setScorePending should silence the csound score events, allowing > only real-time events. But this does not seem work when I have a lot > of score events already queued up with cs.ScoreEvent(). Should it not > work also then? > > In general, a state diagram of all possible allowed states and > transitions would be very welcome here. > (start, stop, rewind, etc) > > Now I try to figure it out by trail and error and reading the > comments, but the results are not always what one would expect. > E.g. the following code > > cs.setScoreOffsetSeconds(12) > cs.rewindScore() > > shows the following message: > > end of section 1 sect peak amps: 0.59161 0.04001 > SECTION 1: > time advanced 529200.000 beats by score request > > (that many beats??) > Also, the sound is stopped and the scoreTime() pointer stays at the > last value, it does not jump... > Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |