Audacity's way of drawing audio signals

Audio software developers forum.

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

Audacity's way of drawing audio signals

Permanent link to this post Posted by xXArthurXx » Wed Jul 06, 2016 6:18 am

Hello,
I'm trying to find out how Audacity achieved the great performance for drawing the audio signals.
The ways to draw an audio signal I tried haven't been as fast as audacity, so I'm very interested to find out how the drawing techniques in audacity are working. Of course I know, audacity is opensource but I haven't been lucky yet and didn't find the drawing mechanism. Does anyone could give me further information about that?

PS: If this is the wrong forum for such a question I'm very sorry
xXArthurXx
 
Posts: 2
Joined: Wed Jul 06, 2016 6:12 am
Operating System: Windows 10

Re: Audacity's way of drawing audio signals

Permanent link to this post Posted by steve » Wed Jul 06, 2016 7:42 am

It's quite complex and involves caching "summary" data in RAM.
src/TrackArtist.cpp is a good place to start looking.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Senior Forum Staff
 
Posts: 43465
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux Debian

Re: Audacity's way of drawing audio signals

Permanent link to this post Posted by xXArthurXx » Wed Jul 06, 2016 8:50 am

Thanks, for the answer, I'll look into it!

I'm glad to hear, that there are better and faster ways to draw the signal. I just thought I was doing something wrong, because my performance is quite a bit behind audacity and gets really worse after I draw more than one signal at once :/

If I have any questions according the source code, is this the right place to ask for help understanding it ?
xXArthurXx
 
Posts: 2
Joined: Wed Jul 06, 2016 6:12 am
Operating System: Windows 10

Re: Audacity's way of drawing audio signals

Permanent link to this post Posted by steve » Wed Jul 06, 2016 8:55 am

It's rare for Audacity developers to visit the forum, but we will try to help as far as we can.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
steve
Senior Forum Staff
 
Posts: 43465
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux Debian


Return to General Audio Programming



Who is online

Users browsing this forum: No registered users and 1 guest