Help - Search - Members - Calendar
Full Version: Bchunk causes chirp
Hydrogenaudio Forums > CD-R and Audio Hardware > CD Hardware/Software
scooley
In looking for a way to split wav files using a cue sheet in linux, I found bchunk, which seemed like the perfect tool for the job. However, Careful listening shows that bchunk causes a faint chirping sound at the beginning of the first track. This is strange, because I would think that bchunk wouldn't have to cut the beginning of the first song. Has anybody else encountered this problem? I'm using bchunk 1.2.0, which I believe is the most current.

In the mean time, I'm actually writing each cd, then ripping it. This seems very inefficient and possibly error prone.

P.S. I wasn't sure this was the right forum for the question, but I couldn't find one that matched it better.
xmixahlx
use shntool/cuebreakpoints like:

cuebreakpoints cdimage.cue | shntool split cdimage.wav

you'll need shntool and cuetools


later
scooley
QUOTE
' date='Apr 19 2006, 05:34 PM' post='384268']
http://www.hydrogenaudio.org/forums/index....showtopic=23935


I guess I should have posted this thread to that forum. You know what they say about hindsight.

Anyway, you guys pointed me toward some interesting alternatives to bchunk. I'd still like to hear from anyone using bchunk however.
Shade[ST]
How exactly are you using the tool? Try using google.
CODE
to record an MP3 image with a CUE sheet to an audio CD (for example the mixes at sicktracks.com):
convert the .mp3 to a raw PCM audio file:
$ mpg123 -sv sicktracks8.mp3 > sicktracks8.pcm
split into tracks according to the CUE file:
$ bchunk sicktracks8.pcm sicktracks8.txt tracks
burn it:
$ cdrecord -v -dao -audio tracks??.cdr
scooley
QUOTE
' date='Apr 19 2006, 07:03 PM' post='384289']
How exactly are you using the tool? Try using google.
CODE
to record an MP3 image with a CUE sheet to an audio CD (for example the mixes at sicktracks.com):
convert the .mp3 to a raw PCM audio file:
$ mpg123 -sv sicktracks8.mp3 > sicktracks8.pcm
split into tracks according to the CUE file:
$ bchunk sicktracks8.pcm sicktracks8.txt tracks
burn it:
$ cdrecord -v -dao -audio tracks??.cdr




My objective is to get a cd recorded as one long flac (or whatever lossless codec) file and chop it up into the appropriate tracks. First I decode to the .wav format (Perhaps I should use pcm instead?), then use bchunk to chop it up, then re-encode to flac for archiving. (why someone would record a cd to a lossless-gapless format as one monolithic file I'll never know!)

These are the steps that I have taken so far:
CODE

flac sicktrack.flac -d


bchunk -w sicktrack.wav sicktrack.cue results

flac --best results*


That works perfectly except for the clicking, or chirping sound at the beginning of the first track. The sound doesn't show up until I run bchunk, so that must be where the problem is.
Shade[ST]
Why the -w?

[edit] Stupid question -- probably for wave output [/edit]

Why don't you just use another program or embed the cuesheet in the flac? That way you can listen to any track...
scooley
I'm installing cuetools and shntools right now. I chose bchunk because a) it was the only program I could find that could handle it on it's own (the method you prescribed uses two seperate programs.) b) A package was available for my distribution, and neither of the packages you recommended was available for my distro.

As for an embedded cue sheet... I remarked on that in the thread you sent me to earlier. I don't know how to use these embedded cue sheets. I doubt amarok or k3b does either. If amarok and k3b could seamlessly handle the metadata, and if each track were taggable in the way that single files are, I'd be very interested.
scooley
Thanks guys, the programs that you recommended work beautifully. It's too bad that bchunk had to choke.
xmixahlx
you'll come to appreciate shntools - 'tis the swiss army knife of lossless audio smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.