Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3447] Re: looking for java code of csound gen routines

Date2003-11-20 19:37
From"gogins@pipeline.com"
Subject[CSOUND-DEV:3447] Re: looking for java code of csound gen routines
The Csound API is a "C" API. You could write a Java interface with the same
calls, then write some C glue code to provide a JNI interface. To do this
you would also need to compile Csound as a DLL or shared library.

Alternatively, you can use CsoundVST, which is an extended version of the
Csound API that already has an experimental Java interface. This is in
Csound CVS as the CsoundVST subdirectory of the csound module. CsoundVST
currently builds only on Windows using Dev-C++, boost, FLTK, and Python.

Original Message:
-----------------
From: Chad A. Wood chad@sphericle.com
Date: Thu, 20 Nov 2003 12:48:47 -0600
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:3444] Re: looking for java code of csound gen routines


Josep,

I didn't quite follow your last sentence.  I would love to be able to just
use the Csound API to call the gen routines.  Would you please tell me where
to look on-line to start figuring out how to interface my Java application
with this API?  Also, do you think there will be a way to do this
interfacing in a platform-independent way?

Chad

> -----Original Message-----
> From: owner-csound-dev@ella.mills.edu
> [mailto:owner-csound-dev@ella.mills.edu]On Behalf Of Josep M
> Comajuncosas Nebot
> Sent: Thursday, November 20, 2003 12:46 PM
> To: Csound Developers Discussion List
> Subject: [CSOUND-DEV:3443] Re: looking for java code of csound gen
> routines
>
>
> It would be better not to recode the original C-sources, and get the
> f-tables via the Csound API. Is it planned to be able to call the
> GEN-routines from the Api to get f-table arrays to be used from an
> external app?
> Josep M Comajuncosas
>
> -----Mensaje original-----
> De: owner-csound-dev@eartha.mills.edu
> [mailto:owner-csound-dev@eartha.mills.edu] En nombre de Chad A. Wood
> Enviado el: jueves, 20 de noviembre de 2003 19:35
> Para: Csound Developers Discussion List
> Asunto: [CSOUND-DEV:3442] Re: looking for java code of csound gen
> routines
>
> Hi Steven,
> 	What's blue?  I do plan on making it open source, but I'm not
> really
> thinking about it too much until I get a good 1.0 of the program, which
> I
> hope to have done by the end of this year.  Once that's done I'll
> probably
> release the code, mainly in hopes that people can write add-ons or
> suggest
> optimizations.
>
> Chad
>
> > -----Original Message-----
> > From: owner-csound-dev@ella.mills.edu
> > [mailto:owner-csound-dev@ella.mills.edu]On Behalf Of steven
> > Sent: Thursday, November 20, 2003 12:44 PM
> > To: Csound Developers Discussion List
> > Subject: [CSOUND-DEV:3441] Re: looking for java code of csound gen
> > routines
> >
> >
> > Hi Chad,
> >
> > Nice job on the software!
> >
> > I'm curious if you will release it as open source, particularly GPL,
> as
> > I would love to look at the source and incorporate it into blue if you
> > would be up for that.
> >
> > Thanks,
> > steven
> >
> > Chad A. Wood wrote:
> >
> > >Hi,
> > >
> > >I've been working for some time on an application called FJenie.
> >  It started
> > >out as a Java port of FGenie, written by Russell Pinkston, a program
> for
> > >generating and editing function tables for Csound.  You can find
> > FGenie at
> > >http://www.utexas.edu/cofa/music/ems/download/fgenie.html and my
> program,
> > >FJenie at http://www.sphericle.com/software/fjenie.php
> > >
> > >I would like to include the ability to generate function tables
> > using Csound
> > >gen routines in the application.  The way I've approached this
> > so far is to
> > >get the Csound c code for these routines and port it to Java.  I've
> found
> > >this to be rather difficult!  I'm wondering if anyone has already
> done
> > >something like this, and I could just use their code.  I've
> > found references
> > >to a Java Csound port, but I can't seem to find it!  Does it
> > exist?  If not,
> > >does anyone have any other suggestions?  Thanks!
> > >
> > >Chad Wood
> > >
> > >p.s. sorry for posting to both lists... wasn't sure which would be
> better
> > >
> > >
> > >
> > >
> > >


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .