faster PlayAtSpeed

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
Edgar
Forum Crew
Posts: 2042
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

faster PlayAtSpeed

Post by Edgar » Mon Aug 09, 2010 5:50 pm

Currently the transcription toolbar function PlayAtSpeed has a maximum value of 3X. My editing deck allows much higher multiples, I am used to searching raw data for "non-music" (speech etc.) and can recognize the difference at speeds between 7X and 10X.

If we look at the source code, AudacitySVNsrcwidgetsASlider.cpp, at or near line number 399:

Code: Select all

   case SPEED_SLIDER:
      minValue = 0.01f;
      //maxValue = 3.0f;
      maxValue = 20.0f;
      stepValue = STEP_CONTINUOUS;
      break;
We see that changing maxValue from 3 to 20 seems to do the trick. I tested this and it seems to work just fine although speeds above 10X appear to be useless for my purposes.
-Edgar
running Audacity personally customized 2.0.6 daily in a professional audio studio
occasionally using current Audacity alpha for testing and support situations
64-bit Windows Pro 10

waxcylinder
Forum Staff
Posts: 14580
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: faster PlayAtSpeed

Post by waxcylinder » Tue Sep 07, 2010 3:51 pm

Posting moved to Audio processing to retain the code - gist moved to Pending FRs on the Wiki

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

Post Reply