Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.410.086 Times

Realtime audio input 1.0

  Date Added: August 25, 2013  |  Visits: 429

Realtime audio input

Report Broken Link
Printer Friendly Version


Product Homepage
Download (45 downloads)



I explored different options for realtime audio input (see below for a summary) before having to settling for this option. Unfortunately this solution requires Windows and the Data Acquisition toolbox. I hope to be able to report at some point that this function has been superceded by something more generally useful, so please let me know if you come across something better.Other possibilities:PortAudio (http://www.portaudio.com/): seem to be the workhorse of audio input, but it's in C++, not Matlab codePlayRec.m (http://www.playrec.co.uk/): An adaptation of PortAudio for Matlab. However, support seems to have ended around 2008, and I know several people who have spent many hours failing to compile it for more recent operating systems and/or Matlab versions.PsychPortAudio (http://docs.psychtoolbox.org/PsychPortAudio): This may be the best option, although it requires PsychToolbox, which can be challenging to install itself. Can anyone confirm that PsychPortAudio works for realtime audio input?In the meantime, the detailed function of tgrabaudio.m is described in its help section, copied below for convenience:1/ Initialisation (mandatory) tgrabaudio('start', [fs, [maxduration]]) fs = the sample-rate [default = 44100] maxduration = the maximum delay (in seconds) that is considered an acceptable build-up of audio samples. If this buffer is exceeded during auditory capture, an error will be generated. 2/ Audio capture wave=tgrabaudio(N); N = the number of samples to be "grabbed". wave = by default, stereo input [hard-wired: search the code for "addchannel" to adapt for mono input]3/ Tidying up (mandatory) tgrabaudio('stop') This clears the persistent variables and stops the background audio input. Careful, if this step is omitted, Matlab is likely to crash or behave strangely the next time tgrabaudio is run. NB if a program that uses tgrabaudio crashes before calling tgrabaudio('stop'), don't forget to call tgrabaudio('stop') as soon as possible (either manually or using Matlab's try...catch keywords). EXAMPLE:The following code shows how to use tgrabaudio to input sound inrealtime. For demo purposes, the audio is gathered over a finite period,reconstructed into a single variable, and then simply played back.However, the same construction could be used for continuous processing ofaudio input.>> framesamples=160; fs=16000; totalframes=100;>> wave=zeros(framesamples*totalframes,2);>> pointer=1;>> tgrabaudio('start',fs);>> for ii=1:totalframes>> framedata=tgrabaudio(framesamples);>> %do realtime processing here>> wave(pointer:pointer+framesamples-1,:)=framedata;>> pointer=pointer+framesamples;>> end;>> sound(wave,fs)

Requirements: No special requirements
Platforms: Matlab
Keyword: Adapt Clears Hardwired Persistent Quotaddchannelquot Quotgrabbedquot Search Stereo Tgrabaudio Stop Tidying
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


REALTIME AUDIO INPUT RELATED
Multimedia Integration Tools  -  Blue Cat's Stereo Liny EQ 4.11
Based on Blue Cat's Liny EQ technology, Blue Cat's Stereo Liny EQ is a 9 bands linear phase stereo equalizer. It has the same characteristics as the standard Liny EQ, and it enables separate Left / Right management of the spectrum: automate the...
8.34 MB  
Libraries  -  Search::FreeText 0.05
Search::FreeText is a free text indexing module for medium-to-large text corpuses. SYNOPSIS my $test = new Search::FreeText(-db => [DB_File, "stories.db"]); $text->open_index(); $text->clear_index(); $text->index_document(1, "Hello...
10.24 KB  
Misc. Web Browser Tools  -  Optimal MPEG Audio Search Assistant 1.3
This software aids you to find and keep Digital audio files from Internet via big array of search directories to find the best results. This saved music may be played by every mp3 devices, including iPhone, CD Player etc. All you need is enter the...
768 KB  
Audio Tools  -  Blue Cat's Stereo Chorus 3.62
Based on Blue Cat's Chorus technology, Blue Cat's Stereo Chorus has the same versatility and crystal-clear sounding capabilities as its little brother, plus a subtle to very deep stereo effect feature: just play with the 'stereo' control and get...
 
MP3 Tools  -  Blue Cat's Stereo Chorus for Mac OS X 3.62
Based on Blue Cat's Chorus plugin technology, Blue Cat's Stereo Chorus has the same versatility and crystal-clear sounding capabilities as its little brother, plus a subtle to very deep stereo effect feature: just play with the 'stereo' control...
3.3 MB  
MP3 Tools  -  Blue Cat's Stereo Chorus x64 3.62
Based on Blue Cat's Chorus plugin technology, Blue Cat's Stereo Chorus has the same versatility and crystal-clear sounding capabilities as its little brother, plus a subtle to very deep stereo effect feature: just play with the 'stereo' control...
3.3 MB  
Multimedia Integration Tools  -  FL Studio for Stereo Chorus 1.0
Based on Blue Cat's Chorus plugin technology, Blue Cat's Stereo Chorus has the same versatility and crystal-clear sounding capabilities as its little brother, plus a subtle to very deep stereo effect feature: just play with the 'stereo' control...
20.48 KB  
Audio Tools  -  Blue Cat's Stereo Chorus 3.5
Based on Blue Cat's Chorus plugin technology, Blue Cat's Stereo Chorus has the same versatility and crystal-clear sounding capabilities as its little brother, plus a subtle to very deep stereo effect feature: just play with the 'stereo' control...
4.96 MB  
File Utilities  -  AD Search&Replace 1.9.3
AD Search&Replace will allow you to search for the files containing the line of symbols (with case sensitive or without it), specified by you, on folders tree (also support the network folders) and to replace a required line by another,...
773 KB  
E-Mail Collectors  -  007 Email Spider Easy : Fast Email Search / Email Extractor /Email Finder 3.54C
Email Spider Easy is the Professional Targeted Bulk Email Address Search and Extract Software. 1)Direct Bulk Email Marketing Tool. Invaluable to anyone who uses the internet for marketing purposes. 2)It has the powerful ability to spider and...
333 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB