TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Soundpipe – A lightweight music DSP library written in C

58 pointsby narneralmost 10 years ago

7 comments

krickalmost 10 years ago
I understand that these 1-letter directory names are on purpose and are supposed to be cute, but it's really horrible idea. Yeah, explanation of these cryptic names is right there it the README, but it's still confusing if I'm just diving right into the source code to look around. And it serves nothing, as far as I can see. A tradeoff for nothing is kinda… weird.
评论 #9748495 未加载
pierrecalmost 10 years ago
Very lightweight, the whole thing downloads, compiles and runs almost instantly. After you go in the examples directory and run make, here&#x27;s a little bash command to run and listen to each example in series while looking at its source:<p><pre><code> shopt -s extglob for f in ex_!(*.*); do .&#x2F;$f; `play test.wav &gt; &#x2F;dev&#x2F;null 2&gt;&amp;1 &amp;`; less $f.c; done </code></pre> ex_music is beautiful! But the source is not very expressive, even being familiar with DSP, a lot of the code has me guessing (well, it is expressive, but I guess the variable names are too short to my tastes).
评论 #9748343 未加载
flohofwoealmost 10 years ago
This looks really interesting for web-based (emscripten-compiled) or mobile apps that need to keep their download size small.<p>An observation (not a critique): The LGPL3 license might be a problem for many MIT licensed game engines. If I understand the &#x27;Combined Works&#x27; section of the LGPL3 right (I&#x27;m not a lawyer), it will not be possible to statically link an LGPL3 lib into a mixed-license project without providing a way for the user to rebuild the entire application from scratch, thus effectively polluting the more liberal licenses like MIT&#x2F;FreeBSD?
tincoalmost 10 years ago
On Ubuntu, you can try it out like so:<p><pre><code> sudo apt-get install libsndfile1 libsndfile1-dev git clone git@github.com:PaulBatchelor&#x2F;Soundpipe.git &amp;&amp; cd Soundpipe make cd e &amp;&amp; make .&#x2F;ex_music &amp;&amp; xdg-open test.wav</code></pre>
评论 #9748582 未加载
raphaelssalmost 10 years ago
I&#x27;m working on something similar. Though I have started in C++, I&#x27;m considering moving to plain C. It was nice seeing this here. Nice project.
nosuchthingalmost 10 years ago
Excuse my ignorance, but is this practical to use in real time embedded DSP analog hybrid systems like ±5v eurorack modules?
评论 #9748327 未加载
lynndylanhurleyalmost 10 years ago
How does this compare with SuperCollider &#x2F; Overtone or CSound?
评论 #9747203 未加载
评论 #9747176 未加载
评论 #9747210 未加载