Fractional BPM in Change Tempo effect

Effects, Recipes, Interfacing with other software, etc.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Fractional BPM in Change Tempo effect

Post by Gale Andrews » Wed Jun 19, 2013 8:43 pm

[Topic split from http://forum.audacityteam.org/viewtopic ... 63#p215663]
steve wrote:
Gale Andrews wrote:I cheat by entering the length or BPM values in Effect > Change Tempo.
The Quick Calculator is more accurate.
For example, according to "Change Tempo", from 45 to 33.3333 = -26.667 (tempo values are truncated to integers).
Oh yes I remember someone was going on that he wanted fractional BPM support in that effect (length is not truncated).

Should Change Tempo not prevent non-integer BPM input, or better, support fractional BPM?


Gale
Last edited by Gale Andrews on Fri Apr 24, 2015 4:18 pm, edited 3 times in total.
Reason: Topic split and given relevant title
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Fractional BPM in Change Tempo effect

Post by steve » Thu Jun 20, 2013 12:40 am

Gale Andrews wrote:Should Change Tempo not prevent non-integer BPM input, or better, support fractional BPM?
I've sent you a patch for fractional BPM support, though note that SoundTouch is not very accurate so allowing fractional BPM does not mean that you will be able to achieve super-accuracy in the stretch length.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Fractional BPM in Change Tempo effect

Post by Gale Andrews » Sat Jun 22, 2013 12:27 am

Thanks for the patch. It compiled on Windows, but seemed like the old behaviour, even though I removed the build directory first. I'll have to try it again.

On Ubuntu, it seems fine - a change on a second decimal place BPM affects the outcome length.

How about rounding the displayed length to three decimal places, like BPM?


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

steve
Site Admin
Posts: 80752
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Fractional BPM in Change Tempo effect

Post by steve » Sun Jun 23, 2013 9:08 pm

Gale Andrews wrote:How about rounding the displayed length to three decimal places, like BPM?
That may be implying greater accuracy than is actually achieved by SoundTouch. When applied to a 30 second audio clip the returned audio is likely to be a few milliseconds out - even hundredths of a second may be a little ambitious.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Fractional BPM in Change Tempo effect

Post by Gale Andrews » Mon Jun 24, 2013 2:30 am

It's OK now on Windows.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Post Reply