Git Product home page Git Product logo

Comments (2)

JvanKatwijk avatar JvanKatwijk commented on July 28, 2024

from dab-cmdline.

gvanem avatar gvanem commented on July 28, 2024

but it seems to me that entry 4 is the one

No, with py -3 python-example\cmdline.py -c 12D -a 4, I just get another PortAudio error-code:

...
programname P8 Pop 80s & 90s (61976)
program  P8 Pop 80s & 90s   61976  is part of the ensemble
 fib  99
538: should be started
unable to select program: '538'
Traceback (most recent call last):
  File "F:\gv\dx-radio\DAB\DAB-cmdline\python-example\cmdline.py", line 251, in <module>
    callback=sound_callback):
  File "F:\ProgramFiler\Python36\lib\site-packages\sounddevice.py", line 1489, in __init__
    **_remove_self(locals()))
  File "F:\ProgramFiler\Python36\lib\site-packages\sounddevice.py", line 895, in __init__
    'Error opening {}'.format(self.__class__.__name__))
  File "F:\ProgramFiler\Python36\lib\site-packages\sounddevice.py", line 2738, in _check
    raise PortAudioError(errormsg, err)
sounddevice.PortAudioError: Error opening OutputStream: Invalid device [PaErrorCode -9996]

[PaErrorCode -9996] == paInvalidDevice. This is not a very useful program with these codes like this.
Care to call Pa_GetErrorText() somehow?

And it seems to be the error-text unable to select program: '538' is the cause of the Python error. A problem with flushing
stdout / stderr?

from dab-cmdline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.