New in Java

Bypass's icon

Hi all
A basic question,
How can i import source Java code in Max MSP?
Can i use this source code?
http://www.jsresources.org/examples/SimpleAudioPlayer.html

Thanks to answer me

Bypass

nick rothwell | project cassiel's icon

On 22 Feb 2007, at 14:46, bypass wrote:

> Can i use this source code?

Unlikely; I don't know how javax.sound.sampled.* interfaces to the
rest of the world, but it won't have any connection to the MSP signal
path. You could look into linking things up via the MXJ~ API, but it
would take some work. (There is some MXJ~ example code bundled with
Max which does audio file playback.)

    -- N.