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)
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)
Hello
I use a bash script to creating the hosts file /etc/hosts
But there is a bug inside my output and I want to fix this.
My Array looks like this:
205,IP 111.122.133.20
205,HOST2 unas
205,HOST1 unas15533
205,COMMENT # UNAS
775,IP ... (9 Replies)
Discussion started by: Marti95
9 Replies
LEARN ABOUT DEBIAN
audio::file::type
Audio::File::Type(3pm) User Contributed Perl Documentation Audio::File::Type(3pm)NAME
Audio::File::Type - represents an audio filetype
DESCRIPTION
An instance of an object inherited from Audio::File::Type is returned by the constructor of Audio::File. This object currently provides
access to the audio files information like its audio properties (bitrate, sample rate, number of channels, ...) and the data stored in the
files tag, but also providing access to the raw audio data and other information should be easy to be implemented.
METHODS
new
Constructor. In fact you don't need to use it. Please use Audio::File which will call the appropriate constructor corresponding to the
files type.
init
This method will be called by the constructor. It's empty by default and should be overwritten by inheriting subclasses to initialize
themselfes.
name
Returns the name of the audio file.
is_readable
Checks whether the file is readable or not. At the moment it's only used by the constructor, but it will be more usefull with later
versions of Audio::File.
is_writeable
Checks whether the file is writeable or not. At the moment you'll probably don't need to call this method, but it'll be more usefull as
soon as changing the audio file is implemented.
tag
Returns a reference to the files tag object. See the documentation of Audio::File::Tag to learn about what the tag object does.
audio_properties
Returns a reference to the files audio properties object. See the documentation of Audio::File::AudioProperties to get information about
what the audio properties object does.
save
Saves the audio file. This is not yet implemented but it should remember me to do it at some time.. :-)
type
Returns the files type.
TODO
implement changing the file
SEE ALSO
Audio::File, Audio::File::Tag, Audio::File::AudioProperties
AUTHOR
Florian Ragwitz <flora@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2004 Florian Ragwitz
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
perl v5.10.0 2005-02-18 Audio::File::Type(3pm)