Code that deals with time range selection of a track?

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
bullyellis
Posts: 8
Joined: Tue Apr 10, 2012 5:50 pm
Operating System: Please select

Code that deals with time range selection of a track?

Post by bullyellis » Wed Apr 11, 2012 4:57 pm

Hello,

I am a competent C# programmer and have been mucking around with the source code of Audacity. Unfortunately, I am new to C/C++ and am having trouble locating specific "parts" of the program.

After I have imported some audio and am presented with the different "Tracks" and "TrackPanel"s (made it that far, haha) where can I find the relevant code that deals with when you select a time range within a Track using the mouse by clicking and dragging?

Where can I find the code that deals with when you select a time range on the "AdornedRulerPanel" (I think)?

Thanks in advance.

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

Re: Code that deals with time range selection of a track?

Post by steve » Wed Apr 11, 2012 5:40 pm

I'm not a C programmer (any flavour), but here are some links that you may find helpful:
http://wiki.audacityteam.org/wiki/ArchitecturalDesign
http://www.aosabook.org/en/audacity.html
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

bullyellis
Posts: 8
Joined: Tue Apr 10, 2012 5:50 pm
Operating System: Please select

Re: Code that deals with time range selection of a track?

Post by bullyellis » Fri Apr 13, 2012 5:49 pm

Thanks!

This is exactly what I was looking for!

Post Reply