Book about programming DSP algorithms.

Programming applications for making music on Linux.

Moderators: MattKingUSA, khz

CrocoDuck
Established Member
Posts: 1133
Joined: Sat May 05, 2012 6:12 pm
Been thanked: 17 times

Re: Book about programming DSP algorithms.

Post by CrocoDuck »

Forgot about the great DSP Guru website: https://dspguru.com. Tons of good information and also links to various books.
patchlore
Established Member
Posts: 8
Joined: Tue Sep 07, 2021 1:23 pm
Been thanked: 8 times

Re: Book about programming DSP algorithms.

Post by patchlore »

I'd be curious what folks here think about my sndkit project:

https://pbat.ch/sndkit/
https://git.sr.ht/~pbatch/sndkit

It's a statically generated wiki of self-contained audio DSP algorithms written in ANSI C using a literate programming style.

A current list can be found here:

https://pbat.ch/sndkit/algos/

There's no real "start", so I'd recommend picking one that interests you and diving in. But, if that's intimidating, I've also written this that may help: https://pbat.ch/sndkit/curated/

I try my best to give a practical overview of the underlying DSP in the algorithm, and try to derive things when it seems appropriate (one of the big problems with audio programming is that by the time it reaches C/C++ code, all the meaningful bits have been derived or optimized out and it becomes a meaningless jumble). It's not a substitute for the underlying theory and analysis, but I do my best to make sure I throw in the right links and keywords for those who wish to study more. This is all based on my personal experiences going through music school and figuring this stuff out with little to no help until graduate school.

The sndkit project compiles all the algorithms into interpreter for a fun little language I found called LIL, which can be used to created little sound examples with the sndkit nodes.
Basslint
Established Member
Posts: 1511
Joined: Sun Jan 27, 2019 2:25 pm
Location: Italy
Has thanked: 382 times
Been thanked: 298 times

Re: Book about programming DSP algorithms.

Post by Basslint »

patchlore wrote: Fri Sep 10, 2021 1:57 pm I'd be curious what folks here think about my sndkit project:

https://pbat.ch/sndkit/
https://git.sr.ht/~pbatch/sndkit

It's a statically generated wiki of self-contained audio DSP algorithms written in ANSI C using a literate programming style.

A current list can be found here:

https://pbat.ch/sndkit/algos/

There's no real "start", so I'd recommend picking one that interests you and diving in. But, if that's intimidating, I've also written this that may help: https://pbat.ch/sndkit/curated/

I try my best to give a practical overview of the underlying DSP in the algorithm, and try to derive things when it seems appropriate (one of the big problems with audio programming is that by the time it reaches C/C++ code, all the meaningful bits have been derived or optimized out and it becomes a meaningless jumble). It's not a substitute for the underlying theory and analysis, but I do my best to make sure I throw in the right links and keywords for those who wish to study more. This is all based on my personal experiences going through music school and figuring this stuff out with little to no help until graduate school.

The sndkit project compiles all the algorithms into interpreter for a fun little language I found called LIL, which can be used to created little sound examples with the sndkit nodes.
I personally think it is great! Needs more visibility, lots of people would find it useful :D
The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]

Please donate time (even bug reports) or money to libre software 🎁

Jam on openSUSE + GeekosDAW!
User avatar
marbangens
Established Member
Posts: 56
Joined: Fri Nov 16, 2018 8:39 pm
Been thanked: 6 times

Re: Book about programming DSP algorithms.

Post by marbangens »

https://www.analog.com/media/en/technic ... ok_ch1.pdf
It ends on z-transform at dsp_book_ch33.pdf

Examples use BASIC... and the author refer to some figure all the time, that can get a bit annoying to follow, its not bad material.
Basslint
Established Member
Posts: 1511
Joined: Sun Jan 27, 2019 2:25 pm
Location: Italy
Has thanked: 382 times
Been thanked: 298 times

Re: Book about programming DSP algorithms.

Post by Basslint »

https://timiskhakov.github.io/posts/pro ... itar-music

Very interesting article which implements a synth, filter and sequencer from scratch in Go.
The community of believers was of one heart and mind, and no one claimed that any of his possessions was his own, but they had everything in common. [Acts 4:32]

Please donate time (even bug reports) or money to libre software 🎁

Jam on openSUSE + GeekosDAW!
Post Reply