magnush / mhwaveedit

Sound file editor (written in C using the GTK+ toolkit)
GNU General Public License v2.0
41 stars 8 forks source link

Better channel editing (delay, reposition, multiple clips) #9

Open daf0x opened 6 years ago

daf0x commented 6 years ago

It would be very useful to be able to have multiple sound clips per channel, and visually drag sound clips around in order to reposition them. E.g. to drag & drop a sound clip between channels, or to change the position of one sound clip relative to another. For example like this: https://i.ytimg.com/vi/l58b45a-gB0/maxresdefault.jpg

Practical use case: I have two audio channels that are out of sync by ~0.035 seconds, and I'm trying to align them to get rid of the echo.

magnush commented 6 years ago

Hi!

For your use case of fixing two misaligned channels, there is a way to do it currently in mhwaveedit:

  1. Open the file
  2. Do "Select all", "paste as new". Now you have two copies of the file in separate windows.
  3. On each of the two windows, you do "Effects/Map channels" to reduce the number of channels to 1. On the first window with the original you select to keep the left channel, the other to keep the right channel. Now you have two windows, one with each channel separated
  4. Set a marker with "Ctrl+1" at a specific point in each file that should be synchronized, like at a specific sound of whatever.
  5. Now take the window with the left channel, do "Add channels from other file..", select the other window in the "Add channels from" dropdown box, select "Align at marger" and type 1 in the box next to it.

You could maybe do some other multi-track things with similar techniques (editing each channel separately and then adding together), however this program will never be a full feature multitrack editor and if that's your main usage then maybe some other application is a better fit for you.

daf0x commented 6 years ago

Thanks, I'll try that next time. Is that method sample accurate (from your description I think it would be?).

I'm a bit sad to hear that mhwaveedit won't support multi-track editing because I really like how small, fast, and simple it is.

wdlkmpx commented 4 years ago

Open source is about contributing, the original author is not always the one who keeps the project alive forever... the code base is quite old.

For other people to contribute I think the code base should be updated to at least gtk2.24 / glib 2.32 (2011): remove all gtk1 code, update the build system. Remove all gtk2 deprecated widgets (replace with other widgets 2.24) for a possible gtk3 port (hidpi, wayland)... I can help setting up the scene, updating some stuff, but not really changing anything that has to do with audio processing.