Pinned Repositories
BGOONZ_BLOG_2.0
The new home of my blog/resource sharing website.
blog-templates
Different styles of web-architecture with a focus on blogging.
FIR-Guitar-Delay-Pedal
Guitar delay pedal that samples an analog signal via digital polling. In order to achieve the desired effect an implementation of a FIR (Finite Impulse Response) was created. If you introduce an impulse, for example, a "1" sample followed by many "0" samples, the zeroes will arrive only after the "1" sample has made its way through the delay of the filter. The term finite impulse response arises because the filter output is computed as a weighted, finite term sum, of past, present, and future values of the guitar sample. A lack of feedback guarantees that the impulse response will be finite, however, in our case we would like to feed the past values of the sample array back into the output for “n” number of echoes. Although we have feedback in our filter, because the impulse response is finite, it is still considered a FIR. The delay pedal is a system in which the nth prior sample is subtracted (fed back) each time a new sample comes in. After an arbitrarily set number of samples of an impulse, the output will always be zero. To create the delay between impulses as described above, we stored our signal samples in an array of 20,000 elements and fed our echoes back using a circular buffer indexed by a variable dubbed “Windex”. In order to port an analog guitar signal into the PSoC board where we wish to manipulate it digitally, we had to create a preamp stage circuit that both offset it so that it contained minimal negative voltage and amplified it from the mV range into the 1V range. This circuit consisted of an Op Amp to amplify, a 5V reference voltage in ratio with parallel resistors to offset and a capacitor to block unwanted DC phenomenon at the output. In addition, our team also created a MATLAB program to simulate the FIR as a debugging resource, however this proved to be unnecessary as the device performed as expected albeit nearly momentarily. Once the guitar signal is digitally sampled and passed through the filtering delay, it is converted back to analog via the PSoC’s on board resources and subsequently amplified.
gif-tool
knowledge
Everything I know
Learning-with-Udemy-C-course
Relearning how to code in C++ (it's been a while) (pun intended)(please forgive code style, structure & general readability; this is learning/practice only)
My-DSP-Library-C-
It's in the name
eengineergz's Repositories
eengineergz doesn’t have any repository yet.