You are not logged in.

#1 2008-01-31 20:31:46

m4jkel
Member
Registered: 2008-01-31
Posts: 3

Recording without silence

Hi there,

How to record something from microphone input without silence? I have to record many speeches with silence gaps beetwen it. I'm going to leave computer recording for few hours and I don't want silence to be stored into output file. Program should pause recording when there is no sound on input.

I found out that 'rec' from sox package offers starting recording when silence ends, but it wouldn't pause anymore, so output file does include silence gaps neutral

Thanks in advance

Offline

#2 2008-02-04 00:08:25

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: Recording without silence

You could record the silence, then cut it out later (something like audacity). If diskspace is an issue, I think that rec can have the file compressed.

Otherwise, you risk the gating being a bit too tight, and then clipping out meaningful pauses in addition to the space between the speeches. So your ideal could be implemented, but I don't know if any programs offer it.

Offline

#3 2008-02-04 05:08:50

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: Recording without silence

It is possible, but i don't know which program does it. Simple algorithm:

When threshold is above predefined frequency/dB, start recording.

When threshold is below predefined frequency/dB, stop recording. Save file. Merge with previous file, if it exists.

Last edited by schivmeister (2008-02-04 05:12:11)


I need real, proper pen and paper for this.

Offline

#4 2008-02-04 17:34:37

m4jkel
Member
Registered: 2008-01-31
Posts: 3

Re: Recording without silence

Exactly. I know it must be possible, but I thought somebody has already done it. Seems I was wrong.

Offline

Board footer

Powered by FluxBB