Electronic musical instruments_Drum machine

347 views
Skip to first unread message

fendoap ,

unread,
Sep 9, 2021, 9:19:40 AM9/9/21
to Mozzi-users
I'm fendoap.
I'm trying to make an electronic musical instrument using ESP32 and mozzi.
The device is equipped with OLED and some potentiometers and tact switches. 
I'm thinking of exchanging sketches to make various musical instruments.

I made a drum machine as a trial.

I also made a simple drone_synth

Here is some sketch:

 mozzi is very nice!  Thank you very much!



Martín Pardo

unread,
Sep 10, 2021, 5:56:23 PM9/10/21
to mozzi...@googlegroups.com, kinod...@gmail.com
Hi how are you
I'm testing the skech you sent.
For some reason it does not compile.
I am using the ESP32 DEV Kit.
This is the error :

Several libraries were found for "MozziGuts.h"
In file included from C: \ Users \ barto \ Documents \ Arduino \ libraries \ Mozzi-master / MozziGuts.h: 23: 0,
Used: C: \ Users \ barto \ Documents \ Arduino \ libraries \ Mozzi-master
 Not used: C: \ Users \ barto \ Documents \ Arduino \ libraries \ Mozzi_ESP32_and_DUE_files
                 from C: \ Users \ barto \ Documents \ Arduino \ Rhythm_Machine_Mozzi \ Rhythm_Machine_Mozzi.ino: 93:
C: \ Users \ barto \ Documents \ Arduino \ libraries \ Mozzi-master / hardware_defines.h: 22: 2: error: #error Your hardware is not supported by Mozzi or not recognized. Edit hardware_defines.h to proceed.
 #error Your hardware is not supported by Mozzi or not recognized. Edit hardware_defines.h to proceed.
  ^
In file included from C: \ Users \ barto \ Documents \ Arduino \ libraries \ Mozzi-master / Oscil.h: 24: 0,
                 from C: \ Users \ barto \ Documents \ Arduino \ Maquina_de_Ritmo_Mozzi \ Maquina_de_Ritmo_Mozzi.ino: 94:
C: \ Users \ barto \ Documents \ Arduino \ libraries \ Mozzi-master / mozzi_pgmspace.h: 15:26: fatal error: avr / pgmspace.h: No such file or directory
compilation terminated.
exit status 1
Error compiling for ESP32 Dev Module card.

///////////////////////////////
On the other hand, I see this:
 u8g2.setFontMode (1);
u8g2.enableUTF8Print ();
u8g2.setFont (u8g2_font_b10_t_japanese1);

The source is in Japanese. This can be changed?


I send you greetings.

Martin

--
You received this message because you are subscribed to the Google Groups "Mozzi-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozzi-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/mozzi-users/32dc63f1-895d-4d47-bdf4-438ee6af994an%40googlegroups.com.
Message has been deleted

fendoap ,

unread,
Sep 12, 2021, 1:26:11 AM9/12/21
to Mozzi-users
Hi!  I used the drum sample table so that part may be an error. Then I use the u8g2 library to draw the OLED so u8g2 library is needed.  ESP32 may not be supported depending on the version of mozzi.
Then u8g2.setFontMode (1);
u8g2.enableUTF8Print ();
u8g2.setFont (u8g2_font_b10_t_japanese1);
The part of can be changed. Because it was a code created while trying it, there are various unnecessary parts. Maybe it works without this part. Thanks!

2021年9月11日土曜日 6:56:23 UTC+9 toniov...@gmail.com:
Reply all
Reply to author
Forward
0 new messages