Code File
|
Function
|
Apps/Sequencer/load |
This file is a list of files to be compiled into
the sequencer. It contains entries for all of the
files listed in this table.
|
Apps/Sequencer/programmingSequenceUI.fth
|
This file contains the code for the user
interface used when programming the sequencer.
|
Apps/Sequencer/runtimeSequenceUI.fth
|
This file contains the code for the user
interface used when the sequencer is running.
|
Apps/Sequencer/sequence_storage.fth
|
This file contains the code that manages the 8x8
sequences supported by the sequencer. It also has
code for saving and loading all of the sequences
to/from the SPIFFS filesystem.
|
Apps/Sequencer/sequence_hwd.fth
|
This file enumerates the electrical connections
between the ESP32's GPIO lines and the display, the
rotary encoder, the MIDI interface and all of the
switches/buttons used in the sequencer.
|
Apps/Sequencer/sequencer.fth
|
This is the top level application code which
runs the sequencer. It has code for initializing the
hardware and a finite state machine which runs the
sequencer.
|
Apps/Sequencer/variables.fth
|
This file contains the runtime variables that
control the sequencer's operation.
|
Utils/structures.fth
|
Forth code supporting simple C like structures.
This code is used by the multiple click button code
(multi_MCB.fth) in support of multiple instances of
the code used for all switches/buttons.
|
Utils/formatbuffer.fth
|
Code for string manipulation allowing
characters, text and numbers to be concatenated
together. Used to format strings for the sequencer
UI.
|
Utils/stringtable.fth
|
Code for building large tables of strings. This
is used for storing the 127 different MIDI voice
strings used in the UI.
|
Drivers/ST7735.fth
|
An SPI display driver for the ST7735 display
controller. Display resolution is 128x160 pixels.
|
Graphics/Font5x7.fth
|
Font used exclusively by the sequencer
|
Graphics/text.fth
|
This file provides all of the functions for
writing text using the 5x7 font to the SPI display.
|
Drivers/rotaryencoder2.fth
|
This is the driver for the rotary encoder. It
utilizes a finite state machine for tracking forward
and backward rotations of the rotary encoder.
|
Drivers/multi_MCB.fth
|
This code runs a finite state machine that
determines if a switch/button is single, double or
long clicked giving each switch/button lots of
functionality.
|
Drivers/midi.fth
|
This MIDI driver uses Serial2 of the ESP32 for
the MIDI serial interface. This simple drivers
provides Forth words for sending MIDI messages to an
attached synthesizer.
|