Implementing sound effects

Audio software developers forum.
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
Shai
Posts: 4
Joined: Tue May 13, 2014 10:22 pm
Operating System: Please select

Implementing sound effects

Post by Shai » Wed May 14, 2014 2:12 pm

Hello,
Recently I got into a project for which I'm supposed to implement some sound effects (like echo, delay, distorsion, flanger etc) "from scratch" within the next three weeks. I'm a second year Computer Science student and the objective is to present the resulting programs in a kind of science fair organized by my university. I've been searching and asking around for open-source projects that could guide me and I came across Audacity. Would implementing them specifically for Audacity be a good way to start? How would one go about doing so? I can code in C.

Thanks!
Shai

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

Re: Implementing sound effects

Post by steve » Wed May 14, 2014 2:32 pm

Audacity is mostly written in C++
The source code is freely available and there are basic instructions available for build it: http://wiki.audacityteam.org/wiki/Developer_Guide

Audacity is a large and complex project (over 200,000 lines of code), but you will find many examples of audio effects in /src/effects/

Alternatively, Audacity includes a scripting language called "Nyquist" which is based on LISP (XLisp). For a short project you may find that writing an effect in Nyquist is a good option. It is relatively easy to learn and has a wide range of DSP primitives which allow rapid development. See: http://forum.audacityteam.org/viewtopic ... 39&t=77214

Another option for rapid deployment could be Faust: http://faust.grame.fr/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Shai
Posts: 4
Joined: Tue May 13, 2014 10:22 pm
Operating System: Please select

Re: Implementing sound effects

Post by Shai » Sat May 17, 2014 5:58 am

Thank you very much for your reply! I will look into that shortly.

Post Reply