I'm creating a Mac app which needs a trim bar like the GarageBand and iMovie ones. I need a library to get the audio waves to draw them on a NSView. Anyone knows a good library for that?
I think he was referring to the track editor (cut/copy/paste/move).
Trim unwanted frames using the shortcut menu In the iMovie app on your Mac, press and hold the R key, and drag across a clip in the timeline to select the range of frames you want to keep. Control-click the clip, and choose Trim Selection from the shortcut menu. The clip is trimmed to the boundaries of the selection.
In iMovie, open your existing project from the library, or create a new one. Once you are in a project, select File, then Import Media. Find your exported project from GarageBand, and then select it. Click Import Selected to bring it to your Project Media.
In the iMovie app on your iPhone, open a movie project. In the timeline, tap the audio clip (in blue or purple) or the background music clip (in green) you want to adjust. Yellow trim handles appear. Drag the trim handles at either end of the clip to the points where you want the audio to begin and end.
There's a cool blog post on how to draw Waveforms by the author of the Capo audio editing software:
http://supermegaultragroovy.com/2009/10/06/drawing-waveforms/
I wrote Cocoa (Mac) code based on that, and it's not too hard. You can find that code here:
https://github.com/uliwitness/UKSoundWaveformView
Though it's far from a finished, shippable editor, it's under a permissive license (zlib) and could easily be used as a basis for a full editor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With