by chaosprint · 2y ago · 0 comments
"Raspberry Pi for Dummies" has chapters on SonicPi and PyGame.
SonicPi is a live coding environment for music creation and instruction. Like ChucK IIUC
It looks like PyGame has pygame.mixer, which is built on SDL's mixer.
The Godot game engine supports Audio Effects: https://docs.godotengine.org/en/stable/tutorials/audio/audio...
BespokeSynth has a "script" module that supports Python for synthesizing notes and chords and also for transforming audio streams: https://github.com/BespokeSynth/BespokeSynth/blob/main/resou... ( https://github.com/BespokeSynth/BespokeSynth/blob/main/bespo... )
AllenDowney/ThinkDSP notebooks reference NumPy, freesound,: https://github.com/AllenDowney/ThinkDSP
Eli's tutorials on SuperCollider are also very helpful: https://www.youtube.com/@elifieldsteel
Of course, you can have a look at my project Glicol that can also be helpful for people to get some intuition on live coding in browsers immediately: https://glicol.org/
Looks like there's a Hooktheory Classroom product, in addition to Hookpad and their music theory book which features the music of Avicii.
/r/musictheory/wiki suggests that "Open Music Theory" is the best text: https://www.reddit.com/r/musictheory/wiki/index/
The search keyword "Melodic"
Do Windows VST plugins work with Glicol on Linux with Yabridge, LinVst, Carla, or WineASIO?
Glicol is written in Rust and has its own non-Rust syntax?
Is there a syntax/grammar API doc?
I tried this the other day. There's several issues regardless of using the pinned versions in requirements.txt and trying to use debian bullseye and python 3.10.10 as implied by the provided dockerfile. At least these I noted:
- fix deprecated np.bool usage
- module 'scipy.signal' has no attribute 'hann' --> change to scipy.signal.windows.hann
- librosa.feature.melspectrogram(y, change to y=y
- needs CUDA 11
I got it to work without gpu acceleration cause of the last point. If I come back to this I'll probably just look at using demucs, librosa etc. directly (polymath.py is only ~600 lines gluing things together) and hopefully get it working with latest nvidia drivers.
Also if I have days to let this compile maybe I could get CUDA 11 from this https://aur.archlinux.org/packages/cuda-11.7