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.

A low latency guitar effects processor suitable for running on a Raspberry Pi

264 pointsby Audiophilipabout 2 years ago

33 comments

sklarsaabout 2 years ago
&gt; Note that since the server program exposes an HTTP server you can actually navigate to the IP address of your PI from any device connected to the same wifi and control your pedal chain from there.<p>That&#x27;s a killer feature for me, hiding at the end of the README. I have a Fractal Audio FM3[0] at home, and the only way I edit my patches is using their editing software over a USB connection to the device. Adding the ability to program (and even control) my patches live over any wifi-enabled device is even cooler!<p>[0] - <a href="https:&#x2F;&#x2F;www.fractalaudio.com&#x2F;fm3&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.fractalaudio.com&#x2F;fm3&#x2F;</a>
评论 #35058598 未加载
评论 #35058634 未加载
评论 #35056757 未加载
metmacabout 2 years ago
While not a guitar effects box another project that does low latency audio things with an RPI at it’s core: <a href="https:&#x2F;&#x2F;monome.org&#x2F;docs&#x2F;norns&#x2F;" rel="nofollow">https:&#x2F;&#x2F;monome.org&#x2F;docs&#x2F;norns&#x2F;</a><p>Open source version: <a href="https:&#x2F;&#x2F;monome.org&#x2F;docs&#x2F;norns&#x2F;shield&#x2F;" rel="nofollow">https:&#x2F;&#x2F;monome.org&#x2F;docs&#x2F;norns&#x2F;shield&#x2F;</a>
评论 #35058020 未加载
评论 #35057874 未加载
ghostly_sabout 2 years ago
Sweet, was just looking for something like this the other day. My use-case is not for guitar, but just to offload some fx processing out of a DAW - a friend and I have gotten into jamming recently, and while you can do just about any musical production task these days with a budget laptop and enough patience, where you quickly run into limitations is running multiple <i>realtime</i> effects. I&#x27;m not yet serious enough about it to start spending $ on effects pedals (which typically cost hundred of $ each), or even to have a clear enough idea of <i>what</i> pedals I would want, but I know enough about electronics to realize most modern ones are just a glorified arduino with a a 500% markup, so a budget-friendly programmable swiss ay knife pedal would be a dream.<p>For my use-case the touchscreen is entirely unnecessary (programming it via a WebUI sounds more convenient anyway if you don&#x27;t need to use it sans PC), which is inflating t he BOM by about 500%, and of course RPi4 is a uniquely poor choice of target platform at this particular moment in time, so seeing if it can run on a headless Pi Zero is definitely going on my endless to-do list. ;)
评论 #35063091 未加载
评论 #35064063 未加载
评论 #35065480 未加载
jamesgillabout 2 years ago
As an amateur musician, three things stand out:<p>1. I&#x27;d have a hard time seeing that small screen onstage, and my big foot would likely mash the wrong effects button. Others might find it easier.<p>2. There are tons of good, cheap effects boxes out there, and easy to find used. I like Pi boxes, but this seems like a homebrew replication of what&#x27;s on the market.<p>3. All good boxes are low-latency, in my experience. It&#x27;s a fundamental thing I think most players need.
评论 #35075825 未加载
评论 #35065483 未加载
评论 #35058529 未加载
评论 #35058502 未加载
razerbeansabout 2 years ago
As others have mentioned, I think the interesting thing here would be understanding the latency for processing the signal. Anything in the single digit milliseconds would be fantastic! I know at one point I was looking into Raspberry Pi and ended up on Pedal Pi[0], though I couldn&#x27;t get the parts I needed to make it work.<p>I ended up using Teensy[1] and related audio shields[2] to get things working from a sound&#x2F;acceptable delay perspective. But being able to get things going on a Pi would probably make more of the advanced input controls much simpler to implement simply from a OS support perspective (like in this project with the WebUI). The UI I&#x27;m seeing in this project looks great and it would be cool to potentially see something like kits&#x2F;preinstalled images roll out for this!<p>[0] - <a href="https:&#x2F;&#x2F;www.electrosmash.com&#x2F;pedal-pi" rel="nofollow">https:&#x2F;&#x2F;www.electrosmash.com&#x2F;pedal-pi</a> [1] - <a href="https:&#x2F;&#x2F;www.pjrc.com&#x2F;teensy&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.pjrc.com&#x2F;teensy&#x2F;</a> [2] - <a href="http:&#x2F;&#x2F;blackaddr.com&#x2F;products&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blackaddr.com&#x2F;products&#x2F;</a>
评论 #35070217 未加载
评论 #35064047 未加载
snarfyabout 2 years ago
&gt; A Low Latency Guitar Effects Processor<p>What&#x27;s the latency? I can&#x27;t find numbers anywhere.
评论 #35059027 未加载
评论 #35061729 未加载
digitallyfreeabout 2 years ago
I&#x27;m still patiently waiting for future digital mixing consoles to do all processing in software on inexpensive x86 or ARM processors. Currently due to latency and reliability requirements all DSP work is done on dedicated chips or FPGA which brings up the BOM and engineering cost. They often have a small ARM&#x2F;Linux module which is used for the displays and network control.<p>The CPU tech is here today, and modern general purpose processors do a good job of handling low-latency audio. Someone just needs to put all that together in a unified and stable package...
评论 #35057422 未加载
评论 #35060744 未加载
评论 #35063086 未加载
评论 #35057276 未加载
iamsaitamabout 2 years ago
A better alternative to the Raspberry Pi which is more suited for musical applications (and currently much cheaper) is the Daisy Seed by Electro-Smith[0]. You can program it in C++ &#x2F; Pure Data &#x2F; Arduino and Max&#x2F;MSP Gen~. The community is very helpful and there are plenty of examples to start with. They also provide a few options to get started with some knobs&#x2F;buttons. I&#x27;m not affiliated with them, just admire the whole ecosystem.<p>[0] - <a href="https:&#x2F;&#x2F;www.electro-smith.com&#x2F;daisy&#x2F;daisy" rel="nofollow">https:&#x2F;&#x2F;www.electro-smith.com&#x2F;daisy&#x2F;daisy</a>
评论 #35070261 未加载
honkycatabout 2 years ago
I&#x27;ve had some amazing ( horrible ) adventures in low latency music stuff lately. It has made me think about going back to the hardware side of music production. Previously I was an ableton-only dude.<p>All of the vst plugins are CPU bound and even though i have a top of the line i7 and 32 gigs of ram, my computer slows to a crawl when editing even moderate sized songs.<p>Specifically, there is an nvidia bug that introduces latency to real time audio, making guitar and other live performance unplayable.<p>It really sucks! At least it has finally been ack&#x27;d (Increase in DPC latency observed in Latencymon [3952556]): <a href="https:&#x2F;&#x2F;us.download.nvidia.com&#x2F;Windows&#x2F;531.18&#x2F;531.18-win11-win10-release-notes.pdf" rel="nofollow">https:&#x2F;&#x2F;us.download.nvidia.com&#x2F;Windows&#x2F;531.18&#x2F;531.18-win11-w...</a><p>This has been a problem for YEARS. Hopefully they will finally fix it.
评论 #35062479 未加载
kbr2000about 2 years ago
Well done!<p>For those interested: a predecessor called the &quot;Jesusonic&quot; was once made by Justin Frankel (of Winamp and REAPER fame): <a href="https:&#x2F;&#x2F;www.cockos.com&#x2F;jsfx&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.cockos.com&#x2F;jsfx&#x2F;</a> <a href="https:&#x2F;&#x2F;wiki.cockos.com&#x2F;wiki&#x2F;index.php&#x2F;Jesusonic_Documentation" rel="nofollow">https:&#x2F;&#x2F;wiki.cockos.com&#x2F;wiki&#x2F;index.php&#x2F;Jesusonic_Documentati...</a><p>:)
woudsmaabout 2 years ago
Very cool, I&#x27;ve ordered a Raspberry Pi touchscreen this weekend and it should arrive today. I want to make a MIDI sequencer with it, or at least play with the idea. I hope my old Raspberry Pi can work with MIDI (over USB) without too much latency..
评论 #35062576 未加载
评论 #35079070 未加载
评论 #35058833 未加载
silveiraabout 2 years ago
Any samples or videos of this working? I would like to have a feeling of the latency and how the effects sound.
评论 #35056327 未加载
rtatayabout 2 years ago
This is really cool. I may have missed it (am on my phone and just skimmed the readme) but what effects are available and can you build your own?
评论 #35056253 未加载
pengaruabout 2 years ago
I&#x27;ve found the RPi4B to be somewhat awful for low-latency audio usage.<p>My particular use case is simply playing MP3s read from mmc through an MBox1 on USB.<p>No matter how much irqbalance, isolcpus, taskset magic, it never gets absolutely perfect. It gets better, but there&#x27;s always spurious delays exhibited as occasional pops and clicks in the audio output.<p>I&#x27;m hopeful that [0] will improve the situation, but haven&#x27;t had time to really dig into it let alone build a custom bleeding-edge mainline kernel - which I&#x27;m not even sure supports all the Pi4B hardware.<p>It&#x27;s asinine that an otherwise idle 4Cx1.8Ghz machine can&#x27;t even play MP3s on a USB MBox1 flawlessly with zero special effort...<p>[0] <a href="https:&#x2F;&#x2F;git.kernel.org&#x2F;pub&#x2F;scm&#x2F;linux&#x2F;kernel&#x2F;git&#x2F;torvalds&#x2F;linux.git&#x2F;commit&#x2F;?id=e9c9722220057d19d80478c0edda3fbf237a73f7" rel="nofollow">https:&#x2F;&#x2F;git.kernel.org&#x2F;pub&#x2F;scm&#x2F;linux&#x2F;kernel&#x2F;git&#x2F;torvalds&#x2F;lin...</a>
ushakovabout 2 years ago
Reminds me of NeuralPi, which uses ML models to emulate real AMPs<p><a href="https:&#x2F;&#x2F;github.com&#x2F;GuitarML&#x2F;NeuralPi">https:&#x2F;&#x2F;github.com&#x2F;GuitarML&#x2F;NeuralPi</a>
评论 #35058472 未加载
Diapasonabout 2 years ago
<a href="https:&#x2F;&#x2F;mod.audio&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mod.audio&#x2F;</a> (I&#x27;m not affiliated - just a long time follower)
评论 #35063135 未加载
dontbesquareabout 2 years ago
This looks very promising. I&#x27;m interested in how to make effects and learn more about it. What a cool project!
WorkerBee28474about 2 years ago
From my understanding the Line 6 Helix uses two 450MHz SHARC processors, ADSP-21469. Other effect&#x2F;amp modelers use more or newer of the same family[0].<p>Can anyone comment about the relative processing power of a RPi vs the market solutions? Is the RPi theoretically good enough that a pedalboard could be completely modelled?<p>[0] Interestingly, it sounds like SHARC chips were designed to be low cost processors for single use applications in guided artillery shells.
评论 #35060778 未加载
评论 #35061077 未加载
tastysandwichabout 2 years ago
&gt; The root of it is the Transform function which takes an input signal, performs any kind of transformation, and returns an output. All input and output values should remain in the range [-1, 1] otherwise you&#x27;ll produce some really gnarly popping and cracking.<p>So you have to make all your own effects in code? It would be cool if it connected to something like Guitarix (open source) so you could use existing guitar effects. (Disclaimer: I&#x27;ve never used Guitarix, so it might sound shit)<p>Btw, for anyone who doesn&#x27;t play guitar, but is interested... Gone are the days of those huge pedal boards and having to buy 30 different pedals. Emulation is getting really really good. You can either buy a multi-effects pedal and use that onstage. Or if you&#x27;re in the studio, NeuralDSP is software which can emulate basically any sound you&#x27;re after. It&#x27;s expensive though, but it sounds better than free alternatives like Amplitube.
ciroduranabout 2 years ago
Nice, I just installed this on a Raspberry Pi 3 with a touch screen I had around. Save for an issue when installing rtaudio (requires libasound2-dev in Debian), it went almost flawlessly. I&#x27;m guessing the RPi 3 can&#x27;t handle realtime audio and graphics, as popping was frequent (although not annoying for the purposes of experimenting). The buttons did nothing, I&#x27;m afraid, but the web interface is ace!<p>I&#x27;d love to write about this soon. Kudos to the coder
DeathArrowabout 2 years ago
I thought is hard to have low latency audio in Linux with stuff like PulseAudio.
评论 #35056898 未加载
评论 #35056865 未加载
评论 #35056881 未加载
评论 #35056879 未加载
评论 #35063147 未加载
ElijahLynnabout 2 years ago
There is also Pisound for low-latency guitar effect processor which is a hat for the Raspberry Pi. <a href="https:&#x2F;&#x2F;blokas.io&#x2F;pisound&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blokas.io&#x2F;pisound&#x2F;</a><p>The UI, MODEP, is based on the Mod Devices work on their open source pedal (Originally Mod Duo) &gt; <a href="https:&#x2F;&#x2F;mod.audio&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mod.audio&#x2F;</a>.
评论 #35060280 未加载
Min0taurabout 2 years ago
This is a wonderful project, thank you for sharing your process! I&#x27;m excited to try making a cute&#x2F;custom FX brain with this.
qqqwwweeerrrabout 2 years ago
This is awesome. I&#x27;d be really interested to find out if a Raspberry Pi can run an open source amp modeler like NAM (<a href="https:&#x2F;&#x2F;github.com&#x2F;sdatkinson&#x2F;neural-amp-modeler">https:&#x2F;&#x2F;github.com&#x2F;sdatkinson&#x2F;neural-amp-modeler</a>).
评论 #35061666 未加载
m12kabout 2 years ago
Very nice! A screenshot or two of the web UI would be a good addition to the readme
rerdaviesabout 2 years ago
Also see: <a href="https:&#x2F;&#x2F;rerdavies.github.io&#x2F;pipedal&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rerdavies.github.io&#x2F;pipedal&#x2F;</a><p>which solves the problem with using a bar&#x27;s Wi-Fi by using Wi-Fi Direct.
jojobasabout 2 years ago
What is he using for actual audio interface? RPi has something awful onboard and none of the pictures show anything external. USB would add 0.25ms latency just for being USB, best case.
评论 #35069847 未加载
worikabout 2 years ago
If you are interested in this see <a href="https:&#x2F;&#x2F;blokas.io&#x2F;modep&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blokas.io&#x2F;modep&#x2F;</a><p>Hosting plug-ins is a very powerful way to go.
20after4about 2 years ago
Looks a lot like <a href="https:&#x2F;&#x2F;mod.audio&#x2F;dwarf&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mod.audio&#x2F;dwarf&#x2F;</a> which I own and love.
atoavabout 2 years ago
Nice project, but nonway on earth I am taking anything with a breadboard and jumperwires onto stage — except maybe if I plan to make it part of the performance
1024coreabout 2 years ago
I&#x27;m guessing the harder part would be actually finding a Pi for this?
chaosprintabout 2 years ago
have to compare with Bela when it comes to latency
hendryabout 2 years ago
Surprised that a (local) Web call can be considered low latency. Isn’t this why people use grpc etc?
评论 #35062616 未加载