I tried this on cygwin and I had to replace
with
and guess what??? it worked
I heard the sound
Can you please share more about creating .wav files and with different frequencies...also suggest a good book on this
Thanks
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 LINUX
mixer
MIXER(1) The Canonical Csound Reference MIXER(1)NAME
mixer - Mixes together a number of soundfiles. .
DESCRIPTION
Mixes together a number of soundfiles, starting at different times and with individual channel selection from the input files.
SYNTAX
mixer [OPTIONS ... ] infile [[OPTIONS... ] infile] ...
INITIALIZATION
Flags:
o -A = Generate an AIFF output file.
o -W = Generate an WAV output file.
o -h = Generate an output file with no header.
o -c = Generate 8-bit signed_char sound samples.
o -a = Generate alaw sound samples.
o -u = Generate ulaw sound samples.
o -s = Generate short integer sound samples.
o -l = Generate long (32 bit) integer sound samples.
o -f = Generate floating point samples.
o -F arg = Specifies the gain to be applied to the following input file. If arg is a floating point number that gain is applied uniformly
to the input. Alternatively it could be a file name which specifies a breakpoint file for varying the gain for different periods.
o -S integer = Indicate at which sample to start to mix in the next input file.
o -T fpnum = Indicate at which time (in seconds) to start to mix in the next input file.
o -1 = Mix in channel 1 from next sound file.
o -2 = Mix in channel 2 from next sound file.
o -3 = Mix in channel 3 from next sound file.
o -4 = Mix in channel 4 from next sound file.
o -^ intx inty = Mix in channel x from next sound file as channel y in the output.
o -v = Verbose mode.
o -R = Continually rewrite the header while writing soundfile (WAV/AIFF).
o -H integer = Show a "heart-beat" to indicate progress, in style 1, 2 or 3.
o -N = Alert call (usually ringing the bell) when finished.
o -o fname = output file name (default: test.wav)
EXAMPLES
The default values are
mixer -s -otest -F 1.0 -S 0
For example
mixer -F 0.96 in1.wav -S 300 -2 in2.aiff -S 300 -^4 1 in3.wav -o out.wav
This creates a new sound file with a constant gain of 0.96 from in1.wav with the second channel of in2.aiff mixed in after 300 samples and
channel 4 of in3.wav outpout as channel 1 after 300 samples.
CREDITS
Author: John ffitch
1994
AUTHORS
Barry Vercoe
MIT Media Lab
Author.
Dan Ellis
MIT Media Lab,
Cambridge
Massachussetts
Author.
COPYRIGHT 5.07 06/23/2009 MIXER(1)