|
Audio::OSC::Client - OpenSound Control client implementation |
Audio::OSC::Client - OpenSound Control client implementation
use Audio::OSC::Client;
my $client = Audio::OSC::Client->new(Host => "192.168.3.240", Port => 7777)
or die "Could not start client: $@\n";
# This is a very slow fade-in...
for (0..100) {
$client->send(['/Main/Volume', 'f', $_ / 100]);
sleep(1);
}
This module implements an OSC client sending messages via UDP.
Audio-OSC-Client talking to localhost:7123.
Returns undef on failure (in this case, $@ is set).
name()host()port()send($data)
The OpenSoundControl website: http://www.cnmat.berkeley.edu/OpenSoundControl/
Christian Renz, <crenz@web42.com>
Copyright 2004 by Christian Renz <crenz@web42.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|
Audio::OSC::Client - OpenSound Control client implementation |