#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "ch.h"
#include "apps/seq_led_bridge.h"
#include "apps/ui_keyboard_app.h"
#include "apps/seq_recorder.h"
#include "core/seq/seq_engine.h"
#include "core/seq/seq_model.h"
#include "core/seq/seq_live_capture.h"
#include "core/clock_manager.h"
#include "midi/midi.h"
#include "ui/ui_led_backend.h"
Fonctions | |
void | chMtxObjectInit (mutex_t *mtx) |
void | chMtxLock (mutex_t *mtx) |
void | chMtxUnlock (mutex_t *mtx) |
void | chBSemObjectInit (binary_semaphore_t *sem, bool taken) |
msg_t | chBSemWaitTimeout (binary_semaphore_t *sem, systime_t timeout) |
void | chBSemSignal (binary_semaphore_t *sem) |
thread_t * | chThdCreateStatic (void *wa, size_t size, tprio_t prio, tfunc_t func, void *arg) |
void | chThdWait (thread_t *thread) |
void | chRegSetThreadName (const char *name) |
systime_t | chVTGetSystemTimeX (void) |
systime_t | chVTGetSystemTime (void) |
void | chThdSleepMilliseconds (uint32_t ms) |
void | chSysLock (void) |
void | chSysUnlock (void) |
void | chSysLockFromISR (void) |
void | chSysUnlockFromISR (void) |
void | ui_led_seq_update_from_app (const seq_runtime_t *rt) |
void | ui_led_seq_set_total_span (uint16_t total_steps) |
void | ui_led_seq_set_running (bool running) |
void | ui_led_backend_set_mode (ui_led_mode_t mode) |
Sélection du mode visuel courant. | |
void | ui_led_backend_set_keyboard_omnichord (bool enabled) |
Active/valide le layout Omnichord (Keyboard). | |
bool | ui_mute_backend_is_muted (uint8_t track) |
void | midi_note_on (midi_dest_t dest, uint8_t ch, uint8_t note, uint8_t vel) |
Envoie une note ON. | |
void | midi_note_off (midi_dest_t dest, uint8_t ch, uint8_t note, uint8_t vel) |
Envoie une note OFF. | |
void | midi_cc (midi_dest_t dest, uint8_t ch, uint8_t cc, uint8_t val) |
Envoie un message de changement de contrôle (Control Change). | |
void | midi_all_notes_off (midi_dest_t dest, uint8_t ch) |
int | main (void) |
void chBSemObjectInit | ( | binary_semaphore_t * | sem, |
bool | taken | ||
) |
void chBSemSignal | ( | binary_semaphore_t * | sem | ) |
msg_t chBSemWaitTimeout | ( | binary_semaphore_t * | sem, |
systime_t | timeout | ||
) |
void chMtxLock | ( | mutex_t * | mtx | ) |
void chMtxObjectInit | ( | mutex_t * | mtx | ) |
void chMtxUnlock | ( | mutex_t * | mtx | ) |
void chRegSetThreadName | ( | const char * | name | ) |
void chSysLock | ( | void | ) |
void chSysLockFromISR | ( | void | ) |
void chSysUnlock | ( | void | ) |
void chSysUnlockFromISR | ( | void | ) |
void chThdSleepMilliseconds | ( | uint32_t | ms | ) |
void chThdWait | ( | thread_t * | thread | ) |
systime_t chVTGetSystemTime | ( | void | ) |
systime_t chVTGetSystemTimeX | ( | void | ) |
int main | ( | void | ) |
void midi_all_notes_off | ( | midi_dest_t | dest, |
uint8_t | ch | ||
) |
void midi_cc | ( | midi_dest_t | dest, |
uint8_t | ch, | ||
uint8_t | cc, | ||
uint8_t | val | ||
) |
Envoie un message de changement de contrôle (Control Change).
void midi_note_off | ( | midi_dest_t | dest, |
uint8_t | ch, | ||
uint8_t | note, | ||
uint8_t | vel | ||
) |
Envoie une note OFF.
void midi_note_on | ( | midi_dest_t | dest, |
uint8_t | ch, | ||
uint8_t | note, | ||
uint8_t | vel | ||
) |
Envoie une note ON.
dest | Destination d’envoi (UART/USB/BOTH) |
ch | Canal MIDI [0–15] |
note | Numéro de note [0–127] |
vel | Vélocité [0–127] (0 = Note Off) |
void ui_led_backend_set_keyboard_omnichord | ( | bool | enabled | ) |
Active/valide le layout Omnichord (Keyboard).
void ui_led_backend_set_mode | ( | ui_led_mode_t | mode | ) |
Sélection du mode visuel courant.
void ui_led_seq_set_running | ( | bool | running | ) |
void ui_led_seq_set_total_span | ( | uint16_t | total_steps | ) |
void ui_led_seq_update_from_app | ( | const seq_runtime_t * | rt | ) |
bool ui_mute_backend_is_muted | ( | uint8_t | track | ) |