Csound Csound-dev Csound-tekno Search About

Applying external effects on certain measures

Date2017-07-13 12:47
FromRichard
SubjectApplying external effects on certain measures

Say I'm using a program writing OSC data to Csound to change some settings and I want to apply this on certain measures.
I guess the only option to keep track of what bar/beat is currently playing is the API function csoundGetScoreOffsetSeconds?

And then calculate from this knowing the tempo?

Richard


Date2017-07-14 19:00
Fromzappfinger
SubjectRe: Applying external effects on certain measures
Anyone? Also, how do I get the tempo with the API?
There does not seem to be a function for this...

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/Csnd-Applying-external-effects-on-certain-measures-tp5757184p5757229.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-07-14 20:40
FromTarmo Johannes
SubjectRe: Applying external effects on certain measures
Hi,

If you use tempo ramps (accelerando or ritenuto), computing the time in seconds is tricky.
If your music is organised in bars, can you use perhaps a channel where some instrument sets the bar number or some other kind of flag that the host can read and react to?

Tarmo

14.07.2017 21:00 kirjutas kuupäeval "zappfinger" <zappfinger@gmail.com>:
Anyone? Also, how do I get the tempo with the API?
There does not seem to be a function for this...

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/Csnd-Applying-external-effects-on-certain-measures-tp5757184p5757229.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
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-07-15 10:28
FromRichard
SubjectRe: Applying external effects on certain measures

In my poppy songs I hardly use tempo changes, so that should be no problem. But thanks for the idea of sending bar info from the score..

Richard


On 14/07/17 21:40, Tarmo Johannes wrote:
Hi,

If you use tempo ramps (accelerando or ritenuto), computing the time in seconds is tricky.
If your music is organised in bars, can you use perhaps a channel where some instrument sets the bar number or some other kind of flag that the host can read and react to?

Tarmo

14.07.2017 21:00 kirjutas kuupäeval "zappfinger" <zappfinger@gmail.com>:
Anyone? Also, how do I get the tempo with the API?
There does not seem to be a function for this...

Richard



--
View this message in context: http://csound.1045644.n5.nabble.com/Csnd-Applying-external-effects-on-certain-measures-tp5757184p5757229.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
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