Csound Csound-dev Csound-tekno Search About

[Csnd] Java API

Date2009-07-23 17:16
Fromjpff
Subject[Csnd] Java API
I have a student (well not mine but in Bath) who wants to drive Csound
from Java, controlling instruments via channels and collecting audio
output into Java.  So far I have not found a simple Tutorial or ref
manual for this (I found two articles in the Journal)
  Any suggestions or pointers?
  Just found Rory's tutorial -- is that the correct place to start?
Does not seem to mention JAVA

==John ffitch

Date2009-07-23 17:22
FromRory Walsh
Subject[Csnd] Re: Java API
My tutorial doesn't have any java in it at all. Are the journal
articles not enough to get things moving? Searching through this list
my also show up some basic code. Finally didn't Victor write a java
csd player that ships with Csound on OSX? Although I remember seeing
it once I can't find the code in the Csound cvs.

Rory.




2009/7/23 jpff :
> I have a student (well not mine but in Bath) who wants to drive Csound
> from Java, controlling instruments via channels and collecting audio
> output into Java.  So far I have not found a simple Tutorial or ref
> manual for this (I found two articles in the Journal)
>  Any suggestions or pointers?
>  Just found Rory's tutorial -- is that the correct place to start?
> Does not seem to mention JAVA
>
> ==John ffitch
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Date2009-07-23 18:14
FromSteven Yi
Subject[Csnd] Re: Java API
I don't know if you found the article by Jean-Pierre Lemoine:

http://www.csounds.com/journal/issue5/HPKcomposer.html

but it has an example of API usage.  I use the API in blue and one of
the classes that your student may want to look at is here:

http://bluemusic.svn.sourceforge.net/viewvc/bluemusic/blue/trunk/blue-ui-core/src/blue/ui/core/render/APIRunner.java?revision=3927&view=markup

I'm also happy to help via email if your student has any questions.

Cheers!
steven

On Thu, Jul 23, 2009 at 9:16 AM, jpff wrote:
> I have a student (well not mine but in Bath) who wants to drive Csound
> from Java, controlling instruments via channels and collecting audio
> output into Java.  So far I have not found a simple Tutorial or ref
> manual for this (I found two articles in the Journal)
>  Any suggestions or pointers?
>  Just found Rory's tutorial -- is that the correct place to start?
> Does not seem to mention JAVA
>
> ==John ffitch
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Date2009-07-23 18:19
FromMichael Gogins
Subject[Csnd] Re: Java API
This is definitely possible.

Peter Brinkmann is using this approach to generate sounds for use in
his mathematics visualization program, JReality, which is written in
Java.

Regards,
Mike

On 7/23/09, jpff  wrote:
> I have a student (well not mine but in Bath) who wants to drive Csound
> from Java, controlling instruments via channels and collecting audio
> output into Java.  So far I have not found a simple Tutorial or ref
> manual for this (I found two articles in the Journal)
>   Any suggestions or pointers?
>   Just found Rory's tutorial -- is that the correct place to start?
> Does not seem to mention JAVA
>
> ==John ffitch
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>


-- 
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com