sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Jan Stary <hans@stare.cz>
To: sox-users@lists.sourceforge.net
Subject: Re: playing more than 2 sounds with synth option
Date: Mon, 10 Aug 2020 21:03:38 +0200	[thread overview]
Message-ID: <20200810190338.GA49151@www.stare.cz> (raw)
In-Reply-To: <301f169b-bcd4-0c13-fcf9-9780bd30d8b7@gmx.at>

On Aug 10 17:57:17, arche1@gmx.at wrote:
> 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

Why the extra invocation of 'synth'?
'play -n synth 5 sine 100 sine 200 sine 300 sine 400' works just fine.

> but that doesn't work.

Meaning what? What actual command are you using,
and what exactly is SoX doing? (That is to say,
show us the output of play -V synth ...)

> 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?

Is your hardware capable of playing more than 2 channels?
If not, you will need the remix effect to mix it down to two channels.

	Jan



_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

      parent reply	other threads:[~2020-08-10 19:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10 15:57 playing more than 2 sounds with synth option Noah Essl
2020-08-10 17:36 ` Måns Rullgård
2020-08-11 12:34   ` Noah Essl
2020-08-11 14:02     ` Måns Rullgård
2020-08-10 19:03 ` Jan Stary [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200810190338.GA49151@www.stare.cz \
    --to=sox-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).