Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search
 

Syrinx

(14,804 posts)
Tue Jan 10, 2012, 05:09 AM Jan 2012

Anyone familiar with the audio editor/recorder application Audacity?

I was using it last night to record the radio broadcast of the BCS championship game.

And I lost a good chunk of it (about six minutes or so, via the game clock), because the program seemed to spring a serious memory leak.

I did a dry-run a few days ago, just to make sure everything would work. I jacked my radio into my soundcard, tuned to the specific radio station, and recorded well over four hours of audio. The resulting WAV file was quite big, almost 3 GB, but it worked perfectly.

I did a software upgrade in the meantime (Linux Mint), but I'm not sure if Audacity was one of the programs updated.

When I noticed that Audacity had crashed, I did a "free" command, and saw that I was almost out of actual RAM, though my swap still had a lot of room.

I rebooted, and ran nothing but a terminal and Audacity. Except, of course, all the stuff that Linux Mint runs automatically, most of which I probably don't need.

I managed to get the rest of the game recorded, but it wasn't particularly easy.

I wish I had specific numbers to report, but I was busy trying to actually watch the game on ESPN.

But it seems like my RAM was being eat up at roughly the same rate that Audacity's temp "au" files were filling my "/tmp" directory.

I only have 2GB of RAM, which is pretty small by today's standards, but I can't think of any legitimate reason that recording audio should exhaust RAM like that. I had nearly a TB of free disk space.

I just checked my version of Audacity, and it says 1.3.13-beta. I'm not sure why Mint/Ubuntu would use beta software.

Anyone have any info on this problem? I could probably explain it better if I hadn't been up all night celebrating the outcome of the ball game.

BTW, if anyone has the Eli Gold broadcast from the late first quarter into the early second quarter, I would really appreciate that.

Thanks.

7 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Anyone familiar with the audio editor/recorder application Audacity? (Original Post) Syrinx Jan 2012 OP
You probably need to get the lame MP3 codec and set MP3 to be the record format. bemildred Jan 2012 #1
PS: RAM and disc space are different. bemildred Jan 2012 #2
Yeah, I know Syrinx Jan 2012 #3
Programmers do make mistakes. bemildred Jan 2012 #4
I recently switched to streamripper Confusious Jan 2012 #5
Cool, I'm going to check that out. nt bemildred Jan 2012 #6
PS: thinking about it, Audacity provides very powerful editing. bemildred Jan 2012 #7

bemildred

(90,061 posts)
1. You probably need to get the lame MP3 codec and set MP3 to be the record format.
Tue Jan 10, 2012, 10:26 AM
Jan 2012

Raw sound files get large fast.

http://lame.sourceforge.net/

I have used Audacity a good deal, and while the user interface annoys me a bit, it works well once you get the hang of it.

bemildred

(90,061 posts)
2. PS: RAM and disc space are different.
Tue Jan 10, 2012, 10:32 AM
Jan 2012

RAM is generally some small fraction of disc storage.

Think of it this way, A CD holds 6 or 7 hundred thousand bytes, say .7G, so 3 CDs worth of sound will fill up your 2 Gig of RAM, so that's 2 or 3 hours.

 

Syrinx

(14,804 posts)
3. Yeah, I know
Wed Jan 11, 2012, 02:35 AM
Jan 2012

But I don't know why Audacity would need to store the entire recording in RAM at one time, since it's being stored as files in the /tmp directory anyway. Maybe the programmers didn't think of people making recordings of four-hour long events.

bemildred

(90,061 posts)
4. Programmers do make mistakes.
Wed Jan 11, 2012, 09:43 AM
Jan 2012

But yeah, I'm guessing they didn't really think in terms of 4 hour recordings, and one is always worried about speed when doing real-time collection of data, which is what recording is.

I would probably want to break it up into smaller pieces anyway.

Confusious

(8,317 posts)
5. I recently switched to streamripper
Fri Jan 13, 2012, 03:04 AM
Jan 2012

for recording Internet audio streams. Mplayer was using 100% of one CPU.

Very light weight, it dumps audio to a file that you can listen to immediately. You might have to compile from source, though. I didn't check to see if they had packages, since I usually compile from source.

Oh, and I regularly record 3 hour blocks of audio, Saturday is 6 hours for 'Stars End.'

Oh, if you want to keep using Audacity, there might be a switch to dump the audio to file. With Mplayer it was -dumpaudio -dumpfile, audacity might have something similar.

bemildred

(90,061 posts)
7. PS: thinking about it, Audacity provides very powerful editing.
Fri Jan 13, 2012, 12:15 PM
Jan 2012

I think that is why they kept in in memory, you try to edit something big like that from disc, it's going to be too slow for interactive work. But it's true, I'm guessing.

Latest Discussions»Culture Forums»Open Source and Free Software»Anyone familiar with the ...