[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Real time IPC Octave/Java

From: Charles Fox
Subject: Real time IPC Octave/Java
Date: Tue, 29 Jun 2004 22:19:41 +0100 (BST)

Hi all,  I'm new to this list.  I'm a grad student in Pattern Analysis in
the UK and I have a question.

I'm trying to build a real time audio pattern recogniser.  I've done lots
of high-level stuff in Java, and Java also has some good libraries for
getting the audio input from the hardware.  However I'd like to use Octave
to do some signal processing on it.  There are multiple threads in the
Java code, some of which deals with getting the input data, and many more
that do high-level inference.  I'd like the input threads to make calls to
my Octave code, and get the results back into Java again.  This all has to
be done fast as I'm dealing with multiple channels of audio input.   Note
there will be many threads wanting to use the Octave functions at the same
time.  In Matlab the best way to do this is to compile the functions into
C with the Matlab->C compiler, then wrap them in Java JNI.  However Octave
(AFAIK) doesnt have a an Octave->C compiler, so I'm thinkiing about
alternative ways using IPC such as pipes, shared memory.  There seems to
be pracically no documentaiton on any of this that I can find.... so any
suggestions or references on the best approaches would be really helpful.


Charles Fox
DPhil student
Pattern Analysis & Machine Learning
Robotics Research Group
Dept. of Engineering Science
University of Oxford, UK

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]