Author Topic: Very cheap digital FX development enviroment (Blue pill)  (Read 492 times)

gamenyge

Very cheap digital FX development enviroment (Blue pill)
« on: December 14, 2019, 12:44:22 PM »
Hello everyone. I created a cheap and simple digital FX development environment.

Development environment
Blue Pill STM32 + ST-Link + USB Serial Module + STM32CubeIDE

top page
https://github.com/DIYFXWorld

Breadboard development environment
https://github.com/DIYFXWorld/BPFX

Delay pedal
https://github.com/DIYFXWorld/BPD

What is Blue Pill?
https://github.com/DIYFXWorld/How_do_you_write_a_program/wiki

This is not Multi FX. It is not stereo. The processor I used, STM32F103C8, does not have the power to process multiple FX in real time. However, it can be used as an environment for learning rudimentary sound FX programming. C / C ++ language is used for programming.

I wrote some test programs. If you write the firmware to the MCU, you can test it immediately.

I am Japanese. My text is written in Japanese. But if you have web translation, you can understand my article. The circuit is simple enough that anyone can prototype it. This sentence also uses the translation function.

Please give me your impressions. thank you for reading.

Digital Larry

Re: Very cheap digital FX development enviroment (Blue pill)
« Reply #1 on: December 24, 2019, 12:45:01 PM »
My impressions are as follows:
- nice work
- it may be hard to get people to adapt this as there are a variety of pretty inexpensive, ready to go platforms that have more CPU horsepower
- other people may feel differently, but I don't like programming DSP in C/C++

Don't let it stop you!
Digital Larry
DSP tinkerer and former transistor twister

Blackaddr

Re: Very cheap digital FX development enviroment (Blue pill)
« Reply #2 on: December 24, 2019, 01:42:05 PM »
Similar to why no one programs in assembly any more (the C and C++ compilers produce code just as fast if not faster) DSP-chip programming is quickly becoming something that people just don't do anymore.

Products like a Raspberry PI for pure compute (non-realtime) power, and 1 GHz Cortex-M7 for realtime no-OS applications just make DSPs seem way too difficult to program for such a small gain.

I started my career as an FPGA/ASIC digital designer and even I've moved most my DSP computing to Cortex-A and Cortex-M processors.
Blackaddr Audio
Digital Modelling Enthusiast
www.blackaddr.com

quad4

Re: Very cheap digital FX development enviroment (Blue pill)
« Reply #3 on: December 24, 2019, 05:34:44 PM »
Ditto on general purpose computing versus DSP ... especially for the hobbyist.

FYI, here are three interesting options for dev hardware:

Digital Larry

Re: Very cheap digital FX development enviroment (Blue pill)
« Reply #4 on: December 25, 2019, 12:42:14 PM »
Not sure if the comments were directed at me, since people may know I've spent a lot of time on the FV-1, which doesn't support C/C++.   I hate programming that thing's DSP assembler even more than C/C++, but for what it is, especially considering it first came out almost 15 years ago, it's pretty compact and elegant and totally non-portable.

My preference is either for a graphical tool or something like Faust, where you are not so lost in the weeds of buffer pointers and UI threads etc.  Of course with those you are at the mercy of whatever functions the library supports, but I'd bet that most people getting started will find that relatively satisfactory.  By the time you get to where you want to do something really innovative, go ahead and do it in C/C++ then add it to the library of a higher level language or tool so you never have to do it again.
Digital Larry
DSP tinkerer and former transistor twister

gamenyge

Re: Very cheap digital FX development enviroment (Blue pill)
« Reply #5 on: December 26, 2019, 09:27:23 AM »
Merry Christmas. Digital Larry, Balckaddr, quad4.
Since there was no reaction for a long time, I thought the world was destroyed by a biohazard.
I am very happy to talk with you. Japan is very peaceful.

I didn't know ESP32-A1S and Faust, so I ordered the ESP32-audio-kit development board today. I needed to search the Internet more carefully. I will consider whether it is beneficial for me. And I reconsider my project.

Your message was very helpful. Thank you very much.

Digital Larry

Re: Very cheap digital FX development enviroment (Blue pill)
« Reply #6 on: December 26, 2019, 10:41:10 AM »
Merry Christmas. Digital Larry, Balckaddr, quad4.
Since there was no reaction for a long time, I thought the world was destroyed by a biohazard.
I am very happy to talk with you. Japan is very peaceful.

I didn't know ESP32-A1S and Faust, so I ordered the ESP32-audio-kit development board today. I needed to search the Internet more carefully. I will consider whether it is beneficial for me. And I reconsider my project.

Your message was very helpful. Thank you very much.
Hi gamenyge, I am happy to report that at the moment, California has not yet been completely destroyed by a biohazard.

If you are interested in Faust, I really recommend this online course.

https://www.kadenze.com/courses/real-time-audio-signal-processing-in-faust/info

The instructors both have very heavy French accents, which might make it difficult.  You could contact Kadenze and ask if the transcripts of the videos (e.g. for the caption text) is available.

In this course, I developed apps and plugins for Android, Windows, and Mac.  Also for awhile I was playing around with a "Bela" since I'd bought one from their original Kickstarter.  So I developed some plugins for Bela also.  I don't recommend Bela for guitar pedal use as it is relatively noisy.  I believe it is better for developing unique instruments using sensors and switches to trigger and modify sounds.

Once you learn the Faust language you will probably be amazed.  Also it is in active development and you can interact with the developers via the mailing list.

Happy New Year to you too!  My company has an office in Tokyo near Otemachi station and I will probably be back there in a few months.  I plan to visit some guitar shops in Shibuya and Ochanomizu.

DL
« Last Edit: December 26, 2019, 10:45:35 AM by Digital Larry »
Digital Larry
DSP tinkerer and former transistor twister

gamenyge

Re: Very cheap digital FX development enviroment (Blue pill)
« Reply #7 on: December 27, 2019, 03:36:35 AM »
To Digital Larry

Thanks a lot for the information. I am reading the Faust manual translated into Japanese. And I found some Faust commentary pages written in Japanese.

My immediate goal is to create a Faust execution environment with ESP32-A1S.

Faust could be a very fun playground for me.
Thank you for your precious time.

I live in a rural part of Japan. Tokyo is as far away as South Korea.

Have a good year.

gamenyge

Digital Larry

Re: Very cheap digital FX development enviroment (Blue pill)
« Reply #8 on: December 27, 2019, 12:17:57 PM »
I'll be interested to learn what you come up with using Faust and the ESP32.   8)
Digital Larry
DSP tinkerer and former transistor twister

gamenyge

Re: Very cheap digital FX development enviroment (Blue pill)
« Reply #9 on: December 28, 2019, 09:22:12 AM »
What I'm thinking is probably normal.

-Faust's Web Editor has a very useful GUI. I want to take advantage of it.

-I want to simplify the procedure of designing on a PC ... compiling ... downloading to the FX pedal

-ESP32-A1S costs only $ 4.

OWL had a large circuit. STM32F405ZG (LQFP144) + Audio Codec + External SRAM

ESP32-A1S includes it all.
By adding a few analog circuits, something similar to OWL will be completed.
This is very attractive.