All posts by Steve

Distortion Effect

Audacity includes a wide range of built-in effects, but surprisingly there is no distortion effect. Time to remedy that… Here is a simple distortion effect with 10 types of distortion. Each preset modifies the shape of the waveform in its own particular way. There is also a slider control to set the amount, or “drive”. … Continue reading Distortion Effect

Windows XP end of support: What to do next

It’s incredible that an article can be written about what options are available when XP is dead and buried, with not a single mention of other operating systems, but that is exactly what is happening in much of the mainstream press. I’m not suggesting that the likes of computerweekly are getting backhanders from Microsoft, but … Continue reading Windows XP end of support: What to do next

Are Nyquist Plug-ins slow? (Compiled vs Interpreted languages)

It is a common misconception that Audacity’s Nyquist plug-ins must be slow because they are written in an interpreted programming Language. Nyquist is an interpreted language, meaning that it runs directly from the code rather than being compiled first, but the inner loops of many DSP functions are pre-compiled in highly optimised compiled C code. … Continue reading Are Nyquist Plug-ins slow? (Compiled vs Interpreted languages)

Display time as hh:mm:ss

For a shorter display when hours [or hh:mm] are not required, set the ‘short’ parameter to 1. To display hh:mm:ss without milliseconds, set the second parameter [places] to 0. The ’round’ parameter can be set to round up, round down or round to the closest whole number of seconds. For full details of all options, … Continue reading Display time as hh:mm:ss

How to detect a sound in just a few lines of code

The basic detection method is just one short line of code: What this does is to fetch consecutive samples from the sound *track* until a sample is returned with a non-zero value. A word of caution, SND-FETCH is destructive to the audio data. If *track* will be required later in the code, use SND-COPY to … Continue reading How to detect a sound in just a few lines of code