summaryrefslogtreecommitdiffstats
path: root/src/synth_common.h
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2023-07-07 01:09:12 +0300
committergramanas <anastasis.gramm2@gmail.com>2023-07-07 01:09:12 +0300
commitc8cd7f9298de876f2046fddd2e322a63c421a505 (patch)
tree1b764fed928592f8f3465e9ef28552b451efad8a /src/synth_common.h
parentf170fb058a07175e6e753f2a6d20283dc7200a88 (diff)
downloadsynth-project-c8cd7f9298de876f2046fddd2e322a63c421a505.tar.gz
synth-project-c8cd7f9298de876f2046fddd2e322a63c421a505.tar.bz2
synth-project-c8cd7f9298de876f2046fddd2e322a63c421a505.zip
suppa
Diffstat (limited to 'src/synth_common.h')
-rw-r--r--src/synth_common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/synth_common.h b/src/synth_common.h
new file mode 100644
index 0000000..ee10331
--- /dev/null
+++ b/src/synth_common.h
@@ -0,0 +1,15 @@
+#ifndef SYNTH_COMMON_H
+#define SYNTH_COMMON_H
+
+//#define SAMPLE_RATE (44100)
+#define SAMPLE_RATE (48000)
+#define FRAMES_PER_BUFFER (256)
+
+#define VIZ_BUF 1024
+
+#define WIDTH 1024
+#define HEIGHT 600
+
+#define MIDI_NOTES 128
+
+#endif /* SYNTH_COMMON_H */