This building block generates a RAW sinewave and will be the basis of a sinewave sweep generator.
This is also proof of concept and is issued as Public Domain. The final draft will have pseudo-variable bit rates for varying frequency ranges. This is the default mode, 8 bit depth, mono, 8000Hz sampling rate.
Enjoy finding simple solutions to often very difficult questions...
Bazza.
Results of this demo, note the "clear" command has been edited out:-
Good evening, I'm currently working on a BASH script to convert audio between file formats and I've come across a snag. At the beginning of the script, I'm having the system check to see if any files with the .m4a extension exist in the directory, and if so, it runs the script. If there are no... (1 Reply)
IKHz_SW_OSX.py
A DEMO mono _pure_ sinewave generator using standard text mode Python 2.6.7 to at least 2.7.3.
This code is EASILY modifyable to Python version 3.x.x...
This DEMO kids level 1KHz generator is mainly for a MacBook Pro, (13 inch in my case), OSX 10.7.5 and above. See below...... (0 Replies)
A very simple crude sinewave generator.
The file required is generated inside the code, is linear interpolated and requires /dev/audio to work. Ensure you have this device, if not the download oss-compat from your OS's repository...
It lasts for about 8 seconds before exiting and saves a... (5 Replies)
I put this together to search for unused IP addresses on a router. It's run as a Bash Command on OSX 10.9. Basically the user inputs the router address' IP range to sweep. 'jot' spits out a list of IP addresses based on that input and each one of those gets pinged. The output looks like this (tab... (4 Replies)
I'm trying to record audio using Audacity 2.0.5 installed from SlackBuilds. My system is 64-bit Slackware 14.1 and a sound card is Intel HD Audio. I didn't change my sound system to OSS. (Default sound system in Slackware 14.1 is ALSA, isn't it?) First, I set Internal Microphone slider in KMix... (2 Replies)
Ok guys, gals and geeks...
As from today I am starting to learn awk in earnest doing something totally different.
I am going to create a pseudo-Audio_Function Generator centred around OSX 10.11.x minimum. The code below is a tester to see what the possibilities are.
All waveforms will be... (11 Replies)
Hi all...
I intend to do an Audio Function Generator using Awk, (already started thanks to Don), but the biggest thing I have struggled with was variable frequency.
I was going to generate differing sized waveforms on the fly but that would that would mean the frequencies are dependent on any... (2 Replies)
Hi all...
Well I have not been inactive but working out how to make OSX 10.14.x command line audio player have a variable sample rate.
This is a back door as afplay does not have a sample rate flag unlike aplay for ALSA, in Linux flavours.
This is a DEMO only but a derivative of it will... (2 Replies)
Discussion started by: wisecracker
2 Replies
LEARN ABOUT DEBIAN
uhd_siggen
UHD_SIGGEN(1) User Commands UHD_SIGGEN(1)NAME
uhd_siggen - Signal Generator using UHD hardware
SYNOPSIS
uhd_siggen: [options]
DESCRIPTION
Command-line signal generator application.
OPTIONS -h, --help
show this help message and exit
-a ARGS, --args=ARGS
UHD device address args , [default=]
--spec=SPEC
Subdevice of UHD device where appropriate
-A ANTENNA, --antenna=ANTENNA
select Rx Antenna where appropriate
-s SAMP_RATE, --samp-rate=SAMP_RATE
set sample rate (bandwidth) [default=1000000.0]
-g GAIN, --gain=GAIN
set gain in dB (default is midpoint)
-f FREQ, --tx-freq=FREQ
Set carrier frequency to FREQ [default=mid-point]
-x WAVEFORM_FREQ, --waveform-freq=WAVEFORM_FREQ
Set baseband waveform frequency to FREQ [default=0]
-y WAVEFORM2_FREQ, --waveform2-freq=WAVEFORM2_FREQ
Set 2nd waveform frequency to FREQ [default=none]
--sine Generate a carrier modulated by a complex sine wave
--const
Generate a constant carrier
--offset=OFFSET
Set waveform phase offset to OFFSET [default=0]
--gaussian
Generate Gaussian random output
--uniform
Generate Uniform random output
--2tone
Generate Two Tone signal for IMD testing
--sweep
Generate a swept sine wave
--amplitude=AMPL
Set output amplitude to AMPL (0.0-1.0) [default=0.15]
-v, --verbose
Use verbose console output [default=False]
SEE ALSO uhd_siggen_gui(1)uhd_siggen 3.5 December 2011 UHD_SIGGEN(1)