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

POE::Component::Player::Mpg123 1.2

  Date Added: April 02, 2010  |  Visits: 1.107

POE::Component::Player::Mpg123

Report Broken Link
Printer Friendly Version


Product Homepage
Download (104 downloads)

SYNOPSIS use POE qw(Component::Player::Mpg123); $mp = POE::Component::Player::Mpg123->new(); $mp->play("/tmp/test.mp3"); POE::Kernel->run(); This component is used to manipulate the mpg123 player from within a POE application. The less common but open-source mpg321 has also been tested. METHODS An object oriented interface is provided as follows: new [hash[-ref]] Used to initialise the system and create a module instance. The optional hash (or hash reference) may contain any of the following keys: alias Indicates the name of a session to which events will be posted. Default: main. dev Specifies device to play to. Default: /dev/dsp. xargs Allows for passing extra arguments to the underlying application. < event-name > Any event fired by this module can be mapped to a name of choice. This is useful for differentiating this components events from some other components e.g. done = "mpg123_done"> will cause the component to fire an mpg123_done event at the main session, instead of the usual done. For a comprehensive listing of events fired, please refer to the EVENTS section below. start This method starts the player. While it should not be necessary to ever call this method directly since the new() method calls it automatically, this method allows for restarting the player in such instances as when it dies. play < path > This method requires a single parameter specifying the full path name of an mp3 file to play. stop pause resume None of these methods take any parameters and will do exactly as thier name implies. Please note that pause/resume are semaphored i.e. issuing a pause whilst the system is already paused will do exactly diddley. vol < integer > This method requires a valid integer between 0 and 100 to indicate the volume level. Please note that volume support is not available on all versions of the mpg123 player. Consult your versions documentation to verify whether this will work. seek < to > This method fast-forwards or rewinds or jumps the metaphoric playhead to a specified location. The to argument passed should adhere to the regex [+-]d+[%]. If the number provided is preceeded by a + or a - then the number is treated as a relative offset where positive indicates forwards and negative backwards. If no sign is passed, the number is treated as an absolute offset. Additionally, if the number is followed by a percent sign, it is treated as a percentage and should be between 0 and 100, else it is treated as a frame number. Please note that passing out-of-bounds values will not generate an error but will be silently adjusted as necessary. stat This method has been kept from sungos original package... though I dont know what its supposed to do. In my version of mpg123 it generates an error @E Unknown command STAT. xcmd < string > This method allows for the sending of arbitrary commands to the player e.g. equalize such that as the underlying player offers new features, these can be utilised without having to modify the component. quit This method causes the mp3 player to shut down..

Requirements: No special requirements
Platforms: Linux
Keyword: Libraries Method Number Play Player Poe Programming Treated
Users rating: 0/10

License: Freeware Size: 7.17 KB
POE::COMPONENT::PLAYER::MPG123 RELATED
Video Editors  -  XMovie 1.9.13
XMovie was originally written as a simple, fast method to play uncompressed movies with stereo sound back when the only uncompressed movie player was xanim and the only MPEG player was MTV. XAnim didnt play stereo sound and MTV was a $15...
1.96 MB  
Libraries  -  Games::Euchre::AI 1.02
Games::Euchre::AI is a Player API for Euchre card game. This class implements a skeletal Euchre player programming interface. Subclasses can be created quite easily as interactive interfaces or AI computer players. If you wish to write your own...
21.5 KB  
Libraries  -  Term::TtyRec::Player 0.03
Term::TtyRec::Player is a Perl module that playbacks ttyrec data. SYNOPSIS use Term::TtyRec::Player; use FileHandle; # $handle is any IO::* object my $handle = FileHandle->new(file.tty); my $player = Term::TtyRec::Player->new($handle);...
4.1 KB  
Multi-Purpose Video Players  -  DivX Play Bundle (incl. DivX Player) 6.2
This bundle includes the DivX Player and DivX 6.2 codec. Both are free and no adware is included in the package. The DivX Player plays all .AVI and .divx files that contain DivX video and MP3 audio (including DivX 3, 4, 5 and 6 video formats), and...
14.84 MB  
Audio Tools  -  Cue Player Premium 3.11.11
Cue Player Premium is compact program that will help you play theater sound cues and create new cues from regular audio files. If you can get your cues into .wav, .ogg, wma or .mp3 files, and there are many programs to do this, plus the CDs of...
 
MP3 Players  -  Cool MP3 Player 1.0
For the PC users out there that want an MP3 player with all the must-have features, but none of the extras. Cool MP3 Player features Playlist creation, shuffle, repeat, and an equalizer. The program is a lot more simple, smaller and easier to use...
299 KB  
Multimedia  -  Music Player Daemon 0.18
Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. Through plugins and libraries it can play a variety of sound files while being controlled by its network protocol. For more information, read about what...
 
Audio Tools  -  Open Music Player Portable 0.3.3015 Beta
OpenMusicPlayer is a music player with very low resource usage. It is capable of playing MP3, OGG, AAC, FLAC, WAV, WMA, TTA. It can download lyrics, play CDs and internet radio. You can make file queue and edit them. You can choose between 7...
9 MB  
Audio Tools  -  Nulloy Music Player 0.3.2 Alpha
Nulloy Music Player is a small, easy-to-use application specially designed to help you listen to your favorite music. Basically all that you have to do is load the files and press the Play button. So, if you were looking for a straightforward...
 
Audio Tools  -  Open Music Player 0.3.3015 Beta
OpenMusicPlayer is a music player with very low resource usage. It is capable of playing MP3, OGG, AAC, FLAC, WAV, WMA, TTA. It can download lyrics, play CDs and internet radio. You can make file queue and edit them. You can choose between 7...
9 MB  
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