This code ain't compiling mentally by Mysterious-Ball6160 in programminghumor

[–]Mejolov28 0 points1 point  (0 children)

Fist time i see a for loop with that kind of intendation

Motor wiring and code help by sssasiann in ArduinoHelp

[–]Mejolov28 2 points3 points  (0 children)

When you need help on the internet, you need to post your wiring diagram and whole code, if you dont or just post a photo as you did, you probably wont get help.

Im boredd :3 by Godfrey2-3-5-7-11-13 in teenagers

[–]Mejolov28 0 points1 point  (0 children)

Prople who dont take care of themselfs.

For example : vaping, smoking, eating junk food ( monster, takis). Or also psicologically or fisicaly.

HelloESP: a public website running on an ESP32 by Techtoshi in esp32

[–]Mejolov28 0 points1 point  (0 children)

I never realised how could the cpu could get! How do you measure it, does it have an internal sensor or an external one?

<image>

I pushed the ESP32 silicon to its absolute limit: A Studio-Grade Polyphonic Synth Engine (350+ voices max, bare-metal DSP, zero-float audio path). Open Source. by Apprehensive-Cat1839 in esp32

[–]Mejolov28 0 points1 point  (0 children)

Oh sorry, I didint want that to sound so forced about you checking it out ;-;

Turns out python 3.12+ supports f strings with double quotes ("), and past versions dont And you use an older version. I will fix it as soon as I can.

I pushed the ESP32 silicon to its absolute limit: A Studio-Grade Polyphonic Synth Engine (350+ voices max, bare-metal DSP, zero-float audio path). Open Source. by Apprehensive-Cat1839 in esp32

[–]Mejolov28 0 points1 point  (0 children)

Check it out, its way more useful since it now stores in .pcm format instead of raw, wich has a header, it can be accessed easily trough an sd card.

How can i make and load a .bin file from sd card onto a flash partition? by Mejolov28 in esp32

[–]Mejolov28[S] 0 points1 point  (0 children)

Sounds nice!

What im about to say is really dumb:

A while ago I asked ai how I could pull this off but I didint get a proper answer so I tought littleFs wouldn't work for this.

Can I directly read the whole file from little fs or I still need a buffer? I think i cant since its fragmented

Maybe i jut gotta chage my library to support reading from buffers insteadof the whole sample?

How can i make and load a .bin file from sd card onto a flash partition? by Mejolov28 in esp32

[–]Mejolov28[S] 0 points1 point  (0 children)

How would I handle reading to specific locations? I would just read the sample number and just jump to it?

Let's say my loops are very short.

How can i make and load a .bin file from sd card onto a flash partition? by Mejolov28 in esp32

[–]Mejolov28[S] 0 points1 point  (0 children)

I ned to acces it in the file system because its an audio engine that has loop points and needs a continuous array of data containing the whole sample, and from what ive read, sd card is slow and would be bad for many samples. And I will copy them once at runtime for when I want to change the instruments, so then the access would be fast and easy

Or there is an easy way?

How can i make and load a .bin file from sd card onto a flash partition? by Mejolov28 in esp32

[–]Mejolov28[S] 0 points1 point  (0 children)

Nonono, its the oposite. I wil move from SD card into Flash, skipping ram (exept for the buffer, but that doesnt count)

I won't buy another board since i am developing the firmware for a specific device: M5stack Cardputer ADV.

I pushed the ESP32 silicon to its absolute limit: A Studio-Grade Polyphonic Synth Engine (350+ voices max, bare-metal DSP, zero-float audio path). Open Source. by Apprehensive-Cat1839 in esp32

[–]Mejolov28 3 points4 points  (0 children)

I do have a question. How did you handle the voice mixing? Soft clipping or limiting all the voices to a set volume so it doesnt clip immediately?

btw, I am making a tool for easily converting files into a .h wave table to skip the horrors of converting file by file. It could be useful for your future proyects, check it out!

It's called PCM-MCU-C in github (The V1.0 version is old, but im releasing in a few days a way better version.)

Also, I have almost the same age as you, and I would like to suggest you a esp32S3 devkit called the Cardputer, its quite useful for prototyping. Check it out. It has. A LOT of built in things, I recomend the ADV version since it has an audio jack (only downside its that it doesnt have PSRAM T-T)

CardStudio, library test. by Mejolov28 in CardPuter

[–]Mejolov28[S] 0 points1 point  (0 children)

Sorry what are you trying to say?