Re: playing more than 2 sounds with synth option

Måns Rullgård <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
Noah Essl <[email protected]> writes:

> Hi!
>
> I am playing 2 frequencies like this:
>> play -qn synth $a_number_variable sine $sound_1 sine $sound_2 fade h
> $some $random $numbers
>
> and I am trying to play even more sounds like:
>> play -qn synth $a_number_variable sine $sound_1 sine $sound_2 sine
> $sound_3 sine $sound_4
> or like:
>> play -qn synth $a_number_variable sine $sound_1 sine $sound_2 synth
> sine $sound_3 sine $sound_4
>
> but that doesn't work. How would I do it to play 4 frequencies parallel
> with the same command? Is there no support for that and if so, why limit
> it to 2?
>
> Thanks in advance for any help!

Your commands create a new channel for each tone.  If you want to mix
them you can do that in a few ways.  One is like this:

$ play -n synth 10 sine 1k synth sine mix 2k synth sine mix 3k

Another way:

$ play -n synth 10 sine 1k sine 2k sine 3k remix -

If that's not what you're looking for, you'll have to describe in more
detail what you're trying to achieve.

-- 
Måns Rullgård
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.