Really fast (50x) playback speed possible?

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.

The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

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

Post by Edgar » Thu Sep 15, 2011 1:32 am

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;

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

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

Post by Gale Andrews » Thu Sep 15, 2011 5:48 pm

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

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

Post by Edgar » Thu Sep 15, 2011 8:32 pm

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>.

ttcheng
Posts: 5
Joined: Wed Sep 14, 2011 8:58 pm
Operating System: Please select

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

Post by ttcheng » Fri Sep 16, 2011 1:38 pm

Thanks so much for your help, especially the code snippet! I'll give that a try.

Tom

Locked