Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Java wrapper to csound API

Date2011-06-03 14:48
FromFrancois PINOT
SubjectRe: [Cs-dev] Java wrapper to csound API
AttachmentsNone  None  
You can use for example the java example given here:

    http://en.flossmanuals.net/csound/ch063_the-csound-api/

When I wrote this article for the FLOSS manuals, I used version 5.12 of Csound to test my examples and it worked.

Regards

Francois


From: Victor Lazzarini <Victor.Lazzarini@nuim.ie>
Subject: Re: [Cs-dev] Java wrapper to csound API
To: Developer discussions <csound-devel@lists.sourceforge.net>
Message-ID: <6EADACC4-74DE-4319-9658-7A07A6EC064A@nuim.ie>
Content-Type: text/plain; charset="us-ascii"

if a compact code example can be offered, we could test it and attempt
a fix.

Victor
On 2 Jun 2011, at 14:03, Conor Dempsey wrote:

> Hi Francois,
>
> I have noticed this in general,
> see this thread:
> http://csound.1045644.n5.nabble.com/Csound-5-13-0-Java-Wrapper-in-Ubuntu-11-04-tc4361631.html
>
> Can you give more information so we can work out what the exact
> problem is..
> Are you using the CppSound wrapper object or the Csound object from
> java?
>
>
> On Thu, Jun 2, 2011 at 1:56 PM, PINOT Francois <fggpinot@gmail.com>
> wrote:
> Hello,
>
> I noticed that since I use csound 5.13 (built from git, ubuntu 10.4 or
> 10.10), calls to the csound API from java apps result in a Csound
> crash.
> Does anyone else noticed this?
>
> Regards
>
> Francois
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data
> is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
> music moves more than the maker
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data
> is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie


Date2011-06-03 15:42
FromVictor Lazzarini
SubjectRe: [Cs-dev] Java wrapper to csound API
AttachmentsNone  None  
This example is actually working here (OSX 10.5, doubles, 5.13 from release), but FLTK graphs are causing trouble (csound hangs at the end of synthesis).
With -d, it does work fine. I wonder if this is a Linux-only issue?

Victor
On 3 Jun 2011, at 14:48, Francois PINOT wrote:

You can use for example the java example given here:

    http://en.flossmanuals.net/csound/ch063_the-csound-api/

When I wrote this article for the FLOSS manuals, I used version 5.12 of Csound to test my examples and it worked.

Regards

Francois


From: Victor Lazzarini <Victor.Lazzarini@nuim.ie>
Subject: Re: [Cs-dev] Java wrapper to csound API
To: Developer discussions <csound-devel@lists.sourceforge.net>
Message-ID: <6EADACC4-74DE-4319-9658-7A07A6EC064A@nuim.ie>
Content-Type: text/plain; charset="us-ascii"

if a compact code example can be offered, we could test it and attempt
a fix.

Victor
On 2 Jun 2011, at 14:03, Conor Dempsey wrote:

> Hi Francois,
>
> I have noticed this in general,
> see this thread:
> http://csound.1045644.n5.nabble.com/Csound-5-13-0-Java-Wrapper-in-Ubuntu-11-04-tc4361631.html
>
> Can you give more information so we can work out what the exact
> problem is..
> Are you using the CppSound wrapper object or the Csound object from
> java?
>
>
> On Thu, Jun 2, 2011 at 1:56 PM, PINOT Francois <fggpinot@gmail.com>
> wrote:
> Hello,
>
> I noticed that since I use csound 5.13 (built from git, ubuntu 10.4 or
> 10.10), calls to the csound API from java apps result in a Csound
> crash.
> Does anyone else noticed this?
>
> Regards
>
> Francois
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data
> is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
> music moves more than the maker
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data
> is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev_______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2011-06-03 15:54
FromSteven Yi
SubjectRe: [Cs-dev] Java wrapper to csound API
Could it also be a SWIG version issue?  I haven't gotten around to
testing this bug on Ubuntu yet, but could you all post what version of
SWIG you are using?

On Fri, Jun 3, 2011 at 10:42 AM, Victor Lazzarini
 wrote:
> This example is actually working here (OSX 10.5, doubles, 5.13 from
> release), but FLTK graphs are causing trouble (csound hangs at the end of
> synthesis).
> With -d, it does work fine. I wonder if this is a Linux-only issue?
> Victor
> On 3 Jun 2011, at 14:48, Francois PINOT wrote:
>
> You can use for example the java example given here:
>
>     http://en.flossmanuals.net/csound/ch063_the-csound-api/
>
> When I wrote this article for the FLOSS manuals, I used version 5.12 of
> Csound to test my examples and it worked.
>
> Regards
>
> Francois
>
>
>> From: Victor Lazzarini 
>> Subject: Re: [Cs-dev] Java wrapper to csound API
>> To: Developer discussions 
>> Message-ID: <6EADACC4-74DE-4319-9658-7A07A6EC064A@nuim.ie>
>> Content-Type: text/plain; charset="us-ascii"
>>
>> if a compact code example can be offered, we could test it and attempt
>> a fix.
>>
>> Victor
>> On 2 Jun 2011, at 14:03, Conor Dempsey wrote:
>>
>> > Hi Francois,
>> >
>> > I have noticed this in general,
>> > see this thread:
>> >
>> > http://csound.1045644.n5.nabble.com/Csound-5-13-0-Java-Wrapper-in-Ubuntu-11-04-tc4361631.html
>> >
>> > Can you give more information so we can work out what the exact
>> > problem is..
>> > Are you using the CppSound wrapper object or the Csound object from
>> > java?
>> >
>> >
>> > On Thu, Jun 2, 2011 at 1:56 PM, PINOT Francois 
>> > wrote:
>> > Hello,
>> >
>> > I noticed that since I use csound 5.13 (built from git, ubuntu 10.4 or
>> > 10.10), calls to the csound API from java apps result in a Csound
>> > crash.
>> > Does anyone else noticed this?
>> >
>> > Regards
>> >
>> > Francois
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Simplify data backup and recovery for your virtual environment with
>> > vRanger.
>> > Installation's a snap, and flexible recovery options mean your data
>> > is safe,
>> > secure and there when you need it. Data protection magic?
>> > Nope - It's vRanger. Get your free trial download today.
>> > http://p.sf.net/sfu/quest-sfdev2dev
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> >
>> >
>> > --
>> > music moves more than the maker
>> >
>> > ------------------------------------------------------------------------------
>> > Simplify data backup and recovery for your virtual environment with
>> > vRanger.
>> > Installation's a snap, and flexible recovery options mean your data
>> > is safe,
>> > secure and there when you need it. Data protection magic?
>> > Nope - It's vRanger. Get your free trial download today.
>> >
>> > http://p.sf.net/sfu/quest-sfdev2dev_______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net