Re: SV: [linux-audio-dev] digital audio app...

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: SV: [linux-audio-dev] digital audio app...
From: David Slomin (dgslomin_AT_CS.Princeton.EDU)
Date: ti syys   21 1999 - 21:12:48 EDT


On Sun, 19 Sep 1999, Jair-Rohm wrote:

> Just as i suspected, it isn't possible to manipulate .sun.audio sound
> files. So much for a stand-alone digital audio app. Then again, there
> are ways to run an Applet as an application. Could that be a "best of
> both worlds situation"? What about the latest version of the JMF: is
> it possible to download these classes and use them with my Blackdown
> 1.1.3 or 1.1.7?

It is indeed possible to have a stand-alone audio app, "simply" by not
using any of Sun's audio classes; write your own using JNI. If you feel
you must, it is also actually possible to call the "applet-only" sun.audio
classes from an application, but the method of doing so is not documented
nor officially supported. I used to have an URL for the instructions, but
unfortunately I long since lost it; try an AltaVista search (grin).

I haven't tried the JMF. I actually didn't know they had any code for you
to download except for an old Windows-only thing from Intel. Sun's been
posting "proposed specifications" for JFM for years, and I've yet to see
anything usable.

> Have you posted any of your Java music apps? Have you done anything
> with dsp under Java? Do you use JNI for all of the actual "dirty work"
> and just use Java for the GUI? Which version of Java are you using
> under Linux? Have you worked with 1.2 on any other platforms?

Most of my Java/music programming is MIDI related, not audio, so it
probably wouldn't fit your needs. I have a number of half-finished
efforts strewn around backup disks, but I'm only now closing in on
something releasable in that category, a MIDI sequencer called SongPad.

Recent work I've done has enabled me to actually write the sequencer in
pure Java, sending MIDI messages over sockets rather than trying to talk
directly to the hardware or using a non-portable API. Unfortunately, this
is not a practical option for audio, which seems to be your primary
interest. In any event, I'll most likely end up doing it with native
methods anyway, since I don't trust Java's performance.

My development setup on Linux, OSF, Solaris, and Windows alike is JDK 1.1
with Swing 1.1 added onto it. I haven't yet played with non-Swing parts
of the "Java 2" platform, so I'm afraid I can't give any recommendations
about whether the other new bits will work with Blackdown; Swing works
fine.

Div.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:27:12 EST