filtering based on volume?

View: New views
4 Messages — Rating Filter:   Alert me  

filtering based on volume?

by Sanjeev Sharma-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


So would it be possible to do something like:

"drop/remove/delete  the loudest 5% of the sounds in this file,
or drop the volume of those loudest to zero"

(more likely it will be the loudest 1%)

and are there any example command lines to do this, or something similar?

I'm sending this from the same address where I get the list but hte list manager thinks I'm not subscribed ... oh, well ..

--
Regards,
Sanjeev (Sam) Sharma

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sox-users mailing list
Sox-users@...
https://lists.sourceforge.net/lists/listinfo/sox-users

Re: filtering based on volume?

by Fmiser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> throwit1@... wrote:

>
> So would it be possible to do something like:
>
> "drop/remove/delete  the loudest 5% of the sounds in this
> file, or drop the volume of those loudest to zero"
>
> (more likely it will be the loudest 1%)
>
> and are there any example command lines to do this, or
> something similar?

That is called an inverse or reverse gate.

I think "compand" could do this. Set the output level to -inf
when the input reaches -10 or so.


Something like.
play audio.wav compand .1,.1 -90,-90,-11,-11,-10,-inf 45 -90 .1

Replace "play audio.wav" with "sox in.wav out.wav" to generate a
new file rather than just listen.

--    Philip



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sox-users mailing list
Sox-users@...
https://lists.sourceforge.net/lists/listinfo/sox-users

Re: filtering based on volume?

by Sanjeev Sharma-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I will try that, thanks - and in fact I thought of it but I immediately assumed it would run afoul of compand 's

   "monotonically increasing"

requirement

On Fri, Oct 09, 2009 at 01:05:25PM -0500, Fmiser wrote:

> > throwit1@... wrote:
>
> >
> >
> > "drop/remove/delete  the loudest 5% of the sounds in this
> > file, or drop the volume of those loudest to zero"
> >
> > (more likely it will be the loudest 1%)
>
>
> That is called an inverse or reverse gate.
>
> I think "compand" could do this. Set the output level to -inf
> when the input reaches -10 or so.
>
>
> Something like.
> play audio.wav compand .1,.1 -90,-90,-11,-11,-10,-inf 45 -90 .1
>
> Replace "play audio.wav" with "sox in.wav out.wav" to generate a
> new file rather than just listen.
>
> --    Philip
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sox-users mailing list
Sox-users@...
https://lists.sourceforge.net/lists/listinfo/sox-users

Re: filtering based on volume?

by robs-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- On Sat, 10/10/09, Sam <throwit1@...> wrote:

> From: Sam <throwit1@...>
> Subject: Re: [SoX-users] filtering based on volume?
> To: sox-users@...
> Date: Saturday, 10 October, 2009, 5:13 AM
> I will try that, thanks - and in fact
> I thought of it but I immediately assumed it would run afoul
> of compand 's
>
>    "monotonically increasing"
>
> requirement

Ah, that's only for the input level; free rein for the output level.

/Rob



     

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sox-users mailing list
Sox-users@...
https://lists.sourceforge.net/lists/listinfo/sox-users