With AudioFileProcessor the user is able to re-use old ogg/wav files in
their new compositions, but there is one little problem: clip.
If the user doesn't want to use the whole file, but a small part, he is
able to do that, but it will mostly result in two clips: one at the
start and one at the end. This is because the selection doesn't start
from or end in a 0amp point of the wavegraph.
What the user should do now, it taking the file to audacity, make a good
selection of the file and tweak it with a little fade-in/out if
left-right channels are not in sync.
Would it be possible to create three new little buttons (one for each
selection knob) in AFP that does this actions?
- Find a point "near" to the selection point which has the lowest
amplitude, mathematically: min{ abs(leftAmpl) + abs(rightAmpl) }
the program should decide what is "near" accordingly with the
total selection length (I think "length/25" should be fine)
- If in that point total ampl is not 0, do a little fade-in (for start
point and loop point) or fade-out (for end point)
It's crucial to have undo functionality, since the result may not be
optimal, especially for short selections.
?DeRobyJ
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
LMMS-devel mailing list
LMMS-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lmms-devel