Re: problems with gramofile

2003-01-07 Thread local.freebsd.questions
On Thu, 2 Jan 2003 21:23:47 - , [EMAIL PROTECTED] (Dan Malaby)
wrote:

I am trying to use gramofile to get some records made into CD's, but I can 
not get gramofile to see any input. I can use the mixer and get the line in

signal out of my PC speakers, so I know that I have signal to my sound 
card, but gramofile only makes a file with no music. If there is anyone who


The selection of what you hear at the soundcard output and what you
record from the soundcard are different. Try:

mixer =rec line (or line1)

is using gramofile, please tell me how you configured gramofile or what 
magic needs to be done to the kernel to make it work. Also I have had 
problems with gramofile hanging up, it does not respond to any mouse or 
keyboard input, and I need to do a kill -9 to get out.

I patched the source after unpacking to ask for half the number of
semaphores it wanted (16 rather than 32 I think). You also may want
to add the patches from the author's web page to do the FFT-based
click removal, but you will need to install the fftw libraries before
gramofile will build.

Also gramofile writes the WAV header when the file is created and
does not update it when the recording is complete. The header says
the file is 100 minutes long, which makes seeking in XMMS a little
tricky if it is really only 5 minutes long.

I tend to record a side into, say, side1.wav then check that I have
some samples over 99% but no (or maybe 1) sample at 100%, so I am
reaonably sure I am using the max range of values without clipping.
Then I fix up the wav file using sox:

sox side1.wav side1a.wav

This rewrites the header to reflect the correct length.

Then run the track split detector and create the side1a.wav.tracks
file. Edit this and use XMMS to locate the true start and end times
of each track - gramofile only gets it vaguely right.

Then split the tracks and use CMF IIF to do the click removal.

jim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: problems with gramofile

2003-01-02 Thread paul beard
Dan Malaby wrote:

Happy new year FSBD users!!

I am trying to use gramofile to get some records made into CD's, 

Me, too.


but I 
can not get gramofile to see any input. I can use the mixer and get the 
line in signal out of my PC speakers, so I know that I have signal to my 
sound card, but gramofile only makes a file with no music. 

I found that the mic input works fine but line in doesn't. I'm 
using a SoundBlasterLive, and I'm starting to wonder if my card is 
bad. It did occur to me that it may be gramofile . . . .
If there is 
anyone who is using gramofile, please tell me how you configured 
gramofile or what magic needs to be done to the kernel to make it work. 
Also I have had problems with gramofile hanging up, it does not respond 
to any mouse or keyboard input, and I need to do a kill -9 to get out.

I have found that gramofile doesn't clean up after itself very 
well: run ipcs and see if there are some semaphores that are 
blocking things up.

I did add the semaphore stuff from LINT in vain hopes of making it 
behave better . . . . but I still end up falling back on ipcs and 
ipcrm.

# System V semaphores and tunable parameters
options SYSVSEM # include support for semaphores
options SEMMAP=31   # amount of entries in semaphore map
options SEMMNI=11   # number of semaphore identifiers 
in the system
options SEMMNS=61   # number of semaphores in the system
options SEMMNU=31   # number of undo structures in the 
system
options SEMMSL=33   # max number of semaphores per id
options SEMOPM=101  # max number of operations per 
semop call
options SEMUME=11   # max number of undo entries per 
process


--
Paul Beard: seeking UNIX/internet engineering work
http://paulbeard.no-ip.org/paulbeard.html
8040 27th Ave NE Seattle WA 98115 / 206 529 8400

Talkers are no good doers.
		-- William Shakespeare, Henry VI


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message