Re: Combining sound files



tedd wrote:
I'll investigate what you suggest.

I definitely think it's the right way to go. sox can also convert from
mp3 to wav etc. as per Clive's suggestions too, so if you can use lame
from the command line via PHP, there is no reason not to just use sox
instead.

It was by accident that I found one could combine mp3 files in such a
manner. I combined many more than just two. Somehow, the redundant
headers in the resultant file are not noticeably detrimental to the
overall assembled sound. Go figure.

This is a result of the frame based approach to the file format.

As a nifty trick I've told to people before you can take several MPEG
video files that have been split from a single recorded source, such
that they are all the same resolution/bit rate etc. Put all the files
one by one into a .zip file (e.g. via winzip etc,) with zero
compression. Take the resultant .zip file and rename it to .mpeg and
play it as usual et viola, uninterrupted video!!! Same applies to mp3
hence how your trick works. The players will just skip past the
inappropriate frames quite happily (tho' like i say, it may be more
problematic WRT differing bit-rates/channels etc.).

Col
.



Relevant Pages

  • Re: FFmpeg 1.10 and Murnong 1.50 released
    ... first convert them to an MPEG format. ... no video, not an MP3. ... with a lot of manuals - it's probably written by ...
    (comp.sys.acorn.apps)
  • Re: Wartung, CD-Spieler
    ... Es ist nicht notwendigerweise so, dass die MPEG codierten Signale immer schlechter beurteilt werden als das Original - das entscheidende ist, dass praktisch immer ein Unterschied hoerbar ist. ... Neben der Stereoproblematik fehlen im c't Test Stuecke mit Frauenstimmen (Tori Amos, Loreena McKennitt oder Sarah McLachlan bringen MP3 Encoder ziemlich schnell an ihren Grenzen). ... Auf der mehr subjektiven Schiene, ist es meiner Erfahrung nach so, dass die meisten Leute mp3 als in der Laenge als ermuedend empfinden. ...
    (de.sci.electronics)
  • Re: [SLE] How to play sound from the command line?
    ... On my system I ran "sox -h" to show the supported file formats. ... .mp3 MP3 Compressed Audio ... MP3 audio files come from the MPEG standards for audio ...
    (SuSE)
  • How to convert MPEG, AVI to MP3
    ... How to convert MPEG, AVI to MP3 ... video format of MPEG-1 was used to store movies on CDs, ... Follow the steps below to convert MPEG, ...
    (microsoft.public.windowsxp.general)
  • Re: Audio Buffers
    ... Mike Rivers wrote: ... Video files follow video frames, not audio crossfades. ... edit an MP3 file, since MP3s use the same sort of frame-based system that video files use. ...
    (rec.audio.pro)