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.

Stack operations on a guitar loop pedal

43 pointsby whatrocksover 4 years ago

5 comments

InitialLastNameover 4 years ago
Isn't the ability to back out of the stack context basically half the point of stack operations? Without the LIFO behavior, it's not really a "stack" in any computational sense.
评论 #25293647 未加载
评论 #25293701 未加载
tenebrisalietumover 4 years ago
The article doesn't describe a stack. The closest thing is progressive bitwise OR operations on a ring buffer, good until your whole ring buffer is filled with 1s.
评论 #25296569 未加载
评论 #25295906 未加载
UncleEntityover 4 years ago
During one of my daily perusals of the YouTubes I came across KT Tunstall[0] going into detail on how she does live looping for her shows. Apparently, I&#x27;m not up on the pop scene, she&#x27;s pretty well respected as one of the best &#x27;loopers&#x27;.<p>[0] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=liOOHp61nZE" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=liOOHp61nZE</a>
评论 #25295447 未加载
ericwoodover 4 years ago
I guess it&#x27;s a stack in the sense that each additional loop is being pushed onto a stack of sorts. This is how the Ditto looper I use works, and you can even perform the &quot;pop&quot; operation and back out of an additional layer.<p>I&#x27;m working on a digital delay pedal at the moment, and the underlying data structure is really similar in principle to a looper in that it&#x27;s a ring buffer that continually loops around (although a bit more complex since the delay time can change!)<p>In actual production loop pedals I&#x27;m sure there&#x27;s optimizations that can be done, but a naive implementation of the layering would just mean creating additional buffers for each layer, and keeping the read&#x2F;write pointers sync&#x27;d between all of them. The output then just becomes a mixed version of all of the loops.<p>When a phrase extends beyond the loop length and repeats over itself, the buffer for that given layer would read the existing value and write a mixed version of the two signals.
评论 #25300559 未加载
raleighmover 4 years ago
What I love about loop pedals is it makes time a musical instrument. Brian Eno played with this. Dustin Wong is a delight.<p>Dustin Wong <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=j1PuWrE9nKY" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=j1PuWrE9nKY</a>