Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
190 changes: 129 additions & 61 deletions .github/workflows/compile-sketch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,20 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
fqbn:
- esp32:esp32:esp32

sketch-paths:
- examples/ml_epiano_example
- examples/ml_midi_monitor
- examples/ml_mod_tracker
- examples/ml_synth_basic_example
- examples/ml_synth_fm_example
- examples/ml_synth_multi_saw_example
- examples/ml_synth_organ_example
- examples/ml_synth_pwm_osc_example
- examples/ml_synth_sampler_example
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -33,15 +43,7 @@ jobs:
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
version: 2.0.13
sketch-paths: |
- examples/ml_epiano_example
- examples/ml_mod_tracker
- examples/ml_synth_basic_example
- examples/ml_synth_fm_example
- examples/ml_synth_multi_saw_example
- examples/ml_synth_organ_example
- examples/ml_synth_pwm_osc_example
- examples/ml_synth_sampler_example
sketch-paths: ${{ matrix.sketch-paths }}
libraries: |
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
Expand All @@ -66,9 +68,20 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
fqbn:
- esp32:esp32:esp32
sketch-paths:
- examples/ml_epiano_example
#- examples/ml_mod_tracker
- examples/ml_midi_monitor
- examples/ml_synth_basic_example
#- examples/ml_synth_fm_example
#- examples/ml_synth_multi_saw_example
#- examples/ml_synth_organ_example
#- examples/ml_synth_pwm_osc_example
#- examples/ml_synth_sampler_example

steps:
- name: Checkout repository
Expand All @@ -84,15 +97,7 @@ jobs:
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
version: 3.0.5
sketch-paths: |
- examples/ml_epiano_example
#- examples/ml_mod_tracker
- examples/ml_synth_basic_example
#- examples/ml_synth_fm_example
#- examples/ml_synth_multi_saw_example
#- examples/ml_synth_organ_example
#- examples/ml_synth_pwm_osc_example
#- examples/ml_synth_sampler_example
sketch-paths: ${{ matrix.sketch-paths }}
libraries: |
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
Expand All @@ -117,16 +122,26 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
fqbn:
- esp8266:esp8266:d1_mini

sketch-paths:
# - examples/ml_epiano_example
# - examples/ml_midi_monitor
- examples/ml_mod_tracker
# - examples/ml_synth_basic_example
# - examples/ml_synth_fm_example
# - examples/ml_synth_multi_saw_example
- examples/ml_synth_organ_example
# - examples/ml_synth_pwm_osc_example
# - examples/ml_synth_sampler_example
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: 'true'

- name: Compile sketch
uses: arduino/compile-sketches@v1
with:
Expand All @@ -135,15 +150,7 @@ jobs:
- name: esp8266:esp8266
source-url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
version: 3.1.2
sketch-paths: |
# - examples/ml_epiano_example
- examples/ml_mod_tracker
# - examples/ml_synth_basic_example
# - examples/ml_synth_fm_example
# - examples/ml_synth_multi_saw_example
- examples/ml_synth_organ_example
# - examples/ml_synth_pwm_osc_example
# - examples/ml_synth_sampler_example
sketch-paths: ${{ matrix.sketch-paths }}
libraries: |
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
Expand All @@ -162,17 +169,28 @@ jobs:
name: AC101


build_rp2040:
build_rp2040_tinyusb:

name: build rp2040

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
fqbn:
- rp2040:rp2040:rpipico

- rp2040:rp2040:rpipico2
sketch-paths:
- examples/ml_epiano_example
#- examples/ml_midi_monitor
- examples/ml_mod_tracker
- examples/ml_synth_basic_example
#- examples/ml_synth_fm_example
- examples/ml_synth_multi_saw_example
- examples/ml_synth_organ_example
#- examples/ml_synth_pwm_osc_example
- examples/ml_synth_sampler_example
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -190,15 +208,61 @@ jobs:
platforms: |
- name: rp2040:rp2040
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
sketch-paths: |
- examples/ml_epiano_example
- examples/ml_mod_tracker
- examples/ml_synth_basic_example
#- examples/ml_synth_fm_example
- examples/ml_synth_multi_saw_example
- examples/ml_synth_organ_example
#- examples/ml_synth_pwm_osc_example
- examples/ml_synth_sampler_example
sketch-paths: ${{ matrix.sketch-paths }}
libraries: |
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
- source-url: https://github.com/marcel-licence/ML_SynthTools_Lib.git
name: ML_SynthTools_Lib
- source-url: https://github.com/adafruit/Adafruit-GFX-Library.git
name: Adafruit_GFX_Library
version: 1.10.10
- source-url: https://github.com/adafruit/Adafruit_SSD1306.git
name: Adafruit_SSD1306
version: 2.4.5
- source-url: https://github.com/adafruit/Adafruit_BusIO.git
name: Adafruit BusIO
version: 1.14.1
- source-url: https://github.com/marcel-licence/AC101.git
name: AC101
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
- source-url: https://github.com/FortySevenEffects/arduino_midi_library.git
name: MIDI_Library
version: 5.0.2

build_rp2040:

name: build rp2040

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
fqbn:
- rp2040:rp2040:rpipico
- rp2040:rp2040:rpipico2
sketch-paths:
- examples/ml_midi_monitor
steps:
- name: Checkout repository
uses: actions/checkout@v4

with:
submodules: 'true'

- name: Compile sketch
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.fqbn }}
# cli-compile-flags: |
# - --build-property
# - "build.usbstack_flags=-DUSE_TINYUSB -I{runtime.platform.path}/libraries/Adafruit_TinyUSB_Arduino/src/arduino"
platforms: |
- name: rp2040:rp2040
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
sketch-paths: ${{ matrix.sketch-paths }}
libraries: |
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
Expand Down Expand Up @@ -230,10 +294,20 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
fqbn:
- STMicroelectronics:stm32:GenH7

sketch-paths:
- examples/ml_epiano_example
# - examples/ml_midi_monitor
- examples/ml_mod_tracker
- examples/ml_synth_basic_example
- examples/ml_synth_fm_example
- examples/ml_synth_multi_saw_example
- examples/ml_synth_organ_example
- examples/ml_synth_pwm_osc_example
- examples/ml_synth_sampler_example
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -248,15 +322,7 @@ jobs:
- name: STMicroelectronics:stm32
- source-url: https://raw.githubusercontent.com/stm32duino/BoardManagerFiles/main/package_stmicroelectronics_index.json
version: 2.0.0
sketch-paths: |
- examples/ml_epiano_example
- examples/ml_mod_tracker
- examples/ml_synth_basic_example
- examples/ml_synth_fm_example
- examples/ml_synth_multi_saw_example
- examples/ml_synth_organ_example
- examples/ml_synth_pwm_osc_example
- examples/ml_synth_sampler_example
sketch-paths: ${{ matrix.sketch-paths }}
libraries: |
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
Expand All @@ -283,10 +349,20 @@ jobs:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
fqbn:
- teensy:avr:teensy41

sketch-paths:
#- examples/ml_epiano_example
#- examples/ml_midi_monitor
#- examples/ml_mod_tracker
- examples/ml_synth_basic_example
- examples/ml_synth_fm_example
#- examples/ml_synth_multi_saw_example
#- examples/ml_synth_organ_example
#- examples/ml_synth_pwm_osc_example
#- examples/ml_synth_sampler_example
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -301,15 +377,7 @@ jobs:
- name: teensy:avr
source-url: https://www.pjrc.com/teensy/package_teensy_index.json
version: 1.59.0
sketch-paths: |
#- examples/ml_epiano_example
#- examples/ml_mod_tracker
- examples/ml_synth_basic_example
- examples/ml_synth_fm_example
#- examples/ml_synth_multi_saw_example
#- examples/ml_synth_organ_example
#- examples/ml_synth_pwm_osc_example
#- examples/ml_synth_sampler_example
sketch-paths: ${{ matrix.sketch-paths }}
libraries: |
- source-url: https://github.com/marcel-licence/ML_SynthTools.git
name: ML_SynthTools
Expand Down
5 changes: 5 additions & 0 deletions examples/ml_midi_monitor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<h1 align="center">ml_midi_monitor</h1>
<h3 align="center">MIDI monitor for MIDI serial hardware testing</h3>
<p align="center">
<img src="img/midi_monitor.jpg" alt="project picture" width="480px" height="270px"><br>
</p>
Loading
Loading