Bug#700017: python-pyo: 10 second lag before playing

Nicolas Patrois nicolas.patrois at gmail.com
Thu Feb 7 13:16:59 UTC 2013


Package: python-pyo
Version: 0.6.1-1
Severity: normal

Dear Maintainer,

Running pyo in my system works fine but I have about a 10 second lag before anything happens.

An example:

#!/usr/bin/python2.7
from pyo import *
s = Server().boot()
s.start()
#a = PinkNoise(.1).mix(2).out()
b = BrownNoise(.4).mix(2)
c = Sine([random.uniform(80,160) for i in range(50)], mul=.02).mix(2)
#d = Mix(a, voices=2)
sum=(.2*b+c)
sum.out()
s.gui(locals())

I get this in the console:

> /tmp/bn.py 
pyo version 0.6.1 (uses single precision)
Failed to stat home directory /home/nicolas/pyo_rec.wav: No such file or directory
PortMidi warning: Something wrong with midi device!
Portmidi closed
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Failed to stat home directory /home/nicolas/pyo_rec.wav: No such file or directory
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

Failed to stat home directory /home/nicolas/pyo_rec.wav: No such file or directory
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Expression 'ioctl( devHandle, SNDCTL_DSP_CHANNELS, &temp )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 405

Then, I see the small window with the controls and the two sounds play mixed correctly.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686-bigmem (SMP w/3 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-pyo depends on:
ii  libc6          2.13-37
ii  liblo7         0.26~repack-7
ii  libportaudio2  19+svn20111121-1
ii  libportmidi0   1:184-2.1
ii  libsndfile1    1.0.25-5
ii  python         2.7.3~rc2-1
ii  python2.6      2.6.8-1.1
ii  python2.7      2.7.3-6

Versions of packages python-pyo recommends:
ii  python-imaging-tk  1.1.7-4
ii  python-tk          2.7.3-1
ii  python-wxgtk2.8    2.8.12.1-12

python-pyo suggests no packages.

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list