Interesting solution! I'm surprised it can tell the diff between 6000 and 6001 hz, most audio devices run at fixed frequencies and most players don't bother correcting. Using your much-beloved sox utility on a fixed-rate raw file might give you more reliable and portable control -- resample it to one rate and force it to output at another rate.
:cool: after installing solaris 10 5/08/09 directory the computer rebooting then the massage "out of frequency" appear.i want a solution first
second my main board is GA-MA780G UD3H (14 Replies)
Hi,
Could anyone help me with the following question, if I have two colums (names and frequency) as follows in a file called name.txt
Michael 1
Jones 1
Ben 2
Rebeca 4
David 1
and I want to use bash script called freqnames.sh that takes one argument (name) and the output should be... (3 Replies)
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'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)
This is a small program as a tester for a basic sweep generator for bandwidth testing of AudioScope.sh.
This DEMO is only capable of 4KHz down to about 85Hz and back due to the low bit rate, but it is proof of concept for a much wider variant using a much higher bit rate.
The file generated... (4 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...
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
sdl::audiocvt
pods::SDL::AudioCVT(3pm) User Contributed Perl Documentation pods::SDL::AudioCVT(3pm)NAME
SDL::AudioCVT -- Audio Conversion Structure
CATEGORY
Core, Audio, Structure
SYNOPSIS DESCRIPTION
The "SDL::AudioCVT" is used to convert audio data between different formats. A "SDL::AudioCVT" structure is created with the
"SDL::AudioCVT-"build> function, while the actual conversion is done by the "SDL::Audio::convert_audio" function.
METHODS
new
This constructor returns an empty "SDL::AudioCVT" structure.
build
$cvt = SDL::AudioCVT->build( $src_format, $src_channels, $src_rate
$dst_format, $dst_channels, $dst_rate );
Before an "SDL::AudioCVT" structure can be used to convert audio data it must be initialized with source and destination information.
"src_format" and "dst_format" are the source and destination format of the conversion. (For information on audio formats see
"SDL::AudioSpec"). "src_channels" and "dst_channels" are the number of channels in the source and destination formats. Finally, "src_rate"
and "dst_rate" are the frequency or samples-per-second of the source and destination formats. Once again, see "SDL::AudioSpec".
Currently (SDL-1.2.11) only rate conversions of 2x and (1/2)x with x > 0 are done, nearing the requested rate conversion.
See "SDL::Audio::convert_audio".
needed
Set to one if the conversion is possible
src_format
Audio format of the source
dest_format
Audio format of the destination
rate_incr
Rate conversion increment
len
Length of the original audio buffer in bytes
len_cvt
Length of converted audio buffer in bytes (calculated)
len_mult
"buf" must be "len*len_mult" bytes in size (calculated)
len_ratio
Final audio size is "len*len_ratio"
AUTHORS
See "AUTHORS" in SDL.
perl v5.14.2 2012-05-28 pods::SDL::AudioCVT(3pm)