Re: [LAD] prototyping callback based architecture in python?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Wednesday, November 2, 2011 - 6:27 pm

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

For anyone interested, it turns out there is an alpha package in rtaudio
that wraps RTAudio's callback facility in python, added this year by one of
Gary Scavone's students, Antoine Lefebvre. It's incomplete (doesn't yet
support all the rtaudio options) so it's hard to tell whether it's working
super well on my machine, but it compiles and runs and makes a sine wave
ok. It'll give me something to port with for now at any rate, and maybe I
can help complete it.

it's in rtaudio-4.0.10/contrib/python/pyrtaudio
iain

On Wed, Nov 2, 2011 at 10:02 AM, Iain Duncan wrote:

> Thanks guys, it looked from what I could see on the port audio page that

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

For anyone interested, it turns out there is an alpha package in rtaud=
io that wraps RTAudio's callback facility in python, added this year by=
one of Gary Scavone's students, Antoine Lefebvre.=A0 It's incomple=
te (doesn't yet support all the rtaudio options) so it's hard to te=
ll whether it's working super well on my machine, but it compiles and r=
uns and makes a sine wave ok. It'll give me something to port with for =
now at any rate, and maybe I can help complete it.
it's in rtaudio-4.0.10/contrib/python/pyrtaud=
ioiainOn Wed, Nov 2, 2011 a=
t 10:02 AM, Iain Duncan <iainduncanlists@gmail.com> wrote:
Thanks guys, it looked from what I cou=
ld see on the port audio page that only non-blocking was supported, but Gar=
y said on the stk list that it might be possible with the python wrappers i=
n the rtaudio package. I realize it's probably not going to be practica=
l as a long term solution ( though I sure with it were possible ) =A0but as=
I actually earn my living coding python and am a total C++ amateur, it&#39=
;s probably worth saving some frustration figuring out architecture in a py=
thon prototype. I'm ok with high latency for now.=A0

Kjetil, do you know if anyone has experimented with a r=
eal time memory allocator for Python?ThanksIain

On Wed, Nov 2, 2011 at 6:37 AM, Kjetil Matheussen <k.s.matheussen@=
notam02.no
> wrote:

> On Wed, Nov 2, 2011 at 9:24 AM, Kjetil Matheussen

.matheussen@notam02.no> wrote:
br>
br>

It is possible (and quite simle) to write a wrapper for letting pytho=
n do
sample-by-sample processing in Pd. I remember someone mentioning
someone doing it, but this was in 2005, and the performance was
so bad it wasn't useful. But I might remember wrong.

_______________________________________________
Linux-audio-dev mailing list
L=
inux-audio-dev@lists.linuxaudio.org

http://lists.linuxaudio.org/listinfo/linux-audio-dev

--20cf300fad0f36880404b0c49f81--

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

Messages in current thread:
Re: [LAD] prototyping callback based architecture in python?, Kjetil Matheussen, (Wed Nov 2, 1:24 pm)
Re: [LAD] prototyping callback based architecture in python?, Kjetil Matheussen, (Wed Nov 2, 1:37 pm)
Re: [LAD] prototyping callback based architecture in python?, Kjetil Matheussen, (Fri Nov 4, 6:20 pm)
Re: [LAD] prototyping callback based architecture in python?, Kjetil Matheussen, (Fri Nov 4, 6:32 pm)
Re: [LAD] prototyping callback based architecture in python?, Iain Duncan, (Wed Nov 2, 6:27 pm)