1065 points · by app4soft · 5y ago · 219 comments
Audacity may had some quirks over the years but it's still one of the most (if not the most) accessible tool for audio editing by non-professionals with an adequate feature set. It's used by community radio stations all over the world since it's easy to teach and cross-platform while being free.
But hey, UI is hard and audio processing UIs are probably harder than most.
I'm super interested in the UI design of really complex applications (like Audacity, or Photoshop, etc.). I would adore some kind of writeup on y'all's design process whenever you towards the end!
(Obviously a big ask for someone already doing a bunch of work for free, pls feel free to ignore me; just saying that I'd be interested :D)
To give a concrete example: suppose I want to apply noise cancellation (something very few free audio tools provide I must add, and a really cool feature of Audacity):
- You select your track
- You go in Effect, you skim through the long (alphabetized) list to find "Noise reduction"
- You realize that you forgot to generate your noise profile, so you close the pop up because you can't reselect when the pop up is active
- You select your noise reference
- You return to Effect, skim through the long (alphabetized) list again, find noise reduction again
- You tell it to use the selected audio as noise reference.
- You close the window
- You select the entire audio again
- You return to Effect, skim through the long (alphabetized) list again, find noise reduction again
- You can tweak the various reduction parameters, then you can click "preview" again which pops a 2nd window up with a rudimentary audio player that doesn't let you do anything besides listening to the selected audio from the start. You can't focus on a particular zone or anything. If you want to do that you have to apply the noise reduction, close the module, return to the main window, listen to your track on the proper timeline then undo the reduction and return to Effects, skim through the long (alphabetized) list etc...
If there's a better way to do any of this I haven't found it.
I don't want to really to be too hard on Audacity, I'm genuinely thankful for its existence, but it's not a good example of UI done right IMO.
I like minimalism in UI, but I think it works best when it's flexible and composable (like Vim commands for instance). Audacity UI's is neither, it's just a long series of ad-hoc modules.
SoundForge was fantastic. Now I just do everything in Reaper. Both non-free of course, but Reaper is really cheap and works everywhere and does so much more than just audio editing.
Edit: the love Audacity is getting in the comments inspires respect! There is obviously something that I missed...
I gave up every time I tried to use it because the UI was fugly to the point of being distracting.
> If I was a rich philanthropist I'd throw them some money to gut the core of the software and rebuild a decent user interface around it.
Unless I’m misremembering the software, years ago (a decade?) I planned on doing the next best thing and work on a new icon and UI for them, but soon found an official page which said they weren’t interested in such contributions. The page existed because people kept offering.
There’s another commenter on this thread who’s working with them on a redesign, so I’m glad they changed their minds.
https://www.blackmagicdesign.com/products/davinciresolve/fai...
Audacity, VLC, Blender, KeePass, Inkscape, OBS, etc (there's many more but those are the ones I use regularly). Programs that have been around forever, are used by millions every day, and yet continue to do it (and do it damn well) just because they want to.
For the clients, 2.x uses KDBX files, but is also compatible with the older KDB files, while 1.x can only use the older KDB files.
To me, plugins are something that provides additional functionality to the native abilities of the program.
When I was working in college radio we used to build quick liners and sweeps in Audacity instead of loading up the heavier programs (I can't remember what they were now actually - maybe Nexgen?) for editing and mixing.
Baby Mode - I know this has a history of sucking, but a lot of audacities UI complaints are from users who need one small thing once in a while.
Less "G" in the GUI. Audacity is a whole bunch of hard to group commands. Maybe they should just bite the bullet, and incorporate some 80s-ish text navigation UI elements. People are googling "how do I X" anyway.
(& github: https://github.com/1j01/jspaint )
The genius of the application is that it does not try to be more than a waveform editor. Oftentimes, no matter if you are new to audio production or a veteran audio technician, you just need to edit some sound, and Audacity lets you get it done in a easy enough way for newbies, and in a complex enough way for veterans.
Maintainers of projects like these should carry themselves with pride. Projects that stand the test of time and continue to deliver exactly what you needed is what makes the IT-world go around.
Its great to have an array of these tools provided for free
Well done.
I've recorded 70+ episodes of the Running in Production podcast[0] and to get the highest quality audio I can for the show I ask guests to locally record their side of the conversation with Audacity while I do the same on my end. Then we talk in real-time over Zoom to have the actual conversation.
Out of 70+ episodes there hasn't been a single case where something went wrong due to Audacity. These are shows where we're continuously recording for 60-90 minutes too.
All I ended up doing was write up a quick guide. Basically how to download it, making sure your "good" mic is selected and doing a test recording. No one has ever complained that the process was too involved or hard to follow. Most folks get set up in less than 2 minutes with no assistance and most guests have never recorded audio before.
I've also written an extensive guide for getting the best possible results with recording speech: "Voice recording and processing for talks, streaming and conferencing"[1]. Hope it can be of use.
1. https://indiscipline.github.io/post/voice-sound-reference/
That's so simple and so obvious that I'll punish myself 1000 years for not having thought about it :-)
I thought about using 1 of many online services for this but they all came with very big warnings and potential issues like audio drift (tracks get more and more out of sync as time goes on), garbled quality or worse. It ultimately boiled down to not feeling like I could trust any of these services.
---
3. Locally recording our own individual audio tracks
Programs like Zoom and Google Hangouts are great for talking in real-time but their audio quality is extremely low for a podcast.
So we'll be recording our own individual audio tracks. Basically that means you'll want to download a tool so that you can press record on your own computer, record your side of things and then be in a position to send me the exported result of that. Then I'll combine our tracks together in the end.
Don't worry, we'll do an audio test and double check things together on the call to make sure things are set up properly before we hit record.
If you're not already familiar with tools to locally record your own audio track you can try using https://www.audacityteam.org/. It's free, open source and works on all major platforms. It's a fantastic tool.
After starting Audacity there will be a drop down box near the top of the toolbar where you can select your microphone. If you have multiple microphones please make sure your best microphone is selected.
macOS and Linux users can use the defaults for everything else. If you're on Windows there is a drop down box that says MME to the left of where you pick your microphone. You should change that to Windows WASAPI to ensure you get good quality audio.
Next up you can try recording yourself a few times to get the hang of the program. You can do that by pressing the big red button. After doing so when you speak into your microphone you should see a bunch of blue bars and lines scroll across your screen. That's good! It means your microphone is picking up your voice.
You can confirm if things recorded properly by pressing stop and then playing back your recording. You should hear yourself loud and clear. If you can't then make sure your headphones or speakers are selected in the drop down box to the right of your mic.
If you want to send me a sample that would be fine, but you don't have to.
After we finish our call, it will be very important to stop the recording, save the project and then export it to both wav and mp3 files (just to be safe). You can do that by going to the File menu and then picking Save Project -> Save Project. You can save it anywhere you want.
That will ensure your recording gets saved in case something catastrophic happens while exporting the files, such as the power going out or Audacity crashing for whatever reason.
Lastly, you'll want to do a File -> Export and then choose wav. Once that finishes you'll want to do the same thing for mp3. The default settings are fine.
Keep in mind the recording will be roughly 60 minutes long when we do it for real which will take up about 400-500 MB of disk space, so make sure you have at least 1 GB of space to be safe before recording.
So Audacity helped me to learn a foreign language. Thanks!
But I can see how it will be helpful to users in general.
macOS has a really interesting feature that allows bag of files to appear like a single file to users but it’s actually just a directory and you can still access the files inside by opening it as a directory. Of course that doesn’t help for cross platform software though, as on other platforms you will still only see it as the bag of files that it really is.
I think this is what you're referring to:
https://en.wikipedia.org/wiki/Package_(macOS)
I used to have problems with running out of file descriptors on MacOS, and I recall that the maximum number was 256. I was wondering if this package abstraction could be used to work around it.
But then I checked `ulimit -a` and it looks like on Big Sur the max is now 2560. Progress!
Almost. I was actually referring to https://en.wikipedia.org/wiki/Bundle_(macOS) which is the same concept.
See also https://developer.apple.com/library/archive/documentation/Mi...
But I struggle to understand the criteria that a "package" must satisfy to qualify as a "bundle". According to your second link a bundle is "A directory with an internal structure specified by Core Foundation Bundle Services." So there's a finite list of bundle file types, maybe?
E.g.:
zsh% ls Applications/Firefox.app/Contents
CodeResources Library PkgInfo _CodeSignature
Info.plist MacOS ResourcesWhether Audacity is actually doing this, I don't know.
There's a section that references .aup files, see 2.6. BlockFiles (Audacity 3.0.0 introduces the .aup3 file format)
The most memorable parts of this to me was wXWidgets. Here's ShuttleGUI:
https://github.com/audacity/audacity/blob/master/src/Shuttle...
[0] https://en.flossmanuals.net/audacity/_full/
[1] https://en.flossmanuals.net/audacity/_info/
[PDF] https://flossmanuals.net/pub/audacity-en-2018.02.pdf
[EPub] https://flossmanuals.net/pub/audacity-en-2018.02.epub
Audacity 2.2.0 Released - https://news.ycombinator.com/item?id=15621681 - Nov 2017 (146 comments)
The Future of Audacity, Interview with the Team - https://news.ycombinator.com/item?id=9392035 - April 2015 (28 comments)
Removing background noise in Audacity by differencing stereo channels - https://news.ycombinator.com/item?id=6158058 - Aug 2013 (13 comments)
Audacity 2.0 Released - https://news.ycombinator.com/item?id=3714766 - March 2012 (63 comments)
Learning a new language with Audacity - https://news.ycombinator.com/item?id=2962284 - Sept 2011 (9 comments)
> The Blender & Audacity add-on playing both apps in sync - without Jack - so you can edit sound in Audacity and using Blender as video player
[0] https://github.com/tin2tin/audacity_tools_for_blender/
[1] https://twitter.com/tintwotin/status/1371885605735530500
Overall, it looks like it might be a great performance boost when working with highly edited fragments and at worst a slight performance degradation for large unedited tracks.
Thanks Audacity, for an excellent tool!
I just absolutely love this sentiment! It gives me so much faith in their organisation.
So I did another recording to determine the frequency & bit depth, and then opened the dd disk image with those settings. It was pretty obvious from the waveform image which parts of the drive had the recording, and it was perfect.
Interestingly, I got those settings completely wrong at the start, and I could still tell it was music by listening to it, it was just very corrupted sounding!
I had never used a sound manipulation software before, but within 2h (including downloading and installing the software) I was able to import all the files (It was not intuitive, I had to search a bit), cut stuff, put a bit of a piano stuff he played with fade in/out effect and create a nice 2 minute mp3.
I was blown away by the final quality for so little work.
Eric S. Raymond considered Audacity a great example of Linux UI design in "The Art of Unix Programming" [1].
I do, however, think mhwaveedit [2] deserves more attention. A really well thought out UI; excellent for small edits on Linux. It was also a direct inspiration for the writer of the mtpaint graphics editor [3].
0: https://forum.audacityteam.org/viewtopic.php?t=39688#p102880
1: http://www.catb.org/esr/writings/taoup/html/ch06s01.html#aud...
I prefer AzPainter[0] instead of mtPaint.
These performance issues motivated me to build https://wavtool.com. It's faster for basic recording and navigation, and runs entirely in the browser. It also has a code editor built in, and a bunch of community-made audio effects written in JS.
25 years ago it was reasonable to argue that you just couldn't afford the performance cost of calculating and displaying even a halfway accurate approximation, but that's a pretty weak argument today.
Stairstep displays reinforce a bunch of erroneous beliefs about digital audio. There are of course some great material like https://wiki.xiph.org/Videos/Digital_Show_and_Tell to debunk those beliefs, but they'd be less likely to arise if all the tooling people used didn't implicitly reinforce them.
Did they fix that any time since? Sadly I would guess not.
I found https://thewelltemperedcomputer.com/KB/SRC.htm to be interesting. Near the bottom, it has sinc-interpolated visualizations of discrete-time signals (though saying that resampling is bad, because of a Nyquist-frequency signal not surviving an upsample and downsample, is misleading). What program is that?
Frankly, that approximation would be wrong in many cases, and would very significantly complicate the visual presentation as well as impact UX.
There is a lot of work here. Actual gains are marginal, risks quite high.
Those steps are the data being manipulated.
Displaying the product of the data only would be confusing in another direction.
So, both would be required.
That is where all the work is, and in terms of priority the case for this kind of thing is super weak, IMHO.
Seems to me you are framing this as a fix when it is not actually a problem.
It is an enhancement request.
While I agree with you, and learned about these things myself! I felt much better about a lot of concerns, but I must also say I find very little utility in a computed visualization of this kind.
It would be spiffy, but would add almost no real value.
A stairstep isn't "the actual data". The actual data is a series of impulses. While it is possible that somewhere inside a component of your hardware there's a DAC which is creating zero order hold signals to feed into a reconstruction filter as one cheap way to make the PCM data into analogue audio, Audacity has no way to know that and there's no reason either Audacity or its user should care.
> Frankly, that approximation would be wrong in many cases
You could easily plot a curve that's more accurate than the user's display. You can't see inaccuracies that are smaller than a pixel. There's already suitable code for this calculation (it's called a resampler) inside Audacity.
> Those steps are the data being manipulated.
Again nope, you're manipulating PCM data, an Excel-style view of lists of signed integers would be much closer to "the data being manipulated" in this sense but you presumably don't think that's a good idea.
Your apparent confusion as to what's real here despite having "learned about these things" is exactly why I was pleased to see in the other reply that Audacity now shows lollipop sticks illustrating the actual impulses once you zoom in far enough to see them.
If lollipops are the thing we're showing most users for the next twenty years I have my hopes that conversations like this will become no more necessary than arguing with Flat Earthers.
Which is it?
There was an input signal. Those samples will reproduce it. (Assuming an input matched to the sampling capability under discussion.)
That is what the video you linked tells people.
I am definitely one of the people, and have shared that exact one many times.
Showing people the input waveform makes sense. Overlaying it with the data captured also makes sense.
An approximation does not make sense.
Can we show them the input signal that generated the data easily? If so, great. Let us do that.
What I meant by "real data" is that list of integers. That is what is in the machine.
We both know that is not what comes out, nor what came in, nor what people hear.
Personally, I have always evaluated that by actually listening, or using my scope, same way that engineer did in the pretty great video you linked.
Congrats audaciteam!
Disclaimer: I was a contributor a long time ago to the noise filter effect.
Avidemux is nice, but I can hardly add text or do simple effect with it, maybe with some scripting?
The new windows video editor is pretty good too, but features are quite limited.
I have some nice ideas for /r/highqualitygifs but I really don't want to use a professional video editor.
There are libraries to decode and render video with sfml and sdl, and i guess I could easily build a tailored editor myself with adequate ffmpeg commands...
Very intuitive GUI and easy to learn and to teach to others.
I was able to teach a musician friend of mine to be able to lay tracks, edit and splice in about 20 minutes even though had very little technical abilities.
Sometimes too much is a bad thing.
Trying to learn something like Pro Tools as a beginner is enough to scare someone away from digital recording/editing
It's such a great tool for editing bits of audio fast. I think the UI is fine for what it does to be honest .
Is there not a "safer" way in 2021?
My turn: Creative WaveStudio (came with some of the original Sound Blaster cards back in the Win3.1 days) and n-Track Studio
Personally I only need pretty basic wave editing and am happy with OcenAudio (https://ocenaudio.com - free but closed source), it’s the closest thing I’ve found to Cool Edit 2000 (which I still think is the best wave editor ever!) and has quite a nice UI.
It took me some time to remember to avoid it.
I do luvs me Audacity, though.
Good show!
[0] https://twitter.com/FossTorrents/status/1372176177708818433
This is good news indeed. Previous versions of Audacity are so buggy that they're barely usable. Version 2.4.2 crashed more often than not when I used it.
I've used Audacity from time to time over the past 15 years or so. I've had so many bad experiences with it that I try to use alternatives whenever reasonable. I've used it on Macintosh, Windows, and Linux on different hardware configurations. It's the only piece of software that has ever physically hurt me, to my knowledge (on some platforms it adjusts system volume without warning).
It's been buggy as hell and I've had some profoundly negative experiences using it.