| I think this isn't quite correct, as it accumulates over time and thus
an integral calculation. I found the original thread:
http://csound.1045644.n5.nabble.com/Calculating-Seconds-to-Beats-in-TimeWarp-td1098542.html
Istvan's post explains it well I think, and his example python scripts
look like their in Nabble's archives.
On Fri, Jan 21, 2011 at 6:23 AM, Justin Smith wrote:
> The "t" statement allows for smooth change in tempo, with no need to do the
> math yourself. The math for the duration is simple: for a linear change from
> tempo a to tempo b (which is what the t statement does iirc), the total
> duration is the time taken if the tempo was a, + the time taken if the tempo
> was b, divided by 2. Of course if you have multiple accellerandos /
> decellerandos, each will need to be calculated seperately (or just use a t
> statement and there is no need to calculate any of it by hand and just see
> how long the whole thing ends up being).
>
> ----- Original message -----
>> Istvan Varga a while back helped me out with this on this list. I
>> can't find the email, but it was from April 13, 2006, according to the
>> comments I have in my code that references his post. The code I have
>> is used in blue for tempo changes at the global level as well as the
>> per-soundObject level, and can be found here:
>>
>>
>> http://bluemusic.hg.sourceforge.net/hgweb/bluemusic/blue/file/f769a822a55e/blue-core/src/blue/noteProcessor/TempoMapper.java
>>
>> Hope that helps!
>> steven
>>
>> On Thu, Jan 20, 2011 at 8:40 PM, Toby wrote:
>> > What sort of formula might I apply to a set of score
>> > events so that the otherwise evenly spaced notes will
>> > be heard as moving smoothly from tempo A to tempo B?
>> >
>> > Is there a way to calculate what the actual duration
>> > of the playback will be?
>> >
>> > Thanks!
>> >
>> > Tobiah
>> >
>> >
>> > Send bugs reports to the Sourceforge bug tracker
>> > https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> > Discussions of bugs and features can be posted here
>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> > "unsubscribe csound"
>> >
>> >
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>
>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|