From: DeRobyJ <de...@gm...> - 2014-11-26 20:49:06
|
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 |