Csound Csound-dev Csound-tekno Search About

RE:

Date1997-06-12 06:24
FromDustin Barlow
SubjectRE:
Not to dog out Java, because it is a nice language,  but...

I have been apart of some testing of real-time DSP Java code, and have been very unimpressed.  The language is definetely not optimized to gracefully handle real-time DSP stuff.  You get far better throughput in C/C++.   Now for non-real time stuff, I see no problem.  We've all had to wait for a CSound compile at some point in our musical lives, even though now waiting for CSound is becoming a thing of the past, so I guess it is no big deal to wait for a Java app to compile your soundfile.  Java definetely has the language base to do complicated calculations, the question I think your asking is does it do it efficiently...In my opinion, not now, but maybe later on.

Dustin

Omni Digital Systems
http://www.omnids.com

-----Original Message-----
From:	Peter [SMTP:peter@va.com.au]
Sent:	Wednesday, June 11, 1997 10:44 PM
To:	gogins@nyc.pipeline.com
Cc:	csound@noether.ex.ac.uk
Subject:	

>I would be very interested to hear from anyone else who has experience with
>Java and sound synthesis. I will report any results I obtain with more
>complex and realistic Java synthesis software.

Here is a web site that features a graphicly driven software synth written
in Java - check it out ...

Zrs.Synth 0.95
http://zerius.victoria.bc.ca/synth/


Have fun
Peter Sansom

http://sustenance.va.com.au



Date1997-06-12 13:57
FromRichard Dobson
SubjectRe: Java synthesis
Dustin Barlow wrote:
> Not to dog out Java, because it is a nice language,  but...
> 
> I have been apart of some testing of real-time DSP Java code, and have =
> been very unimpressed.  The language is definetely not optimized to =
> gracefully handle real-time DSP stuff.  You get far better throughput in =
> C/C++.   Now for non-real time stuff, I see no problem.  We've all had =
> to wait for a CSound compile at some point in our musical lives, even =
> though now waiting for CSound is becoming a thing of the past, so I =
> guess it is no big deal to wait for a Java app to compile your =
> soundfile.  Java definetely has the language base to do complicated =
> calculations, the question I think your asking is does it do it =
> efficiently...In my opinion, not now, but maybe later on.

I have been wondering about this for some time. I have never really thought 
that Java could do real-time audio through direct programming at low level.
What we really need are additions to the Java spec, to include low-level
audio primitives and output streaming facilities, to say nothing of support for
CD-quality audio files. I have heard vague rumours about such a possibility,
but nothing definite. Any concrete information on this would be of great
interest. 

Needless to say, Microsoft plug-ins are not the answer...


Richard Dobson




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21400;
          12 Jun 97 15:52 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa17473;
          12 Jun 97 15:52 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Thu, 12 Jun 1997 15:52:03 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA20451);
          Thu, 12 Jun 1997 15:29:07 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Thu, 12 Jun 97 15:28:57 +0100
Received: from lms02.ny.us.ibm.com [198.133.29.70] by hermes 
          via SMTP (PAA20436); Thu, 12 Jun 1997 15:28:54 +0100
Received: from d04lms03.raleigh.ibm.com 
          by lms02.us1.ibm.com (AIX 4.1/UCB 5.64/4.03)          id AA11748;
          Thu, 12 Jun 1997 14:34:29 GMT
Received: by US.IBM.COM (Soft-Switch LMS 2.0) with snapi via D04AU014          
          id 5040300002189881; Thu, 12 Jun 1997 10:30:13 -0400
From: Michael Minnick 
To: csound 
Subject: Re: Java synthesis
Message-Id: <5040300002189881000002L012*@MHS>
Date: Thu, 12 Jun 1997 10:30:13 -0400
Mime-Version: 1.0
Content-Type: text/plain
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Richard Dobson wrote:

> What we really need are additions to the Java spec, to include low-level
> audio primitives and output streaming facilities, to say nothing of support
for
> CD-quality audio files. I have heard vague rumours about such a possibility,
> but nothing definite. Any concrete information on this would be of great
> interest.

JavaSoft has licenced the software synthesis engine from HeadSpace for
inclusion in a future version of Java. Try http://www.headspace.com for
information on the  technology. See http://www.javasoft.com for release dates,
etc. As far as CD-quality audio support and streaming, see the Java Media
Framework spec at http://www.javasoft.com/products/java-media/jmf/index.html. I
think Intel and SGI have JMF players you can use now.

Mike

Internet: mminnick@us.ibm.com
Notes: Michael Minnick/Austin/IBM
VM: mminnick at bcrvm1
T/L: 678-9913 (512-838-9913)
http://rudolph.austin.ibm.com/



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21410;
          12 Jun 97 15:55 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa17530;
          12 Jun 97 15:55 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Thu, 12 Jun 1997 15:54:50 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (PAA20744);
          Thu, 12 Jun 1997 15:32:03 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Thu, 12 Jun 97 15:31:54 +0100
Received: from jaguar.ir.miami.edu [129.171.32.10] by hermes 
          via ESMTP (PAA20700); Thu, 12 Jun 1997 15:31:48 +0100
Received: from [129.171.54.83] ("port 2070"@[129.171.54.83]) 
          by jaguar.ir.miami.edu (PMDF V5.1-5 #16638) with SMTP 
          id <0EBO30YAD00MKV@jaguar.ir.miami.edu> 
          for csound@maths.exeter.ac.uk; Thu, 12 Jun 1997 10:31:46 -0400 (EDT)
Date: Thu, 12 Jun 1997 10:31:26 -0400
From: Keith Kothman 
Subject: Re: Java synthesis
X-Sender: kkothman@jaguar.ir.miami.edu
To: Richard Dobson 
Cc: csound@maths.ex.ac.uk
Message-Id: <0EBO30YAE00MKV@jaguar.ir.miami.edu>
Mime-Version: 1.0
X-Mailer: Claris Emailer 1.1
Content-Type: text/plain; charset="US-ASCII"
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

>I have been wondering about this for some time. I have never really thought 
>that Java could do real-time audio through direct programming at low level.
>What we really need are additions to the Java spec, to include low-level
>audio primitives and output streaming facilities, to say nothing of 
>support for
>CD-quality audio files. I have heard vague rumours about such a possibility,
>but nothing definite. Any concrete information on this would be of great
>interest. 
>
>Needless to say, Microsoft plug-ins are not the answer...
>
>
>Richard Dobson

Sun has licensed the Headspace audio engine for use in Java.  You can get
press release info from the Headspace web site at www.headspace.com.
I'm not sure about streaming, but it allows for multiple CD quality 
audio file playback, and softsynth MIDI.  



_______________________________________________________________
Keith Kothman                          kkothman@music.miami.edu
Department of Theory & Composition   http://www.music.miami.edu/  
University of Miami School of Music                305.284.4338 
                                              fax: 305.284.4448
_______________________________________________________________





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa21624;
          12 Jun 97 17:11 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa19726;
          12 Jun 97 17:11 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Thu, 12 Jun 1997 17:11:26 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (QAA27572);
          Thu, 12 Jun 1997 16:45:31 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Thu, 12 Jun 97 16:45:24 +0100
Received: from mail1.sirius.com [205.134.253.131] by hermes 
          via ESMTP (QAA27540); Thu, 12 Jun 1997 16:45:09 +0100
From: anechoic@sirius.com
Received: from default (ppp045-sm0.sirius.com [205.134.229.45])	by mail1.sirius.com (8.8.5/Sirius-8.8.5-97.06.11) 
          with SMTP id IAA06408	for ;
          Thu, 12 Jun 1997 08:44:37 -0700 (PDT)
Message-Id: <1.5.4.32.19970612154358.00868030@mail.headspace.com>
X-Sender: kim@mail.headspace.com
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 12 Jun 1997 08:43:58 -0700
To: csound@maths.ex.ac.uk
Subject: HAE in the core of Java
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

yes the Headspace audio engine has been licensed to Sun Microsystems for
inclusion in the Java spec (you should see some of this show up in the
JDK1.2)...Beatnik (the environment around the HAE) is basically a wavetable
(sample playback) software synth that comforms to the GM MIDI spec but has
provision to add custom samples and export them (plus MIDI file) in an RMF
file format...this RMF wrapper can be thought of as MOD++ as it allows 40
bit encryption, file compression  and watermarking for copyright
purposes...the Beatnik sound set was developed in house (partly by me) and
vastly exceeds any other GM soundset on the market in terms of aesthetic
quality (ie: its very adept at creating good electronic music ala techno,
drum and bass, ambient etc)...but since you can import custom samples you're
not limited by what we think a good soundbank should contain...I've been
creating some samples in Csound (and Virtual Waves) and importing them into
Beatnik for an Auditory Display project I'm working on for
Headspace...additionally there is a javascript function library for the
Netscape plugin that allows programmers to implement a good degree of
interactivity (ie: onClick, mouseOver, onLoad etc)...
what Beatnik doesn't do at this time: stream audio, do any flavor of sound
synthesis (except for wavetable of course), algorithmic composition or have
any API for TCP/IP ie: for online jamming...
Java has potential even though the VM's are still 30% slower than
C/C++...the JIT compilers hold some promise although are still 3 -5 times
slower than C/C++...an improvement but still not fast enough for realtime DSP...
one technology that I personally feel offers alot of promise is the
Structured Audio Orchestra Language being developed at
MIT......it presently has a syntax
akin to C but I'm hoping that it takes on more of an OO syntax and/or drops
the orc/sco model...people using Csound should look to this technology since
it will most likely be incorporated into the MPEG-4 spec...the SAOL spec is
online at the URL above please DL it, read it and offer feedback...
there are alot of people doing very interesting work for audio on the net
but unless it incorporates some TCP/IP capability via Java I think we're
still dealing with an old model (closed system)...HAE and SAOL hold alot of
promise for the  future of web audio...
just my .02
KIM
Headspace
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>JavaSoft has licenced the software synthesis engine from HeadSpace for
>inclusion in a future version of Java. Try http://www.headspace.com for
>information on the  technology. See http://www.javasoft.com for release dates,
>etc. As far as CD-quality audio support and streaming, see the Java Media
>Framework spec at http://www.javasoft.com/products/java-media/jmf/index.html. I
>think Intel and SGI have JMF players you can use now.




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22772;
          13 Jun 97 5:28 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa27277;
          13 Jun 97 5:28 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Fri, 13 Jun 1997 05:28:10 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (FAA28423);
          Fri, 13 Jun 1997 05:24:03 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Fri, 13 Jun 97 05:23:56 +0100
Received: from agora.stm.it [194.20.43.1] by hermes via ESMTP (FAA28420);
          Fri, 13 Jun 1997 05:23:52 +0100
Received: from x (ppp01-04.stm.it [194.21.54.4]) by agora.stm.it (8.8.5/8.6.6) 
          with SMTP id GAA25535 for ;
          Fri, 13 Jun 1997 06:23:56 +0200 (ITADST)
Message-Id: <33A021B9.3517@agora.stm.it>
Date: Thu, 12 Jun 1997 18:20:09 +0200
From: Gabriel Maldonado 
X-Mailer: Mozilla 3.01 (Win95; I)
Mime-Version: 1.0
To: Csound Mailing List 
Subject: Win95 MIDI Csound relase 1.73
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hello all,
Now a new version of Win95 MIDI Csound is avalible. The additions are:

Release 1.73 additions (11/6/97)
----------------------
1) New MIDI IN controller UGs. The same as midicXX opcodes but now
   they can be activated by a score i statement without Csound crashes.
   These UGs are : ictrl7, ctrl7, ictrl14, ctrl14, ictrl21, ctrl21.
   A new argument allows the user to define the MIDI channel apart
   from the instrument number.
2) Initialization of controllers now can be set to any value (it can 
   different from the minimum value set in midicXX and ctrlXX. 
   Opcodes initc7, initc14, initc21).

Release 1.72 additions
----------------------
1) Command line can now be included in a file ('-/' flag). Very
   useful using Win95 long names, when command line is more long
   than 138 characters allowed by DOS.
2) ftlen2() function now can return non-power-of-two length of 
   deferred tables created with GEN1.
3) John Fitch's FOG fixing included.

Also sources of the new opcodes are avalaible.

You can download executable and new UGs sources at the following url:

http://www.agora.stm.it/G.Maldonado/download.htm

or at the geocities site (mirror):

http://www.geocities.com/SiliconValley/Way/7041/download.htm

bye and happy csounding :)
-- 
Gabriel Maldonado

mailto:g.maldonado@agora.stm.it
http://www.agora.stm.it/G.Maldonado/home2.htm




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa22941;
          13 Jun 97 8:48 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa29432;
          13 Jun 97 8:48 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Fri, 13 Jun 1997 08:47:58 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (IAA04257);
          Fri, 13 Jun 1997 08:44:46 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Fri, 13 Jun 97 08:44:38 +0100
Received: from mailrelay1.pavilion.net [194.242.128.25] by hermes 
          via ESMTP (IAA04249); Fri, 13 Jun 1997 08:44:37 +0100
Received: from [194.242.131.131] (dialup2-03.pavilion.co.uk [194.242.131.131])	by florence.pavilion.net (8.8.5/8.8.5) 
          with SMTP id IAA24581	for ;
          Fri, 13 Jun 1997 08:44:07 +0100 (BST)
Message-Id: <199706130744.IAA24581@florence.pavilion.net>
X-Sender: hbyrne@mailhost.pavilion.co.uk (Unverified)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 13 Jun 1997 08:47:55 +0000
To: csound@maths.ex.ac.uk
From: Per Byrne Villez 
Subject: Genetic Algorhythms & Neural Nets
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk




I'm trying to locate papers or any other info for that matter on work done
using genetic algorhythms applied to musical discrete events and neural
nets applied to the synthesis (specifically Physical modelling ) of timbre.
Any leads would be much appreciated.
                                        Thanks Per





Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa23128;
          13 Jun 97 10:55 BST
Received: from goggins.bath.ac.uk by stork.maths.Bath.AC.UK id aa04504;
          13 Jun 97 10:55 BST
Received: from hermes.ex.ac.uk by goggins.bath.ac.uk with SMTP (PP);
          Fri, 13 Jun 1997 10:55:07 +0100
Received: from noether [144.173.8.10] by hermes via SMTP (KAA12442);
          Fri, 13 Jun 1997 10:46:04 +0100
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk;
          Fri, 13 Jun 97 10:45:55 +0100
Received: from root@xochi.tezcat.com [204.128.247.12] by hermes 
          via ESMTP (KAA12420); Fri, 13 Jun 1997 10:45:53 +0100
Received: from [204.248.80.120] (antiorp.tezcat.com [204.248.80.120])	by xochi.tezcat.com (8.8.5/8.8.5/tezcat-96091001) 
          with SMTP id EAA03008	for ;
          Fri, 13 Jun 1997 04:45:43 -0500 (CDT)
Date: Fri, 13 Jun 1997 04:45:43 -0500 (CDT)
Message-Id: <199706130945.EAA03008@xochi.tezcat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: csound@maths.ex.ac.uk
From: =cw4t7abs 
Subject: Re: Genetic Algorhythms & Neural Nets
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

>I'm trying to locate papers or any other info for that matter on work done
>using genetic algorhythms applied to musical discrete events and neural
>nets applied to the synthesis (specifically Physical modelling ) of timbre.
>Any leads would be much appreciated.
>                                        Thanks Per


!ntelligent musik werkstation.

iEEE home page.