Stereo “tone-generator” for linux? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionAudio tone/sine generator with frequency gaugeVLC surround to stereo problemAudio tone/sine generator with frequency gaugeNo output through stereo jackdisable “stereo mix” or audio loopback in linux mint 17.3Audio stereo jack plugin not detectedPulseaudio: Two headphones (bluetooth, analog-stereo)Does the dmix plugin convert to stereo automatically?How do I get stereo output on Asus Xonar DGX in Linux?ALSA behaviour on stereo mic during process suspendUsing and configuring ALSA plugins dmix and dsnoop for stereo play and capture
Most bit efficient text communication method?
Trademark violation for app?
When the Haste spell ends on a creature, do attackers have advantage against that creature?
What does this Jacques Hadamard quote mean?
How do I find out the mythology and history of my Fortress?
What's the meaning of "fortified infraction restraint"?
What is the longest distance a player character can jump in one leap?
Did MS DOS itself ever use blinking text?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
What font is "z" in "z-score"?
Is there a kind of relay only consumes power when switching?
Wu formula for manifolds with boundary
Does classifying an integer as a discrete log require it be part of a multiplicative group?
How could we fake a moon landing now?
How to react to hostile behavior from a senior developer?
How to compare two different files line by line in unix?
When a candle burns, why does the top of wick glow if bottom of flame is hottest?
Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?
Fundamental Solution of the Pell Equation
If a contract sometimes uses the wrong name, is it still valid?
Is it fair for a professor to grade us on the possession of past papers?
What is homebrew?
Crossing US/Canada Border for less than 24 hours
Should I use a zero-interest credit card for a large one-time purchase?
Stereo “tone-generator” for linux?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionAudio tone/sine generator with frequency gaugeVLC surround to stereo problemAudio tone/sine generator with frequency gaugeNo output through stereo jackdisable “stereo mix” or audio loopback in linux mint 17.3Audio stereo jack plugin not detectedPulseaudio: Two headphones (bluetooth, analog-stereo)Does the dmix plugin convert to stereo automatically?How do I get stereo output on Asus Xonar DGX in Linux?ALSA behaviour on stereo mic during process suspendUsing and configuring ALSA plugins dmix and dsnoop for stereo play and capture
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Is there something like a stereo (separate left-and right-channel) tone-generator for Linux? Where you can set volume and tone/pitch for each channel, and preferably also set the wave-form (sine, square, sawtooth, ...) and invert one channel (as opposed to the other).
If not, any ideas for a good places to start to make one? I guess the simplest would be to adapt existing programs like synths... But if that work poorly, are there any libraries (like SDL?) that can be used as bases for such a program?
audio libraries
add a comment |
Is there something like a stereo (separate left-and right-channel) tone-generator for Linux? Where you can set volume and tone/pitch for each channel, and preferably also set the wave-form (sine, square, sawtooth, ...) and invert one channel (as opposed to the other).
If not, any ideas for a good places to start to make one? I guess the simplest would be to adapt existing programs like synths... But if that work poorly, are there any libraries (like SDL?) that can be used as bases for such a program?
audio libraries
You might be able to get it done with sox.
– Renan
Jul 7 '13 at 22:27
Related: unix.stackexchange.com/questions/245897/…
– Nathaniel M. Beaver
Apr 14 at 23:37
add a comment |
Is there something like a stereo (separate left-and right-channel) tone-generator for Linux? Where you can set volume and tone/pitch for each channel, and preferably also set the wave-form (sine, square, sawtooth, ...) and invert one channel (as opposed to the other).
If not, any ideas for a good places to start to make one? I guess the simplest would be to adapt existing programs like synths... But if that work poorly, are there any libraries (like SDL?) that can be used as bases for such a program?
audio libraries
Is there something like a stereo (separate left-and right-channel) tone-generator for Linux? Where you can set volume and tone/pitch for each channel, and preferably also set the wave-form (sine, square, sawtooth, ...) and invert one channel (as opposed to the other).
If not, any ideas for a good places to start to make one? I guess the simplest would be to adapt existing programs like synths... But if that work poorly, are there any libraries (like SDL?) that can be used as bases for such a program?
audio libraries
audio libraries
asked Jul 7 '13 at 18:26
Baard KopperudBaard Kopperud
4,51842845
4,51842845
You might be able to get it done with sox.
– Renan
Jul 7 '13 at 22:27
Related: unix.stackexchange.com/questions/245897/…
– Nathaniel M. Beaver
Apr 14 at 23:37
add a comment |
You might be able to get it done with sox.
– Renan
Jul 7 '13 at 22:27
Related: unix.stackexchange.com/questions/245897/…
– Nathaniel M. Beaver
Apr 14 at 23:37
You might be able to get it done with sox.
– Renan
Jul 7 '13 at 22:27
You might be able to get it done with sox.
– Renan
Jul 7 '13 at 22:27
Related: unix.stackexchange.com/questions/245897/…
– Nathaniel M. Beaver
Apr 14 at 23:37
Related: unix.stackexchange.com/questions/245897/…
– Nathaniel M. Beaver
Apr 14 at 23:37
add a comment |
4 Answers
4
active
oldest
votes
It sounds like you're looking for Audacity which is a cross-platform open source audio editor. One of its features is to allow you to generate tones. It's a multi-track audio editor, so you can easily create a stereo tone.
Under the Generate
menu, you're able to create Sine, Sawtooth, and Square waveform tones of arbitrary frequency, amplitude, and length without the need for recording or needing additional input files.
But can it generate tones "from nothing"? And I'm not intending to record and playback anything, just generate two slightly different tones (one for each channel) "for eternity".
– Baard Kopperud
Jul 7 '13 at 18:38
1
@BaardKopperud Yes, I updated my answer to clarify.
– j883376
Jul 7 '13 at 18:47
add a comment |
You might look at speaker-test
, which (on an Arch machine) I find in alsa-utils package.
speaker-test -c2 -t sine
run from an xterm, gave me a 440 Hz sine wave for about 6 seconds each, alternating left and right speakers. In the xterm, it gave some information about which speaker it thought it was using.
According to the man page, it can do sine waves of arbitrary frequency and pink noise.
1
speaker-test -c2 -t sine -f 440
will complement your example by giving the frequency parameter. Thanku.
– christian
Jun 3 '18 at 12:37
add a comment |
The siggen
program should do the trick.
It has two channels with independent signals and a phase between them. Each channel can do these signal types:
- sine
- cosine
- square
- triangle
- sawtooth
- pulse
- noise
You can run it in stereo mode like this:
$ siggen -2
Since /dev/dsp
is deprecated in most modern Linux distros, you will probably need to install a compatibility library. On Debian-based distros, install the alsa-oss
package and run it like this:
$ aoss siggen -2
You can also try it with the PulseAudio OSS Wrapper:
$ padsp siggen -2
I get: [siggen] Input/output error : /dev/dsp
– Ole Tange
10 hours ago
Hm. Does the PulseAudio OSS wrapper help at all?
– Nathaniel M. Beaver
10 hours ago
add a comment |
You might be looking for Gnaural.
2
It would be best to edit this answer to include more information about how this program provides the features being asked about - similar to the other answers previously posted.
– Anthony Geoghegan
Aug 17 '18 at 17:46
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f82112%2fstereo-tone-generator-for-linux%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
It sounds like you're looking for Audacity which is a cross-platform open source audio editor. One of its features is to allow you to generate tones. It's a multi-track audio editor, so you can easily create a stereo tone.
Under the Generate
menu, you're able to create Sine, Sawtooth, and Square waveform tones of arbitrary frequency, amplitude, and length without the need for recording or needing additional input files.
But can it generate tones "from nothing"? And I'm not intending to record and playback anything, just generate two slightly different tones (one for each channel) "for eternity".
– Baard Kopperud
Jul 7 '13 at 18:38
1
@BaardKopperud Yes, I updated my answer to clarify.
– j883376
Jul 7 '13 at 18:47
add a comment |
It sounds like you're looking for Audacity which is a cross-platform open source audio editor. One of its features is to allow you to generate tones. It's a multi-track audio editor, so you can easily create a stereo tone.
Under the Generate
menu, you're able to create Sine, Sawtooth, and Square waveform tones of arbitrary frequency, amplitude, and length without the need for recording or needing additional input files.
But can it generate tones "from nothing"? And I'm not intending to record and playback anything, just generate two slightly different tones (one for each channel) "for eternity".
– Baard Kopperud
Jul 7 '13 at 18:38
1
@BaardKopperud Yes, I updated my answer to clarify.
– j883376
Jul 7 '13 at 18:47
add a comment |
It sounds like you're looking for Audacity which is a cross-platform open source audio editor. One of its features is to allow you to generate tones. It's a multi-track audio editor, so you can easily create a stereo tone.
Under the Generate
menu, you're able to create Sine, Sawtooth, and Square waveform tones of arbitrary frequency, amplitude, and length without the need for recording or needing additional input files.
It sounds like you're looking for Audacity which is a cross-platform open source audio editor. One of its features is to allow you to generate tones. It's a multi-track audio editor, so you can easily create a stereo tone.
Under the Generate
menu, you're able to create Sine, Sawtooth, and Square waveform tones of arbitrary frequency, amplitude, and length without the need for recording or needing additional input files.
edited Jul 7 '13 at 18:46
answered Jul 7 '13 at 18:33
j883376j883376
1,6431112
1,6431112
But can it generate tones "from nothing"? And I'm not intending to record and playback anything, just generate two slightly different tones (one for each channel) "for eternity".
– Baard Kopperud
Jul 7 '13 at 18:38
1
@BaardKopperud Yes, I updated my answer to clarify.
– j883376
Jul 7 '13 at 18:47
add a comment |
But can it generate tones "from nothing"? And I'm not intending to record and playback anything, just generate two slightly different tones (one for each channel) "for eternity".
– Baard Kopperud
Jul 7 '13 at 18:38
1
@BaardKopperud Yes, I updated my answer to clarify.
– j883376
Jul 7 '13 at 18:47
But can it generate tones "from nothing"? And I'm not intending to record and playback anything, just generate two slightly different tones (one for each channel) "for eternity".
– Baard Kopperud
Jul 7 '13 at 18:38
But can it generate tones "from nothing"? And I'm not intending to record and playback anything, just generate two slightly different tones (one for each channel) "for eternity".
– Baard Kopperud
Jul 7 '13 at 18:38
1
1
@BaardKopperud Yes, I updated my answer to clarify.
– j883376
Jul 7 '13 at 18:47
@BaardKopperud Yes, I updated my answer to clarify.
– j883376
Jul 7 '13 at 18:47
add a comment |
You might look at speaker-test
, which (on an Arch machine) I find in alsa-utils package.
speaker-test -c2 -t sine
run from an xterm, gave me a 440 Hz sine wave for about 6 seconds each, alternating left and right speakers. In the xterm, it gave some information about which speaker it thought it was using.
According to the man page, it can do sine waves of arbitrary frequency and pink noise.
1
speaker-test -c2 -t sine -f 440
will complement your example by giving the frequency parameter. Thanku.
– christian
Jun 3 '18 at 12:37
add a comment |
You might look at speaker-test
, which (on an Arch machine) I find in alsa-utils package.
speaker-test -c2 -t sine
run from an xterm, gave me a 440 Hz sine wave for about 6 seconds each, alternating left and right speakers. In the xterm, it gave some information about which speaker it thought it was using.
According to the man page, it can do sine waves of arbitrary frequency and pink noise.
1
speaker-test -c2 -t sine -f 440
will complement your example by giving the frequency parameter. Thanku.
– christian
Jun 3 '18 at 12:37
add a comment |
You might look at speaker-test
, which (on an Arch machine) I find in alsa-utils package.
speaker-test -c2 -t sine
run from an xterm, gave me a 440 Hz sine wave for about 6 seconds each, alternating left and right speakers. In the xterm, it gave some information about which speaker it thought it was using.
According to the man page, it can do sine waves of arbitrary frequency and pink noise.
You might look at speaker-test
, which (on an Arch machine) I find in alsa-utils package.
speaker-test -c2 -t sine
run from an xterm, gave me a 440 Hz sine wave for about 6 seconds each, alternating left and right speakers. In the xterm, it gave some information about which speaker it thought it was using.
According to the man page, it can do sine waves of arbitrary frequency and pink noise.
answered Jul 7 '13 at 21:55
Bruce EdigerBruce Ediger
35.7k670120
35.7k670120
1
speaker-test -c2 -t sine -f 440
will complement your example by giving the frequency parameter. Thanku.
– christian
Jun 3 '18 at 12:37
add a comment |
1
speaker-test -c2 -t sine -f 440
will complement your example by giving the frequency parameter. Thanku.
– christian
Jun 3 '18 at 12:37
1
1
speaker-test -c2 -t sine -f 440
will complement your example by giving the frequency parameter. Thanku.– christian
Jun 3 '18 at 12:37
speaker-test -c2 -t sine -f 440
will complement your example by giving the frequency parameter. Thanku.– christian
Jun 3 '18 at 12:37
add a comment |
The siggen
program should do the trick.
It has two channels with independent signals and a phase between them. Each channel can do these signal types:
- sine
- cosine
- square
- triangle
- sawtooth
- pulse
- noise
You can run it in stereo mode like this:
$ siggen -2
Since /dev/dsp
is deprecated in most modern Linux distros, you will probably need to install a compatibility library. On Debian-based distros, install the alsa-oss
package and run it like this:
$ aoss siggen -2
You can also try it with the PulseAudio OSS Wrapper:
$ padsp siggen -2
I get: [siggen] Input/output error : /dev/dsp
– Ole Tange
10 hours ago
Hm. Does the PulseAudio OSS wrapper help at all?
– Nathaniel M. Beaver
10 hours ago
add a comment |
The siggen
program should do the trick.
It has two channels with independent signals and a phase between them. Each channel can do these signal types:
- sine
- cosine
- square
- triangle
- sawtooth
- pulse
- noise
You can run it in stereo mode like this:
$ siggen -2
Since /dev/dsp
is deprecated in most modern Linux distros, you will probably need to install a compatibility library. On Debian-based distros, install the alsa-oss
package and run it like this:
$ aoss siggen -2
You can also try it with the PulseAudio OSS Wrapper:
$ padsp siggen -2
I get: [siggen] Input/output error : /dev/dsp
– Ole Tange
10 hours ago
Hm. Does the PulseAudio OSS wrapper help at all?
– Nathaniel M. Beaver
10 hours ago
add a comment |
The siggen
program should do the trick.
It has two channels with independent signals and a phase between them. Each channel can do these signal types:
- sine
- cosine
- square
- triangle
- sawtooth
- pulse
- noise
You can run it in stereo mode like this:
$ siggen -2
Since /dev/dsp
is deprecated in most modern Linux distros, you will probably need to install a compatibility library. On Debian-based distros, install the alsa-oss
package and run it like this:
$ aoss siggen -2
You can also try it with the PulseAudio OSS Wrapper:
$ padsp siggen -2
The siggen
program should do the trick.
It has two channels with independent signals and a phase between them. Each channel can do these signal types:
- sine
- cosine
- square
- triangle
- sawtooth
- pulse
- noise
You can run it in stereo mode like this:
$ siggen -2
Since /dev/dsp
is deprecated in most modern Linux distros, you will probably need to install a compatibility library. On Debian-based distros, install the alsa-oss
package and run it like this:
$ aoss siggen -2
You can also try it with the PulseAudio OSS Wrapper:
$ padsp siggen -2
edited 10 hours ago
answered Oct 8 '17 at 21:41
Nathaniel M. BeaverNathaniel M. Beaver
220118
220118
I get: [siggen] Input/output error : /dev/dsp
– Ole Tange
10 hours ago
Hm. Does the PulseAudio OSS wrapper help at all?
– Nathaniel M. Beaver
10 hours ago
add a comment |
I get: [siggen] Input/output error : /dev/dsp
– Ole Tange
10 hours ago
Hm. Does the PulseAudio OSS wrapper help at all?
– Nathaniel M. Beaver
10 hours ago
I get: [siggen] Input/output error : /dev/dsp
– Ole Tange
10 hours ago
I get: [siggen] Input/output error : /dev/dsp
– Ole Tange
10 hours ago
Hm. Does the PulseAudio OSS wrapper help at all?
– Nathaniel M. Beaver
10 hours ago
Hm. Does the PulseAudio OSS wrapper help at all?
– Nathaniel M. Beaver
10 hours ago
add a comment |
You might be looking for Gnaural.
2
It would be best to edit this answer to include more information about how this program provides the features being asked about - similar to the other answers previously posted.
– Anthony Geoghegan
Aug 17 '18 at 17:46
add a comment |
You might be looking for Gnaural.
2
It would be best to edit this answer to include more information about how this program provides the features being asked about - similar to the other answers previously posted.
– Anthony Geoghegan
Aug 17 '18 at 17:46
add a comment |
You might be looking for Gnaural.
You might be looking for Gnaural.
edited Aug 17 '18 at 15:41
Michael Mrozek♦
62.5k29194214
62.5k29194214
answered Aug 17 '18 at 15:07
user306058user306058
1
1
2
It would be best to edit this answer to include more information about how this program provides the features being asked about - similar to the other answers previously posted.
– Anthony Geoghegan
Aug 17 '18 at 17:46
add a comment |
2
It would be best to edit this answer to include more information about how this program provides the features being asked about - similar to the other answers previously posted.
– Anthony Geoghegan
Aug 17 '18 at 17:46
2
2
It would be best to edit this answer to include more information about how this program provides the features being asked about - similar to the other answers previously posted.
– Anthony Geoghegan
Aug 17 '18 at 17:46
It would be best to edit this answer to include more information about how this program provides the features being asked about - similar to the other answers previously posted.
– Anthony Geoghegan
Aug 17 '18 at 17:46
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f82112%2fstereo-tone-generator-for-linux%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-audio, libraries
You might be able to get it done with sox.
– Renan
Jul 7 '13 at 22:27
Related: unix.stackexchange.com/questions/245897/…
– Nathaniel M. Beaver
Apr 14 at 23:37