No Midi Input #91
Replies: 3 comments 3 replies
-
@prof-cocoon hm the output looks okay to me. |
Beta Was this translation helpful? Give feedback.
-
Hi Marcel, good news, finally the midi messages are being received well! #ifdef MIDI_RX2_PIN ...And in the esp32_basic_synth file I've added the following line in the setup function: Now the fun begins...I was a little confused about the midi implementation of z_config, but now I've figured out how your edirol controller sends midi cc and I've reproduced it with a little midi out template preset in FL Studio. Everything is working well, thank you a lot for your work. It is amazing to have a polyphonic synth for such a little price, especially for our damaged economy in Argentina, where the simplest and cheapest synth costs about one month of salary. |
Beta Was this translation helpful? Give feedback.
-
Good day!
(*) Here I'm having some trouble. When the selected waveform is "continuous" (i.e sine os triangular) the mod works smooth, but when saw or square is selected, sometimes there is some audible noise in the falling flank. I don't understand why this happens, as the values passed to the Filter Calculate function are legal. UPDATE: now the filter cutoff can be modulated with Osc 2 audio output, but there are still some unwanted noises. Here is a little playlist I've made with dry and wet sounds through some ValhallaDSP vsts. Esp32 playlist |
Beta Was this translation helpful? Give feedback.
-
Hi, i'm having the problem of the title: no midi activity in Serial2. I don't know if its something i'm not guessing with config.h.
Hardware seems to be ok, because uncommenting "#define NOTE_ON_AFTER_SETUP" outputs a note correctly. Also, I've made a little code to test the octocoupler and its connections to midi jack and ESP32 pin RX2 and it's monitoring ok the midi messages. Also, I've uncommented the #define MIDI_DUMP_SERIAL2_TO_SERIAL in order to see in the serial monitor any activicty, but nothing echoes. I'm using a DOIT ESP32 DEVKIT V1 board. Any help is appreciated! Thanks for your work Marcel!
This is the serial monitor output:
esp32_basic_synth Copyright (c) 2022 Marcel Licence
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it
under certain conditions;
Initialize Synth Module
Initialize I2S Module
I2S configured using following pins:
BCLK,BCK: 25
WCLK,LCK: 27
DOUT: 26
DIN: -1
rev: 15329, 15329
Reverb is ready!
Setup Serial2 with 31250 baud with rx: 16 and tx 17
Setup MidiPort2 using Serial2
ESP.getFreeHeap() 36716
ESP.getMinFreeHeap() 36696
ESP.getHeapSize() 186856
ESP.getMaxAllocHeap() 19444
Total heap: 186856
Free heap: 36716
Total PSRAM: 0
Free PSRAM: 0
Firmware started successfully
Here is my config.h:
//#define NOTE_ON_AFTER_SETUP
#define SERIAL_BAUDRATE 115200
//#define OUTPUT_SAW_TEST
//#define BOARD_ML_V1
//#define BOARD_ESP32_AUDIO_KIT_AC101
//#define BOARD_ESP32_AUDIO_KIT_ES8388
#define BOARD_ESP32_DOIT
//#define AUDIO_PASS_THROUGH
#define SAMPLE_BUFFER_SIZE 48
#define MIDI_USE_CONST_VELOCITY
#define MAX_DELAY (SAMPLE_RATE/2)
//#define MIDI_RECV_FROM_SERIAL
//#define MIDI_VIA_USB_ENABLED
//#define OLED_OSC_DISP_ENABLED
//#define ADC_TO_MIDI_ENABLED
//#define ADC_TO_MIDI_LOOKUP_SIZE 8
//#define ARP_MODULE_ENABLED
//#define MIDI_SYNC_MASTER
//#define MIDI_CTRL_ENABLED
//#define MIDI_STREAM_PLAYER_ENABLED
Beta Was this translation helpful? Give feedback.
All reactions