SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
uRock
Music On MCU
by Sonicyang Anarchih KK Hirokiht
Outline
● Project Target
● Circuit Design
● How community helped us
● How Effect works and Implementation
● Wav Playing and Recoder
● UI
● Challanges & Obstacles
● Housing
Project Target - Inspiration
At the beginning, we want to try out audio signal processing
on microcontrollers, insteads of traditional method, DSPs.
As we are Guitar players, the Product we choose is Guitar
Effect Pedal.
What is Effect Pedal
Circuit Design
On our Design we want most of the work done digitally.
The analog Circuit mainly contains some amplifiers and
voltage regulators only.
Amplifiers and Level Shifters
Voltages Regulators
The on board Switching regulators are noisy, thus we use
external voltage regulators.
● We are using TI’s TPS7A4700, RF Rating
Through, QFN20 is hard to solder,
the result is Outstanding.
How Communities helped us
Libraries and Firmware we are using
● STM32 Cube
● FATFS
● uGFX
● ARM DSP Lib
OSS and sharing have make
our way to the goal much more easier
STM32 Cube
New HAL Firmware means fewer bugs.
Handy STM32 Cube MX software, Generate
Hardware related Initializing code.
Comes with multiple Middlewares.
● FreeRTOS
● FATFS
uGFX
Ported to base on
Cube Firmware and FreeRTOS
Very Flexible and portable, eased our pain on
UI designing.
ARM DSP Lib
Utiliztiing ARM’s SIMD instructions to speed up
signal processing.
support Fix point and floating point, but SIMD is
only available to fix point numbers.
Effect
● Distortion
● Overdrive
● Equalizer
● Compressor
● Delay
● Reverb
For coding the effects, we use the
ARM DSP Library to help us.
We also use Q12 numbers(fix points) to enable the
possibility to use ARM Cortex-M4F DSP & SIMD
By using the Above 2 technicals, the speed gain is LARGE.
Aid of Python and MATLAB
To simulate the Effects and visualize before
hands. we use python and MATLAB to test the
algorithms.
Effect - Overdrive & Distortion
Effect - Compressor
Effect - Delay
The internal SRAM is not deep enough, thus
we store the delay data on external SDRAM.
Effect - Equalizer
Use IIR Filter to filter the audio.
Coefficient designing base on MATLAB’s aid.
Wav Player and Recorder
Implemented Wav player and Recoder
which plays 16bits 44100k files
The purpose is to let user recode clips to
accompany himself playings
UI
Challange & Obstacles
1. HAL Firmware is still new, lots libraries are
still not compatiable.
2. Efficiently process audio siginals and
preserve accuracy
3. The Digital Siginal Processing requires lost
of MATH and base knowledge
Housing

Más contenido relacionado

La actualidad más candente

OPAL-RT RT14 Conference: egston compiso opal-rt
OPAL-RT RT14 Conference:  egston compiso opal-rtOPAL-RT RT14 Conference:  egston compiso opal-rt
OPAL-RT RT14 Conference: egston compiso opal-rtOPAL-RT TECHNOLOGIES
 
Smalltalk Computers, Past and Future by Jecel Mattos de Assumpção Jr
Smalltalk Computers, Past and Future by Jecel Mattos de Assumpção JrSmalltalk Computers, Past and Future by Jecel Mattos de Assumpção Jr
Smalltalk Computers, Past and Future by Jecel Mattos de Assumpção JrFAST
 
The IoT Academy IoT training Arduino Part 5 Arduino peripherals
The IoT Academy IoT training Arduino Part 5 Arduino peripheralsThe IoT Academy IoT training Arduino Part 5 Arduino peripherals
The IoT Academy IoT training Arduino Part 5 Arduino peripheralsThe IOT Academy
 
Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64Leif Bloomquist
 
Ocp updating the ocp compute voltage step response specification
Ocp  updating the ocp compute voltage step response specificationOcp  updating the ocp compute voltage step response specification
Ocp updating the ocp compute voltage step response specificationPenguin Computing
 
Shoftcore Processors
Shoftcore ProcessorsShoftcore Processors
Shoftcore ProcessorsAnish Goel
 
ELC North America 2021 Introduction to pin muxing and gpio control under linux
ELC  North America 2021 Introduction to pin muxing and gpio control under linuxELC  North America 2021 Introduction to pin muxing and gpio control under linux
ELC North America 2021 Introduction to pin muxing and gpio control under linuxNeil Armstrong
 
Navigation Systems Laboratory - Moscow Power Engineering Institute
Navigation Systems Laboratory - Moscow Power Engineering InstituteNavigation Systems Laboratory - Moscow Power Engineering Institute
Navigation Systems Laboratory - Moscow Power Engineering InstituteIlya Korogodin
 
S5429_LanceBrown
S5429_LanceBrownS5429_LanceBrown
S5429_LanceBrownLance Brown
 
TDD in deeply embedded system (Arduino) with TAP
TDD in deeply embedded system (Arduino) with TAPTDD in deeply embedded system (Arduino) with TAP
TDD in deeply embedded system (Arduino) with TAPFrançois Perrad
 
PIERS2018 Korogodin Naive beamforming for multi-element antenna GNSS receiver
PIERS2018 Korogodin Naive beamforming for multi-element antenna GNSS receiverPIERS2018 Korogodin Naive beamforming for multi-element antenna GNSS receiver
PIERS2018 Korogodin Naive beamforming for multi-element antenna GNSS receiverIlya Korogodin
 
FPGA_Overview_Ibr_2014
FPGA_Overview_Ibr_2014FPGA_Overview_Ibr_2014
FPGA_Overview_Ibr_2014Ibrahim Hejab
 
Linux on Open Source Hardware
Linux on Open Source HardwareLinux on Open Source Hardware
Linux on Open Source HardwareDrew Fustini
 
Code GPU with CUDA - Device code optimization principle
Code GPU with CUDA - Device code optimization principleCode GPU with CUDA - Device code optimization principle
Code GPU with CUDA - Device code optimization principleMarina Kolpakova
 

La actualidad más candente (20)

OPAL-RT RT14 Conference: egston compiso opal-rt
OPAL-RT RT14 Conference:  egston compiso opal-rtOPAL-RT RT14 Conference:  egston compiso opal-rt
OPAL-RT RT14 Conference: egston compiso opal-rt
 
Smalltalk Computers, Past and Future by Jecel Mattos de Assumpção Jr
Smalltalk Computers, Past and Future by Jecel Mattos de Assumpção JrSmalltalk Computers, Past and Future by Jecel Mattos de Assumpção Jr
Smalltalk Computers, Past and Future by Jecel Mattos de Assumpção Jr
 
Asus Tinker Board
Asus Tinker BoardAsus Tinker Board
Asus Tinker Board
 
Artillery Duel Network
Artillery Duel NetworkArtillery Duel Network
Artillery Duel Network
 
The IoT Academy IoT training Arduino Part 5 Arduino peripherals
The IoT Academy IoT training Arduino Part 5 Arduino peripheralsThe IoT Academy IoT training Arduino Part 5 Arduino peripherals
The IoT Academy IoT training Arduino Part 5 Arduino peripherals
 
Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64Wi-Fi Modem For the Commodore 64
Wi-Fi Modem For the Commodore 64
 
Ocp updating the ocp compute voltage step response specification
Ocp  updating the ocp compute voltage step response specificationOcp  updating the ocp compute voltage step response specification
Ocp updating the ocp compute voltage step response specification
 
Shoftcore Processors
Shoftcore ProcessorsShoftcore Processors
Shoftcore Processors
 
ELC North America 2021 Introduction to pin muxing and gpio control under linux
ELC  North America 2021 Introduction to pin muxing and gpio control under linuxELC  North America 2021 Introduction to pin muxing and gpio control under linux
ELC North America 2021 Introduction to pin muxing and gpio control under linux
 
Navigation Systems Laboratory - Moscow Power Engineering Institute
Navigation Systems Laboratory - Moscow Power Engineering InstituteNavigation Systems Laboratory - Moscow Power Engineering Institute
Navigation Systems Laboratory - Moscow Power Engineering Institute
 
Chap 02[1]
Chap 02[1]Chap 02[1]
Chap 02[1]
 
S5429_LanceBrown
S5429_LanceBrownS5429_LanceBrown
S5429_LanceBrown
 
TDD in deeply embedded system (Arduino) with TAP
TDD in deeply embedded system (Arduino) with TAPTDD in deeply embedded system (Arduino) with TAP
TDD in deeply embedded system (Arduino) with TAP
 
PIERS2018 Korogodin Naive beamforming for multi-element antenna GNSS receiver
PIERS2018 Korogodin Naive beamforming for multi-element antenna GNSS receiverPIERS2018 Korogodin Naive beamforming for multi-element antenna GNSS receiver
PIERS2018 Korogodin Naive beamforming for multi-element antenna GNSS receiver
 
Gnu linux on arm for $50 - $100
Gnu linux on arm for $50 - $100Gnu linux on arm for $50 - $100
Gnu linux on arm for $50 - $100
 
FPGA_Overview_Ibr_2014
FPGA_Overview_Ibr_2014FPGA_Overview_Ibr_2014
FPGA_Overview_Ibr_2014
 
Linux on Open Source Hardware
Linux on Open Source HardwareLinux on Open Source Hardware
Linux on Open Source Hardware
 
Code GPU with CUDA - Device code optimization principle
Code GPU with CUDA - Device code optimization principleCode GPU with CUDA - Device code optimization principle
Code GPU with CUDA - Device code optimization principle
 
The Parrot VM
The Parrot VMThe Parrot VM
The Parrot VM
 
FPGA workshop
FPGA workshopFPGA workshop
FPGA workshop
 

Similar a uRock @ Jserv Course Final

Similar a uRock @ Jserv Course Final (20)

I pod new
I pod newI pod new
I pod new
 
I pod presentation
I pod presentationI pod presentation
I pod presentation
 
Dsp
DspDsp
Dsp
 
8051 microcontroller
8051 microcontroller8051 microcontroller
8051 microcontroller
 
DSP Processor
DSP Processor DSP Processor
DSP Processor
 
Chapter1
Chapter1Chapter1
Chapter1
 
Audio Acquisition, Storage and Playback
Audio Acquisition, Storage and PlaybackAudio Acquisition, Storage and Playback
Audio Acquisition, Storage and Playback
 
Lec09-DSP.pdf
Lec09-DSP.pdfLec09-DSP.pdf
Lec09-DSP.pdf
 
Digital Recorder Presentation- Draft 1
Digital Recorder Presentation- Draft 1Digital Recorder Presentation- Draft 1
Digital Recorder Presentation- Draft 1
 
Mobile processors
Mobile processors Mobile processors
Mobile processors
 
BeagleBone black
BeagleBone blackBeagleBone black
BeagleBone black
 
Introduction to Blackfin BF532 DSP
Introduction to Blackfin BF532 DSPIntroduction to Blackfin BF532 DSP
Introduction to Blackfin BF532 DSP
 
arduinoworkshop-160204051621.pdf
arduinoworkshop-160204051621.pdfarduinoworkshop-160204051621.pdf
arduinoworkshop-160204051621.pdf
 
Ardui no
Ardui no Ardui no
Ardui no
 
Dsp
DspDsp
Dsp
 
Pres
PresPres
Pres
 
Solution on Handheld Signal Generator
Solution on Handheld Signal Generator Solution on Handheld Signal Generator
Solution on Handheld Signal Generator
 
Mp3 player project presentation
Mp3 player project presentationMp3 player project presentation
Mp3 player project presentation
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Nios2 and ip core
Nios2 and ip coreNios2 and ip core
Nios2 and ip core
 

Más de 宗凡 楊

COSCUP 2016 - LLVM 由淺入淺
COSCUP 2016 - LLVM 由淺入淺COSCUP 2016 - LLVM 由淺入淺
COSCUP 2016 - LLVM 由淺入淺宗凡 楊
 
uRock @ SITCON 2015
uRock @ SITCON 2015uRock @ SITCON 2015
uRock @ SITCON 2015宗凡 楊
 
C4Labs PCB Miller Project
C4Labs PCB Miller ProjectC4Labs PCB Miller Project
C4Labs PCB Miller Project宗凡 楊
 
Lambda's CNC @FabLab 10/27/14
Lambda's CNC @FabLab 10/27/14Lambda's CNC @FabLab 10/27/14
Lambda's CNC @FabLab 10/27/14宗凡 楊
 
Lambda's CNC @FabLab 10/27/14
Lambda's CNC @FabLab 10/27/14Lambda's CNC @FabLab 10/27/14
Lambda's CNC @FabLab 10/27/14宗凡 楊
 

Más de 宗凡 楊 (7)

COSCUP 2016 - LLVM 由淺入淺
COSCUP 2016 - LLVM 由淺入淺COSCUP 2016 - LLVM 由淺入淺
COSCUP 2016 - LLVM 由淺入淺
 
uRock @ SITCON 2015
uRock @ SITCON 2015uRock @ SITCON 2015
uRock @ SITCON 2015
 
C4Labs PCB Miller Project
C4Labs PCB Miller ProjectC4Labs PCB Miller Project
C4Labs PCB Miller Project
 
Lambda's CNC @FabLab 10/27/14
Lambda's CNC @FabLab 10/27/14Lambda's CNC @FabLab 10/27/14
Lambda's CNC @FabLab 10/27/14
 
Cnc fablab
Cnc   fablabCnc   fablab
Cnc fablab
 
Cnc fablab
Cnc   fablabCnc   fablab
Cnc fablab
 
Lambda's CNC @FabLab 10/27/14
Lambda's CNC @FabLab 10/27/14Lambda's CNC @FabLab 10/27/14
Lambda's CNC @FabLab 10/27/14
 

Último

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

uRock @ Jserv Course Final

  • 1. uRock Music On MCU by Sonicyang Anarchih KK Hirokiht
  • 2. Outline ● Project Target ● Circuit Design ● How community helped us ● How Effect works and Implementation ● Wav Playing and Recoder ● UI ● Challanges & Obstacles ● Housing
  • 3. Project Target - Inspiration At the beginning, we want to try out audio signal processing on microcontrollers, insteads of traditional method, DSPs. As we are Guitar players, the Product we choose is Guitar Effect Pedal.
  • 5. Circuit Design On our Design we want most of the work done digitally. The analog Circuit mainly contains some amplifiers and voltage regulators only.
  • 7. Voltages Regulators The on board Switching regulators are noisy, thus we use external voltage regulators. ● We are using TI’s TPS7A4700, RF Rating Through, QFN20 is hard to solder, the result is Outstanding.
  • 8. How Communities helped us Libraries and Firmware we are using ● STM32 Cube ● FATFS ● uGFX ● ARM DSP Lib OSS and sharing have make our way to the goal much more easier
  • 9. STM32 Cube New HAL Firmware means fewer bugs. Handy STM32 Cube MX software, Generate Hardware related Initializing code. Comes with multiple Middlewares. ● FreeRTOS ● FATFS
  • 10. uGFX Ported to base on Cube Firmware and FreeRTOS Very Flexible and portable, eased our pain on UI designing.
  • 11. ARM DSP Lib Utiliztiing ARM’s SIMD instructions to speed up signal processing. support Fix point and floating point, but SIMD is only available to fix point numbers.
  • 12. Effect ● Distortion ● Overdrive ● Equalizer ● Compressor ● Delay ● Reverb
  • 13. For coding the effects, we use the ARM DSP Library to help us. We also use Q12 numbers(fix points) to enable the possibility to use ARM Cortex-M4F DSP & SIMD By using the Above 2 technicals, the speed gain is LARGE.
  • 14. Aid of Python and MATLAB To simulate the Effects and visualize before hands. we use python and MATLAB to test the algorithms.
  • 15. Effect - Overdrive & Distortion
  • 17. Effect - Delay The internal SRAM is not deep enough, thus we store the delay data on external SDRAM.
  • 18. Effect - Equalizer Use IIR Filter to filter the audio. Coefficient designing base on MATLAB’s aid.
  • 19. Wav Player and Recorder Implemented Wav player and Recoder which plays 16bits 44100k files The purpose is to let user recode clips to accompany himself playings
  • 20. UI
  • 21. Challange & Obstacles 1. HAL Firmware is still new, lots libraries are still not compatiable. 2. Efficiently process audio siginals and preserve accuracy 3. The Digital Siginal Processing requires lost of MATH and base knowledge