Brick Groove Machine 0.9.3
Firmware embarqué pour contrôleur/synthé Brick
 
Chargement...
Recherche...
Aucune correspondance
seq_recorder.h
Aller à la documentation de ce fichier.
1
6#ifndef BRICK_APPS_SEQ_RECORDER_H
7#define BRICK_APPS_SEQ_RECORDER_H
8
9#include <stdint.h>
10#include <stdbool.h>
11
12#include "clock_manager.h"
13#include "ch.h" // --- ARP FIX: timestamp explicite ---
14#include "core/seq/seq_model.h"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
23void seq_recorder_set_recording(bool enabled);
24void seq_recorder_handle_note_on(uint8_t note, uint8_t velocity);
25void seq_recorder_handle_note_on_at(uint8_t note, uint8_t velocity, systime_t timestamp); // --- ARP FIX: batch timestamp ---
26void seq_recorder_handle_note_off(uint8_t note);
27void seq_recorder_handle_note_off_at(uint8_t note, systime_t timestamp); // --- ARP FIX: batch timestamp ---
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* BRICK_APPS_SEQ_RECORDER_H */
uint32_t systime_t
Definition ch.h:12
Gestionnaire central d’horloge et de synchronisation tempo / MIDI.
Brick sequencer data model definitions and helpers.
void seq_recorder_handle_note_on_at(uint8_t note, uint8_t velocity, systime_t timestamp)
Definition seq_recorder.c:86
void seq_recorder_handle_note_on(uint8_t note, uint8_t velocity)
Definition seq_recorder.c:81
void seq_recorder_set_recording(bool enabled)
Definition seq_recorder.c:74
void seq_recorder_handle_note_off_at(uint8_t note, systime_t timestamp)
Definition seq_recorder.c:119
void seq_recorder_init(seq_model_pattern_t *pattern)
Definition seq_recorder.c:54
void seq_recorder_attach_pattern(seq_model_pattern_t *pattern)
Definition seq_recorder.c:62
void seq_recorder_on_clock_step(const clock_step_info_t *info)
Definition seq_recorder.c:67
void seq_recorder_handle_note_off(uint8_t note)
Definition seq_recorder.c:114
Informations complètes passées au callback à chaque “step” (1/16).
Definition clock_manager.h:52
Definition seq_model.h:150