Project

# Title Team Members TA Documents Sponsor
60 Digital Pitch Shifter for Guitar
Eric Moreno
William Chang
Zhengjie Fan
Shengyan Liu design_document1.pdf
final_paper1.pdf
other1.jpeg
photo1.jpeg
presentation1.pptx
proposal1.pdf
# **Digital Pitch Shifter for Guitar**

Team Members:
- William Chang (wqchang2)
- Eric Moreno (emoren40)

# **Problem**

Guitarists without access to a tremolo system face significant limitations in their ability to create expressive vibrato and pitch-bending effects, which are essential for adding emotional depth and dynamic variation to their playing. Without these techniques, the guitar’s sound can feel static or restrained, especially in genres like rock, blues, and jazz, where pitch manipulation is crucial. Traditional tremolo systems, though effective in addressing this issue, require invasive modifications to the guitar body, such as routing or altering the bridge. These changes not only compromise the guitar’s original design but can also affect its sound and value. Additionally, such systems may not be suitable for all playing styles, or for guitarists who prefer a more minimalist approach. As a result, players seeking greater versatility in their instrument face the difficult choice between sacrificing their guitar’s aesthetics or settling for limited expressive capabilities. This is the gap the proposed project aims to fill.

# **Solution**

The solution to the aforementioned issue is a compact, attachable digital pitch-shifting device that uses a sonic sensor to detect the proximity of the guitarist’s hand to the bridge of the guitar. As the player moves their hand closer or farther from the sensor, the pitch of the guitar signal is dynamically adjusted, allowing for real-time pitch shifts up or down. This enables the guitarist to perform expressive techniques like vibrato and pitch bending, similar to those provided by traditional tremolo systems, but without the need for invasive body modifications. Additionally, the device includes a switch or button that lets the player toggle between upward or downward pitch shifts, offering greater flexibility in controlling the pitch. This lightweight solution enhances the player's creativity while preserving the guitar’s natural design and playability. Furthermore, the additional buttons or switches can enable further effects such as reverb, chorus, or delay, giving the player more creative control over their sound. These augmentations enhance the guitarist’s ability to experiment with a wider range of tones and textures without needing to modify the guitar's body or permanently alter its design.

# **Solution Components**

**Sonic Sensor**

The HC-SR04 ultrasonic sensor will play a crucial role in detecting the proximity of the guitarist’s hand to the sensor, which will then be used to adjust the pitch of the guitar signal. The sensor operates using two primary pins: the Trigger pin and the Echo pin. The Trigger pin receives a pulse signal from the ESP32 to initiate the emission of an ultrasonic wave, while the Echo pin sends back a signal to the ESP32 that is used to calculate the distance based on the time it takes for the wave to return. This distance will dynamically influence the intensity of the pitch-shifting effect.

**Guitar Preamp**

A guitar preamp pedal will be placed between the guitar and the microcontroller to boost the guitar’s signal, which typically ranges in the hundreds of millivolts. The preamp will increase the signal to a level suitable for the ESP32's ADC, ensuring that the microcontroller can properly process the audio input.

**Microcontroller (Audio I/O, Signal Processing, Sensor I/O)**

The ESP32 microcontroller will serve as the central unit responsible for managing both the input and output of signals, as well as performing real-time signal processing for the project. One of its primary roles will be handling audio input and output through its ADC (Analog-to-Digital Converter) and DAC (Digital-to-Analog Converter) pins. The ESP32 will convert the guitar signal from analog to digital using the ADC, process it with pitch-shifting algorithms, and then convert it back to analog using the DAC for output to a guitar amplifier. In addition to audio processing, the microcontroller will interact with the HC-SR04 ultrasonic sensor by sending a trigger pulse through its GPIO pin to the TRIG pin in order to initiate a reading. It will then read the output of the Echo pin to calculate the distance between the sensor and the player’s hand, which will influence the pitch-shifting parameters. Furthermore, the microcontroller will manage user interactions such as toggling effects or adjusting parameters using additional GPIO pins connected to buttons or switches.

**Guitar Amplifier**

A 7-watt combo amp will be used to amplify and output the pitch-shifted guitar signal from the ESP32 to an audible level. After the microcontroller processes the audio and applies the pitch shift, the combo amp will boost the signal, making it loud enough for the guitar speaker to produce sound.

**Power System**

The power management system will use a 5V power supply to ensure stable operation of both the ESP32 microcontroller and the HC-SR04 ultrasonic sensor. Since the ESP32 requires 3.3V, a voltage regulator will step down the 5V supply to provide a stable 3.3V output for the microcontroller. The HC-SR04 sensor, which operates at 5V, will be powered directly from the same 5V supply to ensure proper functionality. A common ground will be shared between all components to maintain reliable communication. Additionally, since the HC-SR04’s Echo pin outputs 5V, a voltage divider can be used to step down the signal to a safe 3.3V for the ESP32’s GPIO.

# **Criterion For Success:**

- Non-Intrusiveness – The device must attach to the guitar without requiring permanent modifications, preserving the instrument’s original design and functionality.

- Real-Time Pitch Control – The pitch of the guitar signal should shift dynamically (range of 2 octaves) in response to the player’s hand movements, ensuring smooth performance.

- Adjustable Pitch Direction – A switch or button should allow the player to toggle between shifting the pitch up or down, providing flexibility.

- Maintain Guitar Signal Integrity – The device must process the guitar’s audio cleanly, maintaining tonal quality without noticeable latency or unwanted distortion.

- Compact and Lightweight Design – The attachment should be small and light enough to avoid interfering with playability or altering the guitar’s balance.

- Reliable Power Source – The system must have a stable and efficient power supply, ensuring consistent performance without frequent battery replacements or power interruptions.

- Expandable Features – The device should support additional effects like reverb, chorus, or delay through buttons or switches to enhance creative possibilities.

Resonant Cavity Field Profiler

Salaj Ganesh, Max Goin, Furkan Yazici

Resonant Cavity Field Profiler

Featured Project

# Team Members:

- Max Goin (jgoin2)

- Furkan Yazici (fyazici2)

- Salaj Ganesh (salajg2)

# Problem

We are interested in completing the project proposal submitted by Starfire for designing a device to tune Resonant Cavity Particle Accelerators. We are working with Tom Houlahan, the engineer responsible for the project, and have met with him to discuss the project already.

Resonant Cavity Particle Accelerators require fine control and characterization of their electric field to function correctly. This can be accomplished by pulling a metal bead through the cavities displacing empty volume occupied by the field, resulting in measurable changes to its operation. This is typically done manually, which is very time-consuming (can take up to 2 days).

# Solution

We intend on massively speeding up this process by designing an apparatus to automate the process using a microcontroller and stepper motor driver. This device will move the bead through all 4 cavities of the accelerator while simultaneously making measurements to estimate the current field conditions in response to the bead. This will help technicians properly tune the cavities to obtain optimum performance.

# Solution Components

## MCU:

STM32Fxxx (depending on availability)

Supplies drive signals to a stepper motor to step the metal bead through the 4 quadrants of the RF cavity. Controls a front panel to indicate the current state of the system. Communicates to an external computer to allow the user to set operating conditions and to log position and field intensity data for further analysis.

An MCU with a decent onboard ADC and DAC would be preferred to keep design complexity minimum. Otherwise, high MIPS performance isn’t critical.

## Frequency-Lock Circuitry:

Maintains a drive frequency that is equal to the resonant frequency. A series of op-amps will filter and form a control loop from output signals from the RF front end before sampling by the ADCs. 2 Op-Amps will be required for this task with no specific performance requirements.

## AC/DC Conversion & Regulation:

Takes an AC voltage(120V, 60Hz) from the wall and supplies a stable DC voltage to power MCU and motor driver. Ripple output must meet minimum specifications as stated in the selected MCU datasheet.

## Stepper Drive:

IC to control a stepper motor. There are many options available, for example, a Trinamic TMC2100. Any stepper driver with a decent resolution will work just fine. The stepper motor will not experience large loading, so the part choice can be very flexible.

## ADC/DAC:

Samples feedback signals from the RF front end and outputs the digital signal to MCU. This component may also be built into the MCU.

## Front Panel Indicator:

Displays the system's current state, most likely a couple of LEDs indicating progress/completion of tuning.

## USB Interface:

Establishes communication between the MCU and computer. This component may also be built into the MCU.

## Software:

Logs the data gathered by the MCU for future use over the USB connection. The position of the metal ball and phase shift will be recorded for analysis.

## Test Bed:

We will have a small (~ 1 foot) proof of concept accelerator for the purposes of testing. It will be supplied by Starfire with the required hardware for testing. This can be left in the lab for us to use as needed. The final demonstration will be with a full-size accelerator.

# Criterion For Success:

- Demonstrate successful field characterization within the resonant cavities on a full-sized accelerator.

- Data will be logged on a PC for later use.

- Characterization completion will be faster than current methods.

- The device would not need any input from an operator until completion.

Project Videos