/u/JorgeOKNOTOK please don't do this. You should never re-encode MP3 to FLAC; people are just going to re-re-encode the FLAC files to MP3 again, degrading the quality.
If you're going to distribute these, you need to use dedicated MP3 splitting software that splits on frame boundaries without re-encoding the file. And, not to be a dick, but if you don't know what that means, you are not the right person to be doing this project.
http://mpesch3.de1.cc/ is one.
http://mp3splt.sourceforge.net/mp3splt_page/home.php is another.
No you don't need a better tool, you need a better work flow.
A) Cut that shit into sections with sox or some other tool like this one that I haven't tried http://mp3splt.sourceforge.net/mp3splt_page/home.php
B) Now that you have 24 half hour mp3z go back to Audacity (my favorite, but I hear good things about Sweep) and analyze the chunks.
Nothing really supports "editing" .mp3 That's like saying "let me work on this document that's zipped without unzipping it". A program can make that transparent (like photo editors do with jpgs), but that's what Audacity is trying to do while it converts your giant mp3. Just, well, a 12 hour audio file is gonna decompress into a gigantic tsunami godzilla size wav!
Yeah, I like them cut into chapters or something smaller than 1 big file as well. Unfortunately, if that's what you got, you have 2 options:
Cut them up manually (ugh, right? ) with a audio editor like Audacity (freeware).
Use MP3 split. Good: Fast, easy. Bad: May cut a word in half. you pick what length of audio track you want (5 min, 20 min, etc.)
So yeah, no good options. No program that can autodetect chapters and splice it correctly right there and then zero pad number the files and what not.
I use mp3splt (http://mp3splt.sourceforge.net/mp3splt_page/home.php) to chop long mp3's into 10-minute chapters. I then use CopyInOrder (https://download.cnet.com/CopyInOrder/3000-2094_4-204676.html) to copy files onto a stick so that they play in the correct order. Hth
If it's an mp3 file, try mp3split because that works without reencoding the audio. Originally for Windows but now MacOS and Linux are supported, too.
Oh, and apparently it can handle OGG and FLAC too. Everything but M4A/AAC, apparently.
You could use mp3splt to split your audio files into equal snippets of a few seconds.
save the filenames in a csv file to get a list like this:
Song1_file1.mp3 Song1_file2.mp3 Song1_file3.mp3 Song2_file1.mp3 ...
wrap the filenames in the csv file with a sound tag, so that you have a list of:
[sound:Song1_file1.mp3] [sound:Song1_file2.mp3] [sound:Song1_file3.ogg] [sound:Song2_file1.mp3] ...
On Linux I would do this with sed, I don't know about Windows (edit: you could also do this after the file import with the search and replace feature whithin Anki's browser)
Throw the audio files into your Anki media folder and import the csv file into Anki to create all cards automatically.
If the silence is perfect or sufficiently-close to perfect, this StackOverflow answer might also be useful if you don't feel like doing this manually with Audacity.
Basically, the command to run would be:
sox inputfile.mp3 outputfile.mp3 silence 1 0.1 0.1% reverse silence 1 0.1 0.1% reverse
Where inputfile.mp3
is the file you're editing and outputfile.mp3
is where you want to stick the file. You'll need to install sox
if it's not installed already.
If you don't want to decode and reencode the file when doing this (i.e. you're concerned about the effects of lossy recompression on quality), you could also use mp3splt, which has a -r
option that trims silence without having to lossily reencode things.
FYI the mp3's that are downloaded are wrapped with Mp3Wrap. In order to see proper tags and album art you need to use a tool to unwrap it. It is fairly technical, but first you install mp3splt from http://mp3splt.sourceforge.net/mp3splt_page/home.php. Then run the command mp3splt -w MP3_FILE.
Hope that helps
Normalization is something that is easy. If the pauses are long enough you could use an app designed for splitting LP recordings into tracks. Google is your friend, you really should GOOGLE FIRST ask questions later. In less time then it would have taken to write this post I found the answers
Two googles later First google "Linux audio normalize", first result.
Second google "Linux split audio on silence" ,first two results
http://wiki.audacityteam.org/wiki/Splitting_recordings_into_separate_tracks
OR
http://mp3splt.sourceforge.net/mp3splt_page/home.php
Both do silence splitting.
No, you don't need to use lame.
In fact, you don't even need to re-encode to convert from VBR to CBR. mp3packer can be used with the -b switch to pad files to a CBR bitrate. (Read as: waste your bandwidth. You really should switch to using a player that isn't, as a troll would say, made of fail.)
For cropping the files to a specific length, see mp3splt.
http://mp3splt.sourceforge.net/mp3splt_page/home.php
mp3split is what I use. Free, available for any OS, works with a number of formats, dead simple and fast. It has a ton of options for splitting but I keep it simple and just tell it to split by every 10 minutes. It will pop out 40-50 mp3s with the time stamp in the names in less than 5 seconds.
I'd use ffmpeg to concatenate the files into one using -c:a copy
to prevent any resampling then use mp3splt to split them out into the various sets.
Just as a style-guideline, I'm having the files start right after the NTS ident so you don't have to listen to it before getting into the set.
I wouldn't do that. You can use this: http://mp3splt.sourceforge.net/mp3splt_page/home.php it supports FLAC files.
You should download the CUE files that already exist from the doc. I'll send them to you if you don't have them.
mp3splt is a good way to do things like this, so it's something you might want to look into in the future. It can do cool things like automatically cut a longer file into separate files based on where it detects silence. I wrote an ffmpeg
-based bash script that worked similar to /u/Schreq's answer, but I don't really use it anymore.
I have had chronic insomnia for more than 40 years.
What worked (for me) 100% was 1/4 to 1/2 Zopiclone. I'd start off with 1/4, and if I wasn't asleep in an hour take another 1/4. I would only have to do this for a few days in a row, then be able to sleep without it another few days. Some people experience side-effects and it's apparently addicting, but I never had any problems.
What I use now -- and have been for the last 15 years -- is listening to audiobooks while falling asleep. I'm out in 5-10 minutes, 20 minutes at the most. I chop the audiobook files into 5 or 6 minute tracks (using mp3split) and have my MP3 player set to stop at the end of a track. I keep the player in my hand and if the track ends I press play. When I wake up in the middle of the night (happens several times), I feel around for the player and stuff the earbud back in my ear (I cut the other earbud off) and press play again.
However they don't make the mp3 player I use any more (Muvo) which was small, ran off one AAA battery (so didn't have to worry about running out of power), and had buttons that didn't need to be looked at to use. Also sleeping with earbuds on is very hard on the earbuds -- prepare to go through a set every couple weeks. I get them from the dollar store. Smaller sizes that tend to fall out of your ear when walking work best (minimal discomfort).
To replace this setup (which will end when my player breaks), I'm working on a system using a bluetooth button to resume playback from an Android tablet or smartphone, but it's not working perfectly yet. Some audiobook players have a feature that pauses the audiobook every 5 minutes and you have to move the device to continue, but I'm afraid of destroying the audio socket (hence the bluetooth button).
Also you might find mp3splt (gtk) useful, simple players often don't have fastforward/rewind buttons so splitting the file into short tracks allows you to navigate it using next/previous song buttons
Since you've given us no indication which OS and version you use, I'll just assume you use the exact same OS software I use.
Try mp3splt-gtk. It preserves quality by avoiding re-encoding. It's in the universe repo.
To concatenate two MP3 files use mp3wrap -- also in the repository.