-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathapp.h
More file actions
62 lines (50 loc) · 1.93 KB
/
app.h
File metadata and controls
62 lines (50 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* Copyright (c) 2026 Marcel Licence
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Dieses Programm ist Freie Software: Sie können es unter den Bedingungen
* der GNU General Public License, wie von der Free Software Foundation,
* Version 3 der Lizenz oder (nach Ihrer Wahl) jeder neueren
* veröffentlichten Version, weiter verteilen und/oder modifizieren.
*
* Dieses Programm wird in der Hoffnung bereitgestellt, dass es nützlich sein wird, jedoch
* OHNE JEDE GEWÄHR,; sogar ohne die implizite
* Gewähr der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK.
* Siehe die GNU General Public License für weitere Einzelheiten.
*
* Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
* Programm erhalten haben. Wenn nicht, siehe <https://www.gnu.org/licenses/>.
*/
/**
* @file app.h
* @author Marcel Licence
* @date 08.03.2026
*
* @brief Declarations of the app
*/
#ifndef APP_H_
#define APP_H_
#include <stdint.h>
void App_Setup(void);
void App_Loop(void);
void App_Setup1(void);
void App_Loop1(void);
void Synth_Init(void);
void Synth_SongPosition(uint16_t pos);
void Synth_RealTimeMsg(uint8_t msg);
void Synth_Process(float *left, float *right, uint32_t len);
void Synth_NoteOn(uint8_t ch, uint8_t note, float vel __attribute__((unused)));
void Synth_NoteOff(uint8_t ch, uint8_t note);
#endif /* APP_H_ */