Csound Csound-dev Csound-tekno Search About

[Cs-dev] Still seeking help on Java/Csound

Date2009-08-21 19:20
Fromjpff@cs.bath.ac.uk
Subject[Cs-dev] Still seeking help on Java/Csound
I do not kbnow who to ask...

Currently our Java code says ....

   SWIGTYPE_p_double audio=null;
....
   csound.GetChannelPtr(audio, "audio", 0); // also tried 2 and 34
and at this point the value of audio is not set ro anything and so we fail

I am guessing that to read the data I need

CsoundMYFLTArray x;
   x.SetValues(0, bufSize, audio);
and write with
   x.GetValues(0, bufSize, audio);
but at present I cannot get the pointer.  What am I doing wrong?

==John


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-08-21 19:42
FromVictor.Lazzarini@nuim.ie
SubjectRe: [Cs-dev] Still seeking help on Java/Csound
AttachmentsNone  None  None  None