Hannes Helmholz

Results 108 comments of Hannes Helmholz

EDIT: I deleted my suggestion since it disregarded the AND operation. Also, my version (and I assume yours as well), does not throw a `no spaces before operator '...'` warning...

> In your solution, wouldn't a `||...` match the `% a binary operator, followed by a unary operator:` case and thus parse it as `||..` and `.`? > > Also,...

I think it is good enough actually, since it allows the following statements to handle it right afterwards. Just added some documentation and replaced the `endsWith()` to preserve compatibility with...

> I've updated this with your suggestions. Is my preview of the commit wrong after the force-push or did you make a mistake? :)

> Or better yet, integrate it into the [CI scripts](https://github.com/bastibe/libsndfile-binaries/blob/bastibe/build-automation/.github/workflows/build-libs.yml) to build the binaries automatically. I'm inexperienced with all the required compilation steps and CI. But I remembered that Mathias...

> I don't see a Jack app or folder in the /Applications folder; and /usr/local/share/jack2 doesn't exist > > Any Ideas? Jack is a command line tool only, hence nothing...

Using different hardware devices simultaneously can be a bit of a challenge, depending on the operating system. See for example https://github.com/spatialaudio/python-sounddevice/issues/465#issuecomment-1504343671 and the linked discussion https://github.com/spatialaudio/python-sounddevice/issues/338#issuecomment-867131063.

> try removing `~/.config/rncbc.org/QjackCtl.conf` and start over I do not have that file or `rncbc.org` directory. QjackCtl persistently remembers its settings, so the configuration should be somewhere. Do you know...

> afaik the homebrew package is jack1, not jack2. The currently last package installs ``https://github.com/jackaudio/jack2/archive/v1.9.16.tar.gz`` according to the [`brew formula`]( https://github.com/Homebrew/homebrew-core/blob/97e9d1f96b976d74aa0736fac65aa7ad890035b9/Formula/jack.rb#L4). Not sure since when, since I never used that...

It should be possible to catch the `KeyboardInterrupt` in the parent application (similar to within [rec_unlimited.py](https://github.com/spatialaudio/python-sounddevice/blob/master/examples/rec_unlimited.py)) and react accordingly, e.g. kill or send a terminate signals to the subprocess (I...