In Windows, it's basically PlaySound function after you made the WAV file, which can be in memory.
I put into an addon prototype, currently in SVN http://www.jsoftware.com/svn/addons/trunk/sound/wav/ --- "Miller, Raul D" <[EMAIL PROTECTED]> wrote: > Does anyone know how to play audio from J? > > For example, let's say I create a 1 second 440Hz sine > wave, sampled at 44100Hz: > > sound=: 1 o.440*2p1*(i.%])44100 > > Does anyone know how to use the cd interface on > any platform to play this sound? (Note that I don't > have a mac, but I can borrow one.) As a lesser > priority, is there a stereo interface for this stuff? > > It seems to me that J should be a nice environment > to work with sound, but I don't know how to find > the simple core of the plethora of interfaces. > > And, as a final question: does anyone know how > get sound input (microphone) into J? > > Thanks, > > -- > Raul > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
