Csound Csound-dev Csound-tekno Search About

Control rate affects score timing

Date2017-04-16 11:14
Fromsjakops
SubjectControl rate affects score timing
It was somewhat confusing for me to learn that the control rate affects the
timing of the score - I wonder if that is a bug, or if there is some
'natural explanation'?



  -odac


sr = 44100
kr = 10 ;low values make the timing of the score very inaccurate
instr 123
aSin       oscils      0dbfs/4, 440, 0
           out         aSin
endin


i 123 0.00 0.1
i 123 0.25  0.1
i 123 0.50 0.1
i 123 0.75 0.1
e 1





--
View this message in context: http://csound.1045644.n5.nabble.com/Control-rate-affects-score-timing-tp5755637.html
Sent from the Csound - General mailing list archive at Nabble.com.

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

Date2017-04-16 11:35
FromJohn ff
SubjectRe: Control rate affects score timing
If krate is small like 10 you are only allowing events at. 1/10sec intervals.  So you 0.25 gets rounded.  Use --sample-accurate to overcome.

Sent from TypeApp
On 16 Apr 2017, at 11:15, sjakops <sorenkj@GMAIL.COM> wrote:
It was somewhat confusing for me to learn that the control rate affects the
timing of the score - I wonder if that is a bug, or if there is some
'natural explanation'?

<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>
sr = 44100
kr = 10 ;low values make the timing of the score very inaccurate
instr 123
aSin oscils 0dbfs/4, 440, 0
out aSin
endin
</CsInstruments>
<CsScore>
i 123 0.00 0.1
i 123 0.25 0.1
i 123 0.50 0.1
i 123 0.75 0.1
e 1
</CsScore>
</CsoundSynthesizer>



--
View this message in context: http://csound.1045644.n5.nabble.com/Control-rate-affects-score-timing-tp5755637.html
Sent from the Csound - General mailing list archive at Nabble.com.

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

Date2017-04-17 16:22
Fromsjakops
SubjectRe: Control rate affects score timing
I see, thanks for the info!
Best regards,
Søren



--
View this message in context: http://csound.1045644.n5.nabble.com/Control-rate-affects-score-timing-tp5755637p5755647.html
Sent from the Csound - General mailing list archive at Nabble.com.

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