خرید بک لینک

I'm trying to use the pyo python library, but I can't seem to get it working. Every time I try to import it I get this error

Code:

pyo version 0.7.8 (uses single precision)
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pulse.c:243:(pulse_coect) PulseAudio: Unable to coect: Coection refused

ALSA lib pulse.c:243:(pulse_coect) PulseAudio: Unable to coect: Coection refused

bt_audio_service_open: coect() failed: Coection refused (111)
bt_audio_service_open: coect() failed: Coection refused (111)
bt_audio_service_open: coect() failed: Coection refused (111)
bt_audio_service_open: coect() failed: Coection refused (111)
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Caot coect to server socket err = No such file or directory
Caot coect to server request chael
jack server is not ruing or caot be started
Expression 'parameters->chaelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1514
Expression 'ValidateParameters( inputParameters, hostApi, StreamDirection_In )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2818
portaudio error in Pa_OpenStream: Invalid number of chaels
Portaudio error: Invalid number of chaels
Server not booted.
The Server must be booted!
Traceback (most recent call last):
  File "main.py", line 63, in <module>
    main()
  File "main.py", line 40, in main
    a = Sine(440, 0, 0.1).out()
  File "/usr/local/lib/python2.7/dist-packages/pyolib/generators.py", line 59, in __init__
    PyoObject.__init__(self, mul, add)
  File "/usr/local/lib/python2.7/dist-packages/pyolib/_core.py", line 562, in __init__
    PyoObjectBase.__init__(self)
  File "/usr/local/lib/python2.7/dist-packages/pyolib/_core.py", line 427, in __init__
    raise PyoServerStateException("The Server must be booted before creating any audio object.")
pyolib._core.PyoServerStateException: The Server must be booted before creating any audio object.

If I try to run JACK through qjackctl this is the message.

Code:

 08:47:49.191 JACK is starting...
 08:47:49.192 /usr/bin/jackd -v -dalsa -dhw:0 -r44100 -p1024 -n2
 Caot coect to server socket err = No such file or directory
 Caot coect to server request chael
 jack server is not ruing or caot be started
 08:47:49.200 JACK was started with PID=19383.
 Home directory not accessible: Permission denied
 no message buffer overruns
 no message buffer overruns
 no message buffer overruns
 jackdmp 1.9.10
 Copyright 2001-2005 Paul Davis and others.
 Copyright 2004-2013 Grame.
 jackdmp comes with ABSOLUTELY NO WARRANTY
 This is free software, and you are welcome to redistribute it
 under certain conditions; see the file COPYING for details
 JACK server starting in realtime mode with priority 10
 Jack: JackPosixThread::StartImp : create non RT thread
 Jack: JackPosixThread::ThreadHandler : start
 Jack: playback device hw:0
 Jack: capture device hw:0
 Jack: apparent rate = 44100
 Jack: frames per period = 1024
 Jack: JackDriver::Open capture_driver_name = hw:0
 Jack: JackDriver::Open playback_driver_name = hw:0
 Jack: Check protocol client = 8 server = 8
 Jack: JackEngine::ClientIntealOpen: name = system
 Jack: JackEngine::AllocateRefNum ref = 0
 Jack: JackPosixSemaphore::Allocate name = jack_sem.0_default_system val = 0
 Jack: JackEngine::NotifyAddClient: name = system
 Jack: JackGraphManager::SetBufferSize size = 1024
 Jack: JackCoectionManager::DirectCoect first: ref1 = 0 ref2 = 0
 Jack: JackGraphManager::CoectRefNum cur_index = 0 ref1 = 0 ref2 = 0
 Jack: JackDriver::SetupDriverSync driver sem in flush mode
 audio_reservation_init
 Acquire audio card Audio0
 creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
 ALSA: Caot open PCM device alsa_pcm for playback. Falling back to capture-only mode
 Jack: JackDriver::Close
 Jack: JackCoectionManager::DirectDiscoect last: ref1 = 0 ref2 = 0
 Jack: JackGraphManager::DiscoectRefNum cur_index = 0 ref1 = 0 ref2 = 0
 Jack: JackEngine::ClientIntealClose ref = 0
 Jack: JackEngine::ClientCloseAux ref = 0
 Jack: JackGraphManager::RemoveAllPorts ref = 0
 Jack: JackPosixSemaphore::Destroy name = jack_sem.0_default_system
 Jack: ~JackDriver
 Caot initialize driver
 Jack: no message buffer overruns
 Jack: JackPosixThread::Stop
 Jack: JackPosixThread::ThreadHandler : exit
 JackServer::Open failed with -1
 Jack: Succeeded in unlocking 82274202 byte memory area
 Jack: JackShmMem::delete size = 0 index = 0
 Jack: ~JackDriver
 Jack: Succeeded in unlocking 1186 byte memory area
 Jack: JackShmMem::delete size = 0 index = 1
 Jack: Cleaning up shared memory
 Jack: Cleaning up files
 Jack: Unregistering server `default'
 Failed to open server
 08:47:49.339 JACK was stopped with exit status=255.
 08:47:51.317 Could not coect to JACK server as client. - Overall operation failed. - Unable to coect to server. Please check the messages window for more info.
 Caot coect to server socket err = No such file or directory
 Caot coect to server request chael

 jack server is not ruing or caot be started
I've tried pretty much everything to get this working. I'm ruing Ubuntu 14.04 LTS. Python 2.7.6. I'm sure that PulseAudio is well and truly dead.

- - , .

برچسب: نویسنده: استخدام کار تاريخ: شنبه 8 اسفند 1394 ساعت: 21:00

صفحه بندی