Music synthesizer - Different wave types ESP32 output code. 2nd week of "Locked in" sidequest. banner

Music synthesizer - Different wave types ESP32 output code. 2nd week of "Locked in" sidequest.

4 devlogs
26h 12m 51s

Updated Project: I updated the code so that it can make the different types of waves instead of outputting sine wave.
Music synthesizer that works with ESP32 and several wave generators to generate square and sine waves.

This project uses AI

Used GPAI to debug my code.

Demo Repository

Loading README...

Sparkbyte_Studios

I made the code for the 4 different waves, just to show what they look like and expressed them with some mathematical functions. I’ll add the code to the GitHub page and I’ll make a video about it and I’ll post it in youtube and I’ll ship to complete second week of “Locked in” sidequest. Still waiting for the parts to show up and I might make something else while waiting since some of them come from aliexpress and they are slow…

0
Sparkbyte_Studios

Sooo I had much work these days. I ordered all the parts I need for the synthesizer, but I don’t know how long they’ll take to arrive. I need a screen, PCM5102 DAC’s, XH-A156 4 channel amplifier board, speakers and so on. Now that I have ordered them and waiting for them to arrive to conduct my tests I’ve started working on some of the code, just to showcase how it works, before my stuff arrive. since the ESP32 has internal DAC and I have op-amps, I can easily make at least some of the tests so that the code I make and the things I ordered will work as intended. Anyways to show you what else I worked on since I need it for school, below you can see an AC generator that powers an LED. Since later this month my school will have an event where it’ll open our STEM centers and individuals like the minister of education of my country and so on will be there, the school has decided me and some other people to represent the school with a presentation for alternating current, so I made this project and the one before with the sine wave generator and I have other ones that I haven’t posted about that are homemade phase meter and some osciloscope projects to represent the school in my own engineering way and to wow the people that I’ll be presenting to. Hope you like my project too! Tomorow I’ll make a video as a demo of the waves I’ll be using and some mathematical equations of how to express them so I think that’s what I’ll post for the second week of “Locked in” sidequest.

0
Sparkbyte_Studios

Shipped this project!

Hours: 14.34
Cookies: 🍪 357
Multiplier: 24.9 cookies/hr

For this first week of “Lock in” sidequest I built a sine wave generator. This is because one I needed it for school and two I needed a place to start from. I researched for most of the time, then made a working cirquit, then made another one with an ESP32 to start off the music synthesizer project that I’m gonna ship ready at the end of this month. Anyways, the hardest part was learning how to make a Wien Bridge oscillator hence why did I spent so much time to research. I needed specific Op-Amp IC’s which I was suprised to find that I have, so I don’t need to buy more. Anyways, more of this project is coming soon!

Sparkbyte_Studios

Started working on the ESP32 code and made a sine wave output. I will post the code on github and make a tiktok video about my progress and how to make a Wien Bridge oscillator. Then Imma ship the project to keep the requirements of the “Locked in” sidequest. I will continue the project in a few days and post it as an update to this one, but for now this are my acomplishments. This will be a fuuun project :).

0
Sparkbyte_Studios

I saw the “Locked in” sidequest and thought “hmm what project should I do??” I went through 20 different stuff and got ideas from chatgpt, but I didn’t like any of them. Then I remembered 2 things, one - that I needed to make a sine wave generator for a presentation in school, and two - a girl I like who wants to be a singer told me that she saves money to buy a synthesizer for her music production (I told her she can ask whatever questions she had, and Im certainly helping her with her own song she wants to produce :) ). Anyway I started thinking of something interesting, why don’t I make a synthesizer from a few different types of waves and there we go, that’s what Im making. For now I made the Wien Bridge oscillator for the sine wave generator and it’s a massive success. For my project though I’ll be using ESP32 and it’s wave generating capabilities. I’ll just be using some Op-Amps to clean the generated waves. I’ll also add 2 rows of 8 buttons for the notes and 2 octaves (making it like a 4x4 matrix since the ESP32 doesn’t have a whole load of pins to work with) and a homemade oscillator to visualise the waves. Im making them interfere (mix) when some buttons are pressed together. I think it’s going to be so cool. P.S. I really need a variable power supply and Im thinking of buying one soon.

Attachment
Attachment
0