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.208.262 Times

Audio::SPX 0.0801

  Date Added: November 01, 2010  |  Visits: 886

Audio::SPX

Report Broken Link
Printer Friendly Version


Product Homepage
Download (106 downloads)



Audio::SPX is a Perl interface to the Sphinx-II audio library. SYNOPSIS use Audio::SPX; my $ad = Audio::SPX->open_sps(16000); $ad->start_rec or die "start_rec failed"; $ad->stop_rec or die "stop_rec failed"; my $samples = $ad->read($buf, $max); my $cad = Audio::SPX::Continuous->init($ad); my $cad = Audio::SPX::Continuous->init_nbfh($fh, $sps); my $cad = Audio::SPX::Continuous->init_raw($fh, $sps); $cad->calib; $cad->calib_loop($buf); $cad->set_thresh($sil, $sp); $cad->set_params($delta_sil, $delta_speech, $min_noise, $max_noise, $winsize, $speech_onset, $sil_onset, $leader, $trailer); my ($delta_sil, $delta_speech, $min_noise, $max_noise, $winsize, $speech_onset, $sil_onset, $leader, $trailer) = $cad->get_params; # If init_raw was used, this will consume the data in $buf, then # write back any non-slience data. Yes, this feature is # undocumented in the Sphinx-II headers. Yes, its very useful. my $samples = $cad->read($buf, $max); $cad->reset; $cad->detach; $cad->attach($ad); $cad->read_ts; $cad->set_logfp(*FH); Warning! This interface is suboptimal and is therefore probably going to change, both in the Perl module and the underlying library. BUGS The only supported sample rate for Audio::SPX is 16kHz (Audio::SPX::Continuous should be fine with others). init_sps() will simply fail rudely if you try something else... which means it isnt really very useful. I suggest either opening the audio device yourself, setting non-blocking mode (beware, some sound drivers dont like this...) and passing it to the init_nbfh method in Audio::SPX::Continuous, or using init_raw and managing the audio device yourself. There isnt enough documentation yet, partly because the API is somewhat in flux, and partly because I havent figured out what some of this stuff does either..

Requirements: No special requirements
Platforms: Linux
Keyword: Audio Audiospx Ii Init Interface Libraries Perl Programming Sil Speech Spx
Users rating: 0/10

License: Freeware Size: 91.14 KB
USER REVIEWS
More Reviews or Write Review


AUDIO::SPX RELATED
Network & Internet  -  mod_perl 2.0.3
mod_perl project brings together the full power of the Perl programming language and the Apache HTTP server. You can use Perl to manage Apache, respond to requests for web pages and much more. mod_perl gives you a persistent Perl interpreter...
3.5 MB  
Libraries  -  Audio::TagLib::ID3v2::SynchData 1.42
Audio::TagLib::ID3v2::SynchData is a Perl module with a few functions for ID3v2 synch safe integer conversion. SYNOPSIS use Audio::TagLib::ID3v2::SynchData; print Audio::TagLib::ID3v2::SynchData->toUInt(...
1.4 MB  
Libraries  -  Audio::Play 1.029
Audio::Play is an interface for Audio::Data to hardware. SYNOPSIS use Audio::Data; use Audio::Play; $audio = Audio::Data->new(...) $svr = Audio::Play->new; $svr->play($audio); Audio::Play is an wrapper class which loads...
88.06 KB  
Utilities  -  Perl OS 4
Perl OS is a program written in the Perl programming language combined with the Perl module Tk. Perl OS was created to make an easy interface to run Perl/Tk programs. It was also created to be an easy working environment complete with a text...
143.36 KB  
Libraries  -  Db::Documentum 1.63
Db::Documentum is a Documentum API interface for Perl. SYNOPSIS use Db::Documentum qw(:all); scalar = dmAPIGet( ); $sessionID = dmAPIGet("connect,docbase,username,password"); scalar = dmAPIExec( ); $rv =...
296.96 KB  
Libraries  -  Lufs::C 0.21
Lufs::C is a C interface to perl. ABSTRACT This interface is used by the C code to call the perl subs. SEE ALSO perlfs.c.
24.58 KB  
Libraries  -  DBI 1.57
DBI is a database independent interface for Perl. SYNOPSIS use DBI; @driver_names = DBI->available_drivers; %drivers = DBI->installed_drivers; @data_sources = DBI->data_sources($driver_name, %attr); $dbh = DBI->connect($data_source,...
481.28 KB  
Development Editors  -  wxPerl for Linux 2.8.7
wxPerl is an extension module allowing the creation of GUI (Graphical User Interface) from Perl; it is built as a wrapper for the awesome wxWidgets C++ GUI toolkit. You can look at some screenshots or read about wxPerl users. A wxPerl Wiki is also...
2.29 MB  
Programming  -  Acme::BOPE 0.01
Created at the base of the hill of Babylon, New York, in full evening of funk, this module allows you to make inroads Perl programming using just jargon and language taken from the famous movie "Elite Squad" director Jose Padilha
10.24 KB  
Web Authoring  -  WebAPP 1.0 SE
WebAPP is a popular, open source Content Management System (cms) written in the Perl programming language. The name WebAPP is an abbreviation of Web Automated Perl Portal. Available under the GNU General Public License, WebAPP is free software....
2 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB