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

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

Serving Software Downloads in 976 Categories, Downloaded 30.151.455 Times

Device::Audiotron 1.02

  Date Added: July 15, 2010  |  Visits: 986

Device::Audiotron

Report Broken Link
Printer Friendly Version


Product Homepage
Download (88 downloads)

Device::Audiotron provides a tie-in into the API included in the latest firmware for Voyetra Turtle Beachs Audiotron. SYNOPSIS use Device::Audiotron; $at = new Device::Audiotron("Audiotron IP address","username","password"); if(!$at){die "Audiotron object failed to initialize.";} my ($ref_status, $ref_shares, $ref_hosts) = $at->GlobalInfo(); my $firmware_version = $ref_status->{"Version"}; Device::Audiotron provides a tie-in into the API included in the latest firmware for Voyetra Turtle Beachs Audiotron. I highly suggest reading through the API documentation located at http://www.turtlebeach.com/site/products/audiotron/api/dl_api.asp before attempting to implement this module. The available methods for the Audiotron object and an example of usage for each are listed below. The native API call is listed in brackets below each method for informational purposes and for ease in referencing Voyetras API documentation. GetInfo(Type,[Count],[Criteria]) [Apigetinfo.asp] Returns a string containing the results from the command request. $type = "Global"; $info = $at->GetInfo($type); OR $type = "artist"; $count = 4; $criteria = "Staind"; $info = $at->GetInfo($type,$count,$criteria); Qfile(Type,Criteria) [Apiqfile.asp] Returns a string containing the results from the command request. $type = "File"; $file = q|LITHIUMMP3BushdeconstructedComedown.mp3|; $cmd_result = $at->Qfile($type, $file); AddFile(Full_File_Name) [Apiaddfile.asp] Returns a string containing the results from the command request. $file = q|COBALTMP3new_song.mp3|; $cmd_result = $at->AddFile($file); Cmd(Command,[Arg]) [Apicmd.asp] Returns a string containing the results from the command request. $cmd_name = "play"; $cmd_result = $at->Cmd($cmd_name); OR $cmd_name = "goto"; $cmd_arg = "18"; $cmd_result = $at->Cmd($cmd_name, $cmd_arg); GetStatus() [Apigetstatus.asp] Returns a hash containing element names equivalent to the field names returned by the Audiotron. %status = $at->GetStatus(); print $status{State}; GlobalInfo() [See GetInfo] Returns references to a hash, an array, and an array of hashes. This is simply a call to GetInfo with "Global" passed as the type but has been customized to pre-parse the results. ($ref_status, $ref_shares, $ref_hosts) = $at->GlobalInfo(); In the above example $ref_status is a reference to a hash containing element names equivalent to the field names returned from the "status" portion of the results. So for example, to get the version number of the firmware: $firmware_version = $ref_status->{"Version"}; Next, $ref_shares is a reference to an array where each element contains the UNC name for the share as listed in the Audiotron. Lastly, $ref_hosts is a reference to an array of hashes, one hash per host known by the Audiotron. Each hash in the array contains three elements named Host,IP, and State. So for example, to get the IP address of the first host in the array: $ip_add = $ref_hosts->[0]->{"IP"}; Msg(Text_line1,[Text_line2],[Timeout]) [Apimsg.api] Returns a string containing the results from the command request. $line1 = "This is a test."; $line2 = "Just Another Perl Hacker"; $time_out = "5"; $cmd_result = $at->Msg($line1, $line2, $time_out); DumpToc(Share_name) [Apidumptoc.asp] Returns a (sometimes huge!) string containing the results from the command request. $share = q|LITHIUMMP3|; $toc = $at->DumpToc($share); NOTE: This is here just as a placeholder, newer versions will allow the output to be written to a file instead of be handed back as a string. Very inefficient in its current form..

Requirements: No special requirements
Platforms: Linux
Keyword: Api Audiotron Cmd Containing Deviceaudiotron Getinfo Globalinfo Included In Ip Libraries Ref Results Returns Voyetra Turtle Beachs Audiotron
Users rating: 0/10

License: Freeware Size: 4.1 KB
DEVICE::AUDIOTRON RELATED
Network & Internet  -  GNOME Personal Web Server 1.99.5
GNOME Personal Web Server is a user friendly web server with GUI included in GNOME-Network..
1024 KB  
Modules  -  Links Package 5.x-1.8 1.0
An API for module developers is also included in addition to the user-visible settings.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Key features "Links Package": -...
 
Entertainment  -  100's of Weapon Sounds Lite 1.0
100s of Weapon Sounds Lite has an extensive collection containing over 100 PREMIUM QUALITY WEAPON SOUNDS FOR FREE!! All instruments of mayhem that you have come to know and love are included in one massive app! With such a wide variety of buttons...
19.7 MB  
Network & Internet  -  Genders 1.6-1
Genders is a static cluster configuration database used for cluster configuration management. Genders is used by a variety of tools and scripts for management of large clusters. The genders database is accessed by every node in a cluster, either...
163.84 KB  
Network & Internet  -  Studs MVC Framework+ 0.9.7
Studs MVC Framework+ contains a port of Apaches Jakarta Struts to PHP, though the libraries included in the rest of the project are much more vast. In order to implement the Struts port, it was necessary to build a core, object-oriented API in...
112.64 KB  
Libraries  -  MassSpec::CUtilities 0.04
MassSpec::CUtilities is a Perl extension containing C utilities for use in mass spectrometry. SYNOPSIS MassSpec::CUtilities is an XS module so theres a chance that you or your target user might not get it to install cleanly on the target...
16.38 KB  
Security Tools  -  JavaMail Cryptography API 60622
A standard API for accessing OpenPGP and S/MIME email in JavaMail.
16.3 KB  
Communication  -  Simulink programmable pulse generator 1.0
The pulse generator included in Simulink does not provide the ability to programmatically set the parameters. This block provides inputs that allow the amplitude, pulse width, and pulse period to be set. It's fairly simple, but wasn't obvious to...
10 KB  
Development Tools  -  Defining Cartesian Reference Frames based on Point Positions 1.0
The main function included in the attached file is called FRAME. The algorithm implemented in this function can be useful in motion analysis (biomechanics, bioengineering).When you know the 3-D position of at least three non-collinear points, you...
20.48 KB  
Networking  -  Omit Passworded Posts From Search 1.0.1
NOTE: This plugin is no longer necessary as of WordPress 2.8 as this functionality is now built-in.Prevent passworded posts from being included in site search results.By default, WordPress's built-in search feature searches the contents of...
10 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.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...
2.73 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