IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Programmation multimédia/Jeux Python Discussion :

[python-pyo] probleme de serveur audio


Sujet :

Programmation multimédia/Jeux Python

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Homme Profil pro
    musicien bidouilleur
    Inscrit en
    Décembre 2018
    Messages
    28
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : musicien bidouilleur

    Informations forums :
    Inscription : Décembre 2018
    Messages : 28
    Par défaut [python-pyo] probleme de serveur audio
    Bonjour,

    J'essaye de faire de la programmation musicale avec python et le module pyo.
    J'ai installé le paquet python-pyo sur un raspberry pi 3 b L'installation s'est bien passé.
    Mais j'ai cette erreur quand j'essaye d'exécuter un des exemples de la doc de pyo :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
     
    === Output log of process "02-sine-tone.py", launched: "23 Jan 2019 18:33:30" ===
    pyo version 0.8.2 (uses single precision)
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
    ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
    ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
    ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.bluealsa.device'
    ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:4996:(snd_config_expand) Args evaluate error: No such file or directory
    ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM bluealsa
    ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
    Cannot connect to server socket err = No such file or directory
    Cannot connect to server request channel
    jack server is not running or cannot be started
    JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
    JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
    Expression 'parameters->channelCount <= 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 channels
    Portaudio error: Invalid number of channelsportaudio error in Pa_AbortStream: PortAudio not initialized
    portaudio error in Pa_CloseStream: PortAudio not initialized
    portaudio error in Pa_Terminate: PortAudio not initialized
     
    Server not booted.
    Traceback (most recent call last):
      File "02-sine-tone.py", line 19, in <module>
        a = Sine().out()
      File "/usr/lib/python2.7/dist-packages/pyolib/generators.py", line 60, in __init__
        PyoObject.__init__(self, mul, add)
      File "/usr/lib/python2.7/dist-packages/pyolib/_core.py", line 652, in __init__
        PyoObjectBase.__init__(self)
      File "/usr/lib/python2.7/dist-packages/pyolib/_core.py", line 501, in __init__
        raise PyoServerStateException("The Server must be booted before "
    pyolib._core.PyoServerStateException: The Server must be booted before creating any audio object.

  2. #2
    Membre averti
    Homme Profil pro
    musicien bidouilleur
    Inscrit en
    Décembre 2018
    Messages
    28
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : musicien bidouilleur

    Informations forums :
    Inscription : Décembre 2018
    Messages : 28
    Par défaut
    bon, finalement tout est rentré dans l'ordre après réinstallation complète du système

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Problème sur Serveur Samba
    Par moule dans le forum Réseau
    Réponses: 1
    Dernier message: 05/06/2006, 21h30
  2. internet: probleme de serveur
    Par mcdonald dans le forum Réseau/Web
    Réponses: 9
    Dernier message: 13/02/2006, 10h31
  3. [Flash] Probleme avec serveur Tomcat et accés Internet
    Par mc_chicken dans le forum Flash
    Réponses: 4
    Dernier message: 30/09/2005, 16h09
  4. [WSAD 5.0] [Envirronement de test] probleme de serveur
    Par arnaud dans le forum Eclipse Java
    Réponses: 1
    Dernier message: 12/07/2004, 14h37
  5. [HARDWARE]Problème d'écho audio
    Par Tostaki dans le forum Composants
    Réponses: 5
    Dernier message: 07/12/2003, 23h38

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo