Re: [LAD] Communicating between python UI and C++ engine for real time audio?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Iain Duncan <iainduncanlists@...>
Cc: <linux-audio-dev@...>
Date: Thursday, November 3, 2011 - 1:23 pm

--20cf300fb09f8de13004b0d47ce9
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Nov 2, 2011 at 5:09 PM, Iain Duncan wrote:

Did you concider using OSC as an "abstraction layer" between your GUI &
Engine? Spares quite a lot of nasty shared-mem tricks, and RCU, well.. is
suppose you could have the editing commands sent to engine, or else run the
algo on the GUI side, and update the sequence in the engine.

Check out the OSC Blob functions (sends binary data), using that and the
Python Ctypes modules I think something should be possible.

I'm not sure is this the best way to go as I don't know all your
requirements of the Engine...
-Harry

--20cf300fb09f8de13004b0d47ce9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 2, 2011 at 5:09 PM, Iain Duncan <iainduncanli=
sts@gmail.com
> wrote:
I'm hoping to arrive at some sort of design that ultimately lets t=
he engine act as an audio server with multiple user interface clients, poss=
ibly not even on the same machines
Did you concider using OSC as an "abstraction layer" between your=
GUI & Engine? Spares quite a lot of nasty shared-mem tricks, and RCU, =
well.. is suppose you could have the editing commands sent to engine, or el=
se run the algo on the GUI side, and update the sequence in the engine.
Check out the OSC Blob functions (sends binary data), u=
sing that and the Python Ctypes modules I think something should be possibl=
e.=A0I'm not sure is this the best way to go =
as I don't know all your requirements of the Engine...
-Harry

--20cf300fb09f8de13004b0d47ce9--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] Communicating between python UI and C++ engine for..., Harry van Haaren, (Thu Nov 3, 1:23 pm)
Re: [LAD] Communicating between python UI and C++ engine for..., Gabriel M. Beddingfield, (Thu Nov 3, 2:05 am)
Re: [LAD] Communicating between python UI and C++ engine for..., Vytautas Jancauskas, (Thu Nov 3, 7:49 am)