Page 2 of 2

Re: Really fast (50x) playback speed possible?

Posted: Thu Sep 15, 2011 1:32 am
by Edgar
steve wrote:
ttcheng wrote:Should I think about modifying the transcription toolbar and playback speed code?
That's one of the beauties of open source software. If you know a bit about programming you're free to modify it to suit your own requirements.
Unfortunately I don't think that I'll be able to help with that as I'm not a programmer
I am something of a programmer and have made this modification to my local version of Audacity. You only need to make a tiny change in the code:
srcwidgetsASlider.cpp at or near line #394

Code: Select all

line 364: void LWSlider::SetStyle(int style)
{
  [...]
   case SPEED_SLIDER:
      mMinValue = SPEED_MIN;
line 394:      mMaxValue = 8.0f;//efm5 I like more available speed;
      mStepValue = STEP_CONTINUOUS;
      break;
[...]
you would want line 394 to read:

Code: Select all

      mMaxValue = 50.0f;

Re: Really fast (50x) playback speed possible?

Posted: Thu Sep 15, 2011 5:48 pm
by Gale Andrews
Edgar wrote:you would want line 394 to read:

Code: Select all

      mMaxValue = 50.0f;
Did anyone test if that worked? Libsamplerate (typically used in Linux distributions) allows 256x resampling, but I don't know about libresample which Windows builds will be using. If the sample rate change allowed by the resampling library is exceeded, Audacity will probably crash.


Gale

Re: Really fast (50x) playback speed possible?

Posted: Thu Sep 15, 2011 8:32 pm
by Edgar
Gale Andrews wrote:Did anyone test if that worked?
As Steve notes the max speed possible will depend on various factors. 50.0f works fine on my Win7 SP1 64-bit 3+gHz quad-core machine with 8gB RAM--YMMV <grin>.

Re: Really fast (50x) playback speed possible?

Posted: Fri Sep 16, 2011 1:38 pm
by ttcheng
Thanks so much for your help, especially the code snippet! I'll give that a try.

Tom