Random #fact: some features in #Tenacity depend on the libraries we use, including #wxWidgets. If you want to see Tenacity get better and want to contribute, we suggest you look into our supporting libraries such as wxWidgets and #PortAudio.
Random #fact: some features in #Tenacity depend on the libraries we use, including #wxWidgets. If you want to see Tenacity get better and want to contribute, we suggest you look into our supporting libraries such as wxWidgets and #PortAudio.
#clive , my thing for #LiveCoding #audio #dsp in the #C programming language, now has a #PortAudio backend which enables it to work on #Termux on #Android !
git clone https : / / code.mathr.co.uk / clive-core.git
and search the README.md for termux
thanks to @synte for telling me that portaudio could make sound on termux :)
switched from #Android app #UserLAnd to #Termux due to the promise of working sound via #portaudio , and also being generally much less outdated.
need to add a portaudio backend to clive (my thing for #LiveCoding #audio #dsp in the #C programming language) to be able to test it.
had hoped to test with #godwit (my #uzulang in progress) and classic Dirt sampler (which built in Termux with minor fixes), but compiling godwit depends on the #haskell programs alex and happy for generating the parser, and it seems Termux repos don't have them. nor is there darcs (also implemented in Haskell), which I'd need to get #HaskellHugs Hugs 2019 improvement (inc happy) working.
getting happy and alex working with #MicroHs is also far from trivial, even old versions depend on MagicHash and other ghc-isms.
Prueba de generación de sonido, literalmente escribiendo cada sample en un array gracias a la librería portaudio (https://github.com/PortAudio/portaudio).
Today's minor software victory involves arm-wrestling with the portaudio wrapper for Python.
The hotplug branch (referenced in https://github.com/PortAudio/portaudio/wiki/HotPlug) of the C level portaudio code seems to be a dead-end, so that's a bumner.
Experimentally I observed that calling terminate() twice on the PyAudio() object gets me a fresh list without restarting the program (a TUI) even though, as far as I can tell, I only call open() once. Some ref-count bug?
I'll take the win 🔊
I spent a few hours on New Years Eve trying to listen to my USB microphone using Python3, PyQt5 and pyAudio. I can play WAV files using pyAudio, but fetching my microphone is becoming a bit challenging.
Lets see if I can get this working New Years Day. Time to read the documentation.
https://people.csail.mit.edu/hubert/pyaudio/docs/
#Linux #python #python3 #pyqt #pyqt5 #pyaudio #portaudio #USB #USB3 #microphone #WAV
For small real-time #audio thing i’m working for my own entertainment i stick to good old #C and #PortAudio.
Working on Rust would mostly getting into unsafe mode and cursing that there is no “first-class” way to check each and every dynamic memory allocation success. Finally, the audio libraries are quite bad when considering ones actually implemented with Rust (e.g. CPAL), not just bindings to e..g PortAudio.
So where I would not like to Rust bother, it would come to poke me with. a stick, and where I would need its help, it totally ignores the issue.
I’d like Rust more if people would stop describing it as a memory safe language.There is no such thing as memory safe language. There’s only languages with weaker and stronger checks/guarantees, and usually only for a subset of overall memory management.
In the case of Rust it can handle dangling references but ignores memory usage and out-of-memory conditions completely.
Holy Zarquon’s singing fish! Amazingly I’ve got decent audio output on Windows! When you obtain a list of audio devices, some names appear twice. I was choosing the output device by name - the first one in the list with that name. Turns out if you choose a later one with that name, #portaudio uses (I presume) a different underlying API… and it works! Computer is now making gentle ooo-ing noises, alternatively a concerto of Morse operators at different speeds/frequencies with no static or fading.
Bit of a long shot, but here goes: Have any #rust developers successfully built a #portaudio application on #windows? If so, how did you build/link against it? TIA!
I've spent quite a while searching online for a simple answer to this question, but no luck so far. I'm developing a #software #music #synthesiser, and I'd like to generate #pulseWaves of a given #dutyCycle, #frequency and #amplitude. What's the most #programmer friendly equation for this?
In case you're wondering, my synth is, of course, written in #Rust, using #PortAudio, and entirely for fun.