ThinkDSP
mb-sound
Our great sponsors
ThinkDSP | mb-sound | |
---|---|---|
14 | 5 | |
3,715 | 17 | |
- | - | |
5.4 | 5.6 | |
4 months ago | 9 months ago | |
Jupyter Notebook | Ruby | |
- | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ThinkDSP
- How can I learn Digital Signal Processing fully ?
-
Software skills
There's a free book online called Think DSP that teaches you how to design and visualize filters in Python: https://greenteapress.com/wp/think-dsp/
- Think DSP: An Introduction to Digital Signal Processing in Python
- What programming environment do you recommend for implementing some DSP theory?
- What resource do you suggest to learn DSP from for embedded applications?
-
Fourier Series Visualisation with D3
https://greenteapress.com/wp/think-dsp/
It can be bought, but is available for free. Code is also available via GitHub. It uses Python and Jupyter.
"The premise of this book (and the other books in the Think X series) is that if you know how to program, you can use that skill to learn other things. I am writing this book because I think the conventional approach to digital signal processing is backward: most books (and the classes that use them) present the material bottom-up, starting with mathematical abstractions like phasors."
-
Mathematical Python project ideas that are not ML
How about Think DSP: Digital Signal Processing in Python - https://github.com/AllenDowney/ThinkDSP
-
C++ for numerical programming
My application is signal processing and tried to reproduce parts of https://github.com/AllenDowney/ThinkDSP in C++. https://gitlab.com/cpp8/thinkdsp.git and supplemented with some others. Documentation in https://github.com/RajaSrinivasan/assignments.git
-
Recommended DSP Books
Think DSP
- Ask HN: How to get started with audio programming?
mb-sound
-
Why Can’t You Design Noise in Frequency Space?
You can try the synthesizer and other audio code if you're using Linux.
Here's an earlier version of the synthesizer (licensed under AGPL3). The MIDI CCs for controlling different parameters are listed in the source code. You'd want to clone the repo, run through the installation instructions in the mb-sound repo, do a bundle update mb-sound, then run bundle exec bin/complex_synth.rb. https://github.com/mike-bourgeous/mb-surround/blob/3823de44a...
Here's the core sound repo (licensed under BSD) with some examples for getting started: https://github.com/mike-bourgeous/mb-sound
I don't plan on making the visualizations available, in part because the system is too convoluted and they probably only work in my specific environment.
-
Python, unlike C, has the mod operator always return a positive number
Ruby's % operator behaves the same way, for both integer and float values. A positive-only modulus function is useful for wrapping angles. This bit me a week or two ago when I was porting audio algorithms from Ruby to C, and had to implement a positive modulus function[0].
[0] https://github.com/mike-bourgeous/mb-sound/blob/a8eb1232ae35...
-
Learn more about the Fast Fourier Transform, animated in 3D [video]
Someone asked somewhat recently about visualizing analytic signals in 3D (https://news.ycombinator.com/item?id=28633829). This is my video, with 3D animation, summarizing the FFT and analytic signals, plus a review of digital sampling.
The submitted link is for a blog post about the video which includes a video transcript (repeated for reference: https://blog.mikebourgeous.com/2021/10/04/fast-fourier-trans...)
Here's a direct link to the video: https://www.youtube.com/watch?v=iyjIVSnrPSo
I've opened the Ruby code building blocks I use to produce these visualizations (which are not open): https://github.com/mike-bourgeous/mb-sound
-
Tenderjit – A JIT for Ruby Written in Ruby
Yeah, here's my main sound repo: https://github.com/mike-bourgeous/mb-sound
There's also an FFI wrapper for jackd: https://github.com/mike-bourgeous/mb-sound-jackffi
I'm certain there are still improvements that could be made to the APIs and to performance, so I'm not currently releasing these on rubygems.
-
Ask HN: How to get started with audio programming?
Edit: My goal is to make a mini-synth which takes input from the computer keyboard.
If you are a Ruby programmer, you could use this rubygem I wrote: https://github.com/mike-bourgeous/mb-sound
A video about using that gem to make a synthesizer: https://m.youtube.com/watch?v=aS43s6TWnIY&feature=youtu.be
Part of a long-running experiment of mine to make educational videos about sound, which I hope might help you on your audio programming journey: https://www.youtube.com/playlist?list=PLpRqC8LaADXnwve3e8gI2...
There have been recent posts to HN about the difficulty of reading key-up events from the terminal. I used MIDI and a separate MIDI keyboard app for my video demo.
What are some alternatives?
dsp_examples
helm - Helm - a free polyphonic synth with lots of modulation
overtone - Collaborative Programmable Music
tenderjit - JIT for Ruby that is written in Ruby
mb-sound-jackffi - An unstable Ruby FFI interface for the JACK Audio Connection Kit
gen-rack - Create VCV Rack modules from gen~ exports
rhizome - A JIT for Ruby, implemented in pure Ruby
thinkdsp
zynaddsubfx - ZynAddSubFX open source synthesizer