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

Audio::MadJACK 0.04

  Date Added: September 10, 2010  |  Visits: 957

Audio::MadJACK

Report Broken Link
Printer Friendly Version


Product Homepage
Download (96 downloads)



Audio::MadJACK is a Perl module to talk to MadJACK server using Object Oriented Perl. SYNOPSIS use Audio::MadJACK; my $mj = new Audio::MadJACK( osc.udp://madjack.example.net:4444/ ); $mj->load( Playlist_A/mymusic.mp3 ); $mj->play(); The Audio::MadJACK module uses Net::LibLO to talk to a MadJACK (MPEG Audio Deck) server. It has an Object Oriented style API making it simple to control multiple decks from a single script. new( oscurl ) Connect to MadJACK deck specified by oscurl. A ping is sent to the MadJACK deck to check to see if it is there. If a reply is not recieved or there was an error then undef is returned. load( filepath ) Send a message to the deck requesting that filepath is loaded. Note: it is up to the developer to check to see if the file was successfully loaded, by calling the get_state() method. Returns 1 if command was successfully received or 0 on error. play() Tell the deck to start playing the current track. Returns 1 if command was successfully received or 0 on error. pause() Tell the deck to pause the current track. Returns 1 if command was successfully received or 0 on error. stop() Tell the deck to stop decoding and playback of the current track. Returns 1 if command was successfully received or 0 on error. cue( [$cuepoint] ) Tell the deck to start decoding from $cuepoint, which is the position in the track in seconds. If no $cuepoint is specified, the the deck will start decoding from the start of the track. Returns 1 if command was successfully received or 0 on error. eject() Close the currect track loaded. Returns 1 if command was successfully received or 0 on error. get_state() Returns the current state of the MadJACK deck. Returns one of the following strings: - PLAYING - PAUSED - READY - LOADING - STOPPED - EMPTY - ERROR If no reply if received from the server or there is an error then undef is returned. get_error() Returns the a string describing the current error (if state is ERROR). get_version() Returns the version number of the MadJACK server. get_duration() Returns the durtion (in seconds) of the current track. If no reply if received from the server or there is an error then undef is returned. get_position() Returns the decks position (in seconds) in the current track. If no reply if received from the server or there is an error then undef is returned. get_filepath() Returns the file path of the track currently loaded in the deck (path will be in the same form as originally passed to load()). If no track is currently loaded then an empty string is returned. If no reply if received from the server or there is an error then undef is returned. ping() Pings the remote deck to see if it is there. Returns 1 if the server responds, or 0 if there is no reply. get_url() Returns the OSC URL of the MadJACK deck..

Requirements: No special requirements
Platforms: Linux
Keyword: Audiomadjack Deck Error If Command Madjack No Reply Object Oriented Object Oriented Perl Perl Module Received Returns Server Talk To To Talk To
Users rating: 0/10

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


AUDIO::MADJACK RELATED
Libraries  -  Devel::Command::NewF 0.02
Devel::Command::NewF is a Perl module with the extended f command for the debugger. SYNOPSIS # In .perldb (or perldb.ini on Windows) use Devel::Command; # Devel::Command::NewF loaded automatically perl -de0 Patching with...
5.12 KB  
Libraries  -  SVK::Command::Help 1.08
SVK::Command::Help is a Perl module to show help. OPTIONS Optionally svk helps can pipe through a pager, for it is easier to read if the output is too long. For using this feature, please set environment variable SVKPAGER to some pager...
266.24 KB  
Libraries  -  Net::DBus::Error 0.33.4
Net::DBus::Error is a Perl module with error details for remote method invocation. SYNOPSIS package Music::Player::UnknownFormat; use base qw(Net::DBus::Error); # Define an error type for unknown track encoding type # for a music player...
94.21 KB  
Libraries  -  Apache::ErrorControl 1.026
Apache::ErrorControl Perl module is an Apache Handler for Templating Apache Error Documents. This mod_perl content handler will make templating your ErrorDocument pages easy. Basically you add a couple of entries to your httpd.conf file restart...
10.24 KB  
Libraries  -  POE::Component::ControlPort::Command 0.01
POE::Component::ControlPort::Command is a Perl module with register control port commands. SYNOPSIS use POE::Component::ControlPort::Command; POE::Component::ControlPort::Command->register( name => test, topic => sample_commands, usage =>...
12.29 KB  
Libraries  -  Net::Server::Mail::ESMTP::XFORWARD 0.15
Net::Server::Mail::ESMTP::XFORWARD is a Perl module to add support to the XFORWARD command in Net::Server::Mail::ESMTP. SYNOPSIS use Net::Server::Mail::ESMTP; my @local_domains = qw(example.com example.org); my $server = new...
15.36 KB  
Libraries  -  Filesys::DiskFree 0.06
Filesys::DiskFree is a Perl module to perform the Unix command df in a portable fashion. SYNOPSIS use Filesys::DiskFree; $handle = new Filesys::DiskFree; $handle->df(); print "The root device is ".$handle->device("/")."n"; print "It has...
5.12 KB  
Libraries  -  Test::Version 0.02
Test::Version is a Perl module that has the role to check for VERSION information in modules. SYNOPSIS use Test::Version; plan tests => $num_tests; version_ok( $file ); FUNCTIONS version_ok( FILENAME, [EXPECTED, [NAME] ] ) version_ok...
5.12 KB  
Libraries  -  Mac::Errors 1.13
Mac::Errors is a Perl module with constants for Mac error codes. SYNOPSIS use Mac::Errors qw(openErr); if( $value == openErr ) { ... } my $error = $MacErrors{ $symbol }; # -- OR -- my $error = $MacErrors{ $number }; my $symbol =...
54.27 KB  
Libraries  -  Getopt::Clade 0.0.1
Getopt::Clade is a Perl module with command-Line Argument Declaration Engine. This module is a placeholder for the real Getopt::Clade module. The module was supposed to be released by July 2005, to support the book "Perl Best Practices"....
3.07 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