Re: how do i chop wav files with sox

2001-04-07 Thread Carel Fellinger
On Fri, Apr 06, 2001 at 04:29:34PM +0100, David Wright wrote:
 Quoting Carel Fellinger ([EMAIL PROTECTED]):
 
  To me a track is (in the context of burning cd's) the entity that is
  burned on a cd in TrackAtOnce (TAO) mode.  The CD-standard prescribes
  two second pauses in between those tracks.  There are some writers
  that can produce gaps of different length (even 0), but not many.
 
 Yes, but you are supposed to be able to eliminate the gaps by
 recording in DAO mode (disc-at-once), and I think the fiddle is
 that the track indicator is put into the previous track two seconds
 before the end.

Are you talking of pre-gaps here?  They are not prescribed.  Bear with
me if I'm a little to verbose, and let me ramble on a little more:

When you burn in TAO-mode, the burner _itself_ adds two seconds gaps
between the blurbs it has to burn, as prescribed by the standard.  But
there are some burners that allow you to specify the length of this
automatically added gap, and some of those even allow for a zero
lengthed gap.

The blurbs written in TAO may all be composed of several wav-files.
For each blurb all the wav-files it contains are concatenated and
burned as if it were one big wav-file.

DAO is quit a different beast.  It writes only one big blurb to disc.
If you specify to write several wav-files (audio-tracks) then all of
those wav-files are simply concatenated and burned to disc as if it
where one big wav-file.  So actually DAO resembles TAO for one track.


And for both modes the TOC (generated by the burning software) tells
were the audio-tracks are located on disc.  In DAO it's quit costumary
to have several TOC entries pointing into the one blurb written, but
nothing stops you from doing the same in TAO (if the software allows
it, that is.)  In the end it's up to the burning software what gets
written into the TOC; it specifies the automatically generated gaps
in TAO mode as pre-gaps, but there is no need to specify pre-gaps
otherwise.

But then, there are some old players, who misinterpreted the standard
and (try to) add silence gaps in between all TOC entries:(

All the above is as I recall to have read somewhere, so...

...
 You may be saying the same thing.

maybe, but I'm in a verbose mode today, so I rambled on:)

...
 Fair enough. I thought you were talking about the second level of
 audio index points, within the audio tracks.

Ah, second level indexes, not many a player can cope with those.

 BTW when splitting wav files, Jake, it's important to make sure they're
 broken at 2352-byte boundaries so you don't get gaps between them.

Good Advice, as some burners choke on inappropriate sized blurbs!

-- 
groetjes, carel



Re: how do i chop wav files with sox

2001-04-06 Thread David Wright
Quoting Carel Fellinger ([EMAIL PROTECTED]):

 To me a track is (in the context of burning cd's) the entity that is
 burned on a cd in TrackAtOnce (TAO) mode.  The CD-standard prescribes
 two second pauses in between those tracks.  There are some writers
 that can produce gaps of different length (even 0), but not many.

Yes, but you are supposed to be able to eliminate the gaps by
recording in DAO mode (disc-at-once), and I think the fiddle is
that the track indicator is put into the previous track two seconds
before the end.

 When burning such a track it is quite feasable to combine several wave
 files on the fly to fill that one track without any pause in between
 those wav files.  Normally, for each track an entry is added to the
 TOC (table of contents, located at the beginning of the cd prior to
 any track).  But there is nothing stopping you from adding top-level
 indices to the TOC that point inside those `real' tracks.

You may be saying the same thing.

 And then there is this notion of tracks when *playing* audio cd's.
 Those tracks are the parts of the cd as decribed by the top-level
 indices in the TOC.
 
 So when I advised to use indices I ment to add entries to the TOC
 such that tracks (in the context of TAO-burning) got split up
 in tracks (in the context of audio-cd playing).

Fair enough. I thought you were talking about the second level of
audio index points, within the audio tracks.

BTW when splitting wav files, Jake, it's important to make sure they're
broken at 2352-byte boundaries so you don't get gaps between them.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Re: how do i chop wav files with sox

2001-04-04 Thread David Wright
Quoting Price, Tim ([EMAIL PROTECTED]):
 xcrdao
 
 It is packaged in debian - I think it comes with the cdrdao package.
 
 You can graphically view a .wav file, choose your track points, have gaps or
 continuous play, etc.

Yes, I was going to point out to the person that suggested using
index points instead of tracks that many players can't handle them,
and that using tracks should not require any gaps. Most classical
CDs will illustrate this point.

However, just as some very early CD players would cock this up, there
are still some computer players making this mistake and inserting
silences into continuous music CDs. That's the player's fault, not the
fault of using tracks.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Re: how do i chop wav files with sox

2001-04-04 Thread Carel Fellinger
On Wed, Apr 04, 2001 at 12:42:12PM +0100, David Wright wrote:
...
 Yes, I was going to point out to the person that suggested using

I think that was me:)

 index points instead of tracks that many players can't handle them,
 and that using tracks should not require any gaps. Most classical
 CDs will illustrate this point.

not sure i understand and/or agree here. Maybe it all depends on what
you call a track?

To me a track is (in the context of burning cd's) the entity that is
burned on a cd in TrackAtOnce (TAO) mode.  The CD-standard prescribes
two second pauses in between those tracks.  There are some writers
that can produce gaps of different length (even 0), but not many.

When burning such a track it is quite feasable to combine several wave
files on the fly to fill that one track without any pause in between
those wav files.  Normally, for each track an entry is added to the
TOC (table of contents, located at the beginning of the cd prior to
any track).  But there is nothing stopping you from adding top-level
indices to the TOC that point inside those `real' tracks.

And then there is this notion of tracks when *playing* audio cd's.
Those tracks are the parts of the cd as decribed by the top-level
indices in the TOC.

So when I advised to use indices I ment to add entries to the TOC
such that tracks (in the context of TAO-burning) got split up
in tracks (in the context of audio-cd playing).

 However, just as some very early CD players would cock this up, there
 are still some computer players making this mistake and inserting
 silences into continuous music CDs. That's the player's fault, not the
 fault of using tracks.

yep. (tracks here in the context of playing audio cd's)

-- 
groetjes, carel



Re: how do i chop wav files with sox

2001-04-03 Thread Erik Steffl
Jake R. Johnson wrote:
 
 I have some really large wav files...120minutes and I would like to chop
 it into 6 single files so that i have 6 tracks on a cd.  How can i do
 this?

  gramofile (not sure about the exact spelling) might be able to do
this, it's for getting the stuff from LPs (vynil) into computer so I
guess it has some support for meanigfully (based on silence?) chopping
the long audio files. It's packaged for debian.

erik



RE: how do i chop wav files with sox

2001-04-03 Thread Price, Tim
xcrdao

It is packaged in debian - I think it comes with the cdrdao package.

You can graphically view a .wav file, choose your track points, have gaps or
continuous play, etc.

-tim

PS

Sorry all about the legal messages at the bottom of my posts. It is added on
by the (exchange) mail server at my work and I am unable to do anything
about it.

-t

 -Original Message-
 From: Erik Steffl [mailto:[EMAIL PROTECTED]
 Sent: Thursday, 29 March 2001 3:55
 To: debian-user@lists.debian.org
 Subject: Re: how do i chop wav files with sox
 
 
 Jake R. Johnson wrote:
  
  I have some really large wav files...120minutes and I would 
 like to chop
  it into 6 single files so that i have 6 tracks on a cd.  
 How can i do
  this?
 
   gramofile (not sure about the exact spelling) might be able to do
 this, it's for getting the stuff from LPs (vynil) into computer so I
 guess it has some support for meanigfully (based on silence?) chopping
 the long audio files. It's packaged for debian.
 
   erik
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact 
 [EMAIL PROTECTED]
 
CAUTION

This e-mail and any files transmitted with it are privileged and confidential 
information intended for the use of the addressee. The confidentiality and/or 
privilege in this e-mail is not waived, lost or destroyed if it has been 
transmitted to you in error. If you have received this e-mail in error you must 
(a) not disseminate, copy or take any action in reliance on it; (b) please 
notify Australia Post immediately by return e-mail to the sender; and (c) 
please delete the original e-mail.



how do i chop wav files with sox

2001-03-28 Thread Jake R. Johnson
I have some really large wav files...120minutes and I would like to chop
it into 6 single files so that i have 6 tracks on a cd.  How can i do
this?

Thanks




Re: how do i chop wav files with sox

2001-03-28 Thread Carel Fellinger
On Wed, Mar 28, 2001 at 08:18:49AM -0600, Jake R. Johnson wrote:
 I have some really large wav files...120minutes and I would like to chop
 it into 6 single files so that i have 6 tracks on a cd.  How can i do
 this?

You don't want to chop the file, that would imply burning a single wav
file split over several tracks, and this would introduce disturbing
pauses.  You're better of looking for ways to specify indici within a
single track.  I think you could use cdrecord's -index=list option to
achieve this, but I'm not sure.  You'll certainly need a wav editor to
get that list of indici.

-- 
groetjes, carel



Re: how do i chop wav files with sox

2001-03-28 Thread Andrea Vettorello
Jake R. Johnson wrote:

 I have some really large wav files...120minutes and I would like to chop
 it into 6 single files so that i have 6 tracks on a cd.  How can i do
 this?

Maybe with dd or with split, i have only used split long time ago on
Solaris, and it was useful with text file, not binary file, don't know about the
GNU version...


Andrea



Re: how do i chop wav files with sox

2001-03-28 Thread Alson van der Meulen
On Wed, Mar 28, 2001 at 09:32:16PM +0200, Andrea Vettorello wrote:
 Jake R. Johnson wrote:
 
  I have some really large wav files...120minutes and I would like to chop
  it into 6 single files so that i have 6 tracks on a cd.  How can i do
  this?
 
 Maybe with dd or with split, i have only used split long time ago on
 Solaris, and it was useful with text file, not binary file, don't know about 
 the
 GNU version...
split can handle binary files, just use -b to specify byte size. I
don't think wav will like that though, try using sox to convert them
to 'raw' first, then split, then convert to wav again. since wav needs
some header info, you can't just split them

-- 
,---.
 Name:   Alson van der Meulen  
 Personal:   [EMAIL PROTECTED]   
 School:   [EMAIL PROTECTED]
`---'
Do you really need your home directory to do any work?
-



Re: how do i chop wav files with sox

2001-03-28 Thread Ron Golan
On Wed, Mar 28, 2001 at 08:07:23PM +0200, Carel Fellinger wrote:
 On Wed, Mar 28, 2001 at 08:18:49AM -0600, Jake R. Johnson wrote:
  I have some really large wav files...120minutes and I would like to chop
  it into 6 single files so that i have 6 tracks on a cd.  How can i do
  this?
 
 You don't want to chop the file, that would imply burning a single wav
 file split over several tracks, and this would introduce disturbing
 pauses.  You're better of looking for ways to specify indici within a
 single track.  I think you could use cdrecord's -index=list option to
 achieve this, but I'm not sure.  You'll certainly need a wav editor to
 get that list of indici.

I just did this last night with cdrdao. See the cdrdao man page
section on toc files. To see a sample toc file try:

[EMAIL PROTECTED] cdrdao read-toc --device 0,5,0 --driver generic-mmc 
./toc_music_cd

and look at the toc_music_cd file. Adjust your --device and --driver
parameters to suit. 


-- 
Ron Golan
[EMAIL PROTECTED]



Re: how do i chop wav files with sox

2001-03-28 Thread Bob Wilkinson
 On Wed, Mar 28, 2001 at 08:18:49AM -0600, Jake R. Johnson wrote:
  I have some really large wav files...120minutes and I would like to chop
  it into 6 single files so that i have 6 tracks on a cd.  How can i do
  this?
 

use gramofile 

http://panic.et.tudelft.nl/~costar/gramofile/

Bob