Mix several sinus tones

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Mix several sinus tones

Marco Bandiera

Please, could someone help me?

I need a Windows script to generate and save a wav stereo file made up of several mixed sinusoidal tones equally spaced in frequency (i.e. 5000Hz, 5150Hz, 5300Hz, 5450Hz, 5600Hz, etc.).

I tried to use synth and mix commands, but I succeed in mixing only two sinusoidal tones.

Thank you for your help.

 

Marco Bandiera


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: Mix several sinus tones

keghn
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

sox -m 5000Hz.wav 5150Hz.wav a.wav
sox -m 5300Hz.wav 5450Hz.wav b.wav
sox -m 5600Hz.wav a.wav.wav c.wav
sox -m .b.wav  c.wav e.wave final.wav



//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


-----Original Message-----
From: Marco Bandiera <[hidden email]>
To: sox-users <[hidden email]>
Sent: Fri, Aug 9, 2013 8:50 am
Subject: [SoX-users] Mix several sinus tones

Please, could someone help me?
I need a Windows script to generate and save a wav stereo file made up of several mixed sinusoidal tones equally spaced in frequency (i.e. 5000Hz, 5150Hz, 5300Hz, 5450Hz, 5600Hz, etc.).
I tried to use synth and mix commands, but I succeed in mixing only two sinusoidal tones.
Thank you for your help.
 
Marco Bandiera
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: Mix several sinus tones

Doug Lee
f1/f2/f3 being frequencies, try this:

sox -n out.wav synth 10 sine f1 synth 10 sine mix f2 synth 10 sine mix f3 ...

On Fri, Aug 09, 2013 at 01:33:03PM -0400, [hidden email] wrote:
   ///////////////////////////////////////////////////////////////////////
   ///////////////////////////////////////////////////////////////////////
   ///////

   sox -m 5000Hz.wav 5150Hz.wav a.wav

   sox -m 5300Hz.wav 5450Hz.wav b.wav
   sox -m 5600Hz.wav a.wav.wav c.wav

   sox -m .b.wav  c.wav e.wave final.wav

   ///////////////////////////////////////////////////////////////////////
   ///////////////////////////////////////////////////////////////////////
   ////////////////////////////////

   -----Original Message-----
   From: Marco Bandiera <[hidden email]>
   To: sox-users <[hidden email]>
   Sent: Fri, Aug 9, 2013 8:50 am
   Subject: [SoX-users] Mix several sinus tones
   Please, could someone help me?
   I need a Windows script to generate and save a wav stereo file made up
   of several mixed sinusoidal tones equally spaced in frequency (i.e.
   5000Hz, 5150Hz, 5300Hz, 5450Hz, 5600Hz, etc.).
   I tried to use synth and mix commands, but I succeed in mixing only two
   sinusoidal tones.
   Thank you for your help.

   Marco Bandiera
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


--
Doug Lee                 [hidden email]                http://www.dlee.org
SSB BART Group           [hidden email]   http://www.ssbbartgroup.com
"The nice thing about standards is that there are so many of them
to choose from." -- Andrew Tanenbaum

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

R: Mix several sinus tones

Marco Bandiera
Thank you very much, Doug.
Your suggestion works, but only the first two tones have the same amplitude,
the following ones increase 6dB each.
 

-----Messaggio originale-----
Da: Doug Lee [mailto:[hidden email]]
Inviato: venerdì 9 agosto 2013 19:57
A: [hidden email]
Oggetto: Re: [SoX-users] Mix several sinus tones

f1/f2/f3 being frequencies, try this:

sox -n out.wav synth 10 sine f1 synth 10 sine mix f2 synth 10 sine mix f3
...

On Fri, Aug 09, 2013 at 01:33:03PM -0400, [hidden email] wrote:
   ///////////////////////////////////////////////////////////////////////
   ///////////////////////////////////////////////////////////////////////
   ///////

   sox -m 5000Hz.wav 5150Hz.wav a.wav

   sox -m 5300Hz.wav 5450Hz.wav b.wav
   sox -m 5600Hz.wav a.wav.wav c.wav

   sox -m .b.wav  c.wav e.wave final.wav

   ///////////////////////////////////////////////////////////////////////
   ///////////////////////////////////////////////////////////////////////
   ////////////////////////////////

   -----Original Message-----
   From: Marco Bandiera <[hidden email]>
   To: sox-users <[hidden email]>
   Sent: Fri, Aug 9, 2013 8:50 am
   Subject: [SoX-users] Mix several sinus tones
   Please, could someone help me?
   I need a Windows script to generate and save a wav stereo file made up
   of several mixed sinusoidal tones equally spaced in frequency (i.e.
   5000Hz, 5150Hz, 5300Hz, 5450Hz, 5600Hz, etc.).
   I tried to use synth and mix commands, but I succeed in mixing only two
   sinusoidal tones.
   Thank you for your help.

   Marco Bandiera
----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users

----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


--
Doug Lee                 [hidden email]                http://www.dlee.org
SSB BART Group           [hidden email]
http://www.ssbbartgroup.com
"The nice thing about standards is that there are so many of them to choose
from." -- Andrew Tanenbaum

----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

R: Mix several sinus tones

Marco Bandiera
In reply to this post by keghn

Thank you very much for your suggestion, but I can’t do it working.

 

 

Da: [hidden email] [mailto:[hidden email]]
Inviato: venerdì 9 agosto 2013 19:33
A: [hidden email]
Oggetto: Re: [SoX-users] Mix several sinus tones

 

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 

sox -m 5000Hz.wav 5150Hz.wav a.wav

sox -m 5300Hz.wav 5450Hz.wav b.wav

sox -m 5600Hz.wav a.wav.wav c.wav

sox -m .b.wav  c.wav e.wave final.wav

 

 

 

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

-----Original Message-----
From: Marco Bandiera <[hidden email]>
To: sox-users <[hidden email]>
Sent: Fri, Aug 9, 2013 8:50 am
Subject: [SoX-users] Mix several sinus tones

Please, could someone help me?

I need a Windows script to generate and save a wav stereo file made up of several mixed sinusoidal tones equally spaced in frequency (i.e. 5000Hz, 5150Hz, 5300Hz, 5450Hz, 5600Hz, etc.).

I tried to use synth and mix commands, but I succeed in mixing only two sinusoidal tones.

Thank you for your help.

 

Marco Bandiera

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: R: Mix several sinus tones

Doug Lee
In reply to this post by Marco Bandiera
You can always use a SoX invocation to make each tone, or now, pair of
tones; and then one final one to mix them all. I don't remember if
there's a way to adjust individual volumes of synths. -v does not seem
to work; it causes "no type given" messages for me when I try placing
it between synth specs.

On Sat, Aug 10, 2013 at 09:01:40AM +0200, Marco Bandiera wrote:
Thank you very much, Doug.
Your suggestion works, but only the first two tones have the same amplitude,
the following ones increase 6dB each.
 

-----Messaggio originale-----
Da: Doug Lee [mailto:[hidden email]]
Inviato: venerd? 9 agosto 2013 19:57
A: [hidden email]
Oggetto: Re: [SoX-users] Mix several sinus tones

f1/f2/f3 being frequencies, try this:

sox -n out.wav synth 10 sine f1 synth 10 sine mix f2 synth 10 sine mix f3
...

On Fri, Aug 09, 2013 at 01:33:03PM -0400, [hidden email] wrote:
   ///////////////////////////////////////////////////////////////////////
   ///////////////////////////////////////////////////////////////////////
   ///////

   sox -m 5000Hz.wav 5150Hz.wav a.wav

   sox -m 5300Hz.wav 5450Hz.wav b.wav
   sox -m 5600Hz.wav a.wav.wav c.wav

   sox -m .b.wav  c.wav e.wave final.wav

   ///////////////////////////////////////////////////////////////////////
   ///////////////////////////////////////////////////////////////////////
   ////////////////////////////////

   -----Original Message-----
   From: Marco Bandiera <[hidden email]>
   To: sox-users <[hidden email]>
   Sent: Fri, Aug 9, 2013 8:50 am
   Subject: [SoX-users] Mix several sinus tones
   Please, could someone help me?
   I need a Windows script to generate and save a wav stereo file made up
   of several mixed sinusoidal tones equally spaced in frequency (i.e.
   5000Hz, 5150Hz, 5300Hz, 5450Hz, 5600Hz, etc.).
   I tried to use synth and mix commands, but I succeed in mixing only two
   sinusoidal tones.
   Thank you for your help.

   Marco Bandiera
----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users

----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


--
Doug Lee                 [hidden email]                http://www.dlee.org
SSB BART Group           [hidden email]
http://www.ssbbartgroup.com
"The nice thing about standards is that there are so many of them to choose
from." -- Andrew Tanenbaum

----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users

--
Doug Lee                 [hidden email]                http://www.dlee.org
SSB BART Group           [hidden email]   http://www.ssbbartgroup.com
"When your best-laid plans have turned to dust, vacuum!"
- Whoopi Goldberg

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: Mix several sinus tones

Ulrich Klauer-2
In reply to this post by Marco Bandiera
Marco Bandiera wrote:

> I tried to use synth and mix commands, but I succeed in mixing only  
> two sinusoidal tones.

This should do it:
   sox -r 44100 -n output.wav synth 10 sin 5000 sin 5100 sin 5200 ... remix -
(Replace 44100 with the desired sample rate, 10 with the desired  
duration and 5000, 5100 etc. with the frequencies.) This will generate  
the tones in separate channels, then mix them all into one.

Ulrich


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

R: Mix several sinus tones

Marco Bandiera
Yes, it works!
Thank you very much.
Please, could you suggest me how to settle the level of the remixed file and
do it stereo?
Thank you again.

Marco

-----Messaggio originale-----
Da: Ulrich Klauer [mailto:[hidden email]]
Inviato: sabato 10 agosto 2013 13:13
A: [hidden email]
Oggetto: Re: [SoX-users] Mix several sinus tones

Marco Bandiera wrote:

> I tried to use synth and mix commands, but I succeed in mixing only
> two sinusoidal tones.

This should do it:
   sox -r 44100 -n output.wav synth 10 sin 5000 sin 5100 sin 5200 ... remix
- (Replace 44100 with the desired sample rate, 10 with the desired duration
and 5000, 5100 etc. with the frequencies.) This will generate the tones in
separate channels, then mix them all into one.

Ulrich


----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: R: Mix several sinus tones

keghn
 Worked for me to on my Mint 14.1 mate linux machine.

 I used:
sox -r 44100 -n output.wav synth 1 sin 5000 sin 5100 sin 5200

play output.wav



-----Original Message-----
From: Marco Bandiera <[hidden email]>
To: sox-users <[hidden email]>
Sent: Sun, Aug 11, 2013 7:26 am
Subject: [SoX-users] R: Mix several sinus tones

Yes, it works!
Thank you very much.
Please, could you suggest me how to settle the level of the remixed file and
do it stereo?
Thank you again.

Marco

-----Messaggio originale-----
Da: Ulrich Klauer [[hidden email]] 
Inviato: sabato 10 agosto 2013 13:13
A: [hidden email]
Oggetto: Re: [SoX-users] Mix several sinus tones

Marco Bandiera wrote:

> I tried to use synth and mix commands, but I succeed in mixing only 
> two sinusoidal tones.

This should do it:
   sox -r 44100 -n output.wav synth 10 sin 5000 sin 5100 sin 5200 ... remix
- (Replace 44100 with the desired sample rate, 10 with the desired duration
and 5000, 5100 etc. with the frequencies.) This will generate the tones in
separate channels, then mix them all into one.

Ulrich


----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

R: Mix several sinus tones

Marco Bandiera
In reply to this post by Marco Bandiera
I succeed in settling peak level by adding "gain" command at the end.
Now I will try to make it stereo.

Marco

-----Messaggio originale-----
Da: Marco Bandiera [mailto:[hidden email]]
Inviato: domenica 11 agosto 2013 16:26
A: [hidden email]
Oggetto: R: [SoX-users] Mix several sinus tones

Yes, it works!
Thank you very much.
Please, could you suggest me how to settle the level of the remixed file and
do it stereo?
Thank you again.

Marco

-----Messaggio originale-----
Da: Ulrich Klauer [mailto:[hidden email]]
Inviato: sabato 10 agosto 2013 13:13
A: [hidden email]
Oggetto: Re: [SoX-users] Mix several sinus tones

Marco Bandiera wrote:

> I tried to use synth and mix commands, but I succeed in mixing only
> two sinusoidal tones.

This should do it:
   sox -r 44100 -n output.wav synth 10 sin 5000 sin 5100 sin 5200 ... remix
- (Replace 44100 with the desired sample rate, 10 with the desired duration
and 5000, 5100 etc. with the frequencies.) This will generate the tones in
separate channels, then mix them all into one.

Ulrich


----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users



------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: Mix several sinus tones

Ulrich Klauer-2
In reply to this post by Marco Bandiera
Marco Bandiera wrote:

> Please, could you suggest me how to settle the level of the remixed  
> file and do it stereo?

For stereo, add "remix 1 1" at the end to duplicate the only channel.

The volume can be modified with the gain effect, e.g. reduced by 7 dB:

   sox -r 44100 -n output.wav synth 10 sin 5000 sin 5100 sin 5200 ... \
     remix - gain -7 remix 1 1

Ulrich


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

R: Mix several sinus tones

Marco Bandiera
Thank you very very much.

Marco


-----Messaggio originale-----
Da: Ulrich Klauer [mailto:[hidden email]]
Inviato: lunedì 12 agosto 2013 09:53
A: [hidden email]
Oggetto: Re: [SoX-users] Mix several sinus tones

Marco Bandiera wrote:

> Please, could you suggest me how to settle the level of the remixed
> file and do it stereo?

For stereo, add "remix 1 1" at the end to duplicate the only channel.

The volume can be modified with the gain effect, e.g. reduced by 7 dB:

   sox -r 44100 -n output.wav synth 10 sin 5000 sin 5100 sin 5200 ... \
     remix - gain -7 remix 1 1

Ulrich


----------------------------------------------------------------------------
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

R: Mix several sinus tones

Marco Bandiera
In reply to this post by Ulrich Klauer-2
To mix a lot of sinus 100Hz spaced in frequency I think I have to use a
batch file like this:

FOR /L %%freq IN (5000,100,10000) DO sox -r 44100 -n output.wav synth 10
sine %%freq remix - gain -10 remix 1 1

Obviously it doesn't work.
Could you give me some help?
Thank you very much.

Marco


-----Messaggio originale-----
Da: Ulrich Klauer [mailto:[hidden email]]
Inviato: lunedì 12 agosto 2013 09:53
A: [hidden email]
Oggetto: Re: [SoX-users] Mix several sinus tones

Marco Bandiera wrote:

> Please, could you suggest me how to settle the level of the remixed
> file and do it stereo?

For stereo, add "remix 1 1" at the end to duplicate the only channel.

The volume can be modified with the gain effect, e.g. reduced by 7 dB:

   sox -r 44100 -n output.wav synth 10 sin 5000 sin 5100 sin 5200 ... \
     remix - gain -7 remix 1 1

Ulrich



------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: R: Mix several sinus tones

keghn
 Hello,
 I found this recent youtube doing Sox's at the web site:

http://www.youtube.com/watch?v=rpFpZ5qs60Q&feature=c4-overview&list=UUf93fPKwotph47H3_KDcRyg


-----Original Message-----
From: Marco Bandiera <[hidden email]>
To: sox-users <[hidden email]>
Sent: Mon, Aug 12, 2013 9:06 am
Subject: [SoX-users] R: Mix several sinus tones

To mix a lot of sinus 100Hz spaced in frequency I think I have to use a
batch file like this:

FOR /L %%freq IN (5000,100,10000) DO sox -r 44100 -n output.wav synth 10
sine %%freq remix - gain -10 remix 1 1

Obviously it doesn't work.
Could you give me some help?
Thank you very much.

Marco


-----Messaggio originale-----
Da: Ulrich Klauer [[hidden email]] 
Inviato: lunedì 12 agosto 2013 09:53
A: [hidden email]
Oggetto: Re: [SoX-users] Mix several sinus tones

Marco Bandiera wrote:

> Please, could you suggest me how to settle the level of the remixed 
> file and do it stereo?

For stereo, add "remix 1 1" at the end to duplicate the only channel.

The volume can be modified with the gain effect, e.g. reduced by 7 dB:

   sox -r 44100 -n output.wav synth 10 sin 5000 sin 5100 sin 5200 ... \
     remix - gain -7 remix 1 1

Ulrich



------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users
Reply | Threaded
Open this post in threaded view
|

Re: R: Mix several sinus tones

Jan Stary
On Aug 13 15:36:35, [hidden email] wrote:
>  I found this recent youtube doing Sox's at the web site:
> http://www.youtube.com/watch?v=rpFpZ5qs60Q&feature=c4-overview&list=UUf93fPKwotph47H3_KDcRyg
>

A 06:45 video of two command lines
surely beats the zipped spreadsheets
containing a GIF in the A1 cell
that I loved so in the nineties.

Not to mention running six play(1) processes
and sleep instead of using the delay effect.


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Sox-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/sox-users