FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-12-2010, 08:53 AM
Michael Renner
 
Default A software function generator for /dev/dsp?

Moin,

I'm looking for a function generator for the soundcard. It should generate
sine, square and triangle.
Maybe modulate and sweep.
I'm also looking for a oscilloscope software for the souncard.

Any hint?
Thanks
--
|Michael Renner E-mail: michael.renner@gmx.de |
|D-81541 Munich Germany ICQ: #112280325 |
|Germany Don't drink as root! ESC:wq


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-14-2010, 07:22 PM
T o n g
 
Default A software function generator for /dev/dsp?

On Tue, 12 Jan 2010 10:53:37 +0100, Michael Renner wrote:

> I'm looking for a function generator for the soundcard. It should
> generate sine, square and triangle.

Take a look at sox. Eg, the following from 'man sox',

,-----
| synth [-j KEY] [-n] [len [off [ph [p1 [p2 [p3]]]]]] {[type] [combine]
| [[%]freq[k][:|+|/|-[%]freq2[k]]] [off [ph [p1 [p2 [p3]]]]]}
| This effect can be used to generate fixed or swept frequency
| audio tones with various wave shapes, or to generate wide-band
| noise of various `colours'. . .
|
| For example, the following produces a 3 second, 48kHz, audio
| file containing a sine-wave swept from 300 to 3300 Hz:
| sox -n output.wav synth 3 sine 300-3300
| and this produces an 8 kHz version:
| sox -r 8000 -n output.wav synth 3 sine 300-3300
`-----


--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 12:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org