[beast: 4/26] BSE: bseapi.idl: provide BPM, TRANSPOSE, STANDARD and GUISTANDARD constants
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 4/26] BSE: bseapi.idl: provide BPM, TRANSPOSE, STANDARD and GUISTANDARD constants
- Date: Mon, 13 Jul 2015 02:26:47 +0000 (UTC)
commit 53915cd91ea33f060c100eeed22d0a227df40802
Author: Tim Janik <timj gnu org>
Date: Tue Jun 30 15:43:37 2015 +0200
BSE: bseapi.idl: provide BPM, TRANSPOSE, STANDARD and GUISTANDARD constants
bse/bseapi.idl | 28 +++++++++++++++++-----------
1 files changed, 17 insertions(+), 11 deletions(-)
---
diff --git a/bse/bseapi.idl b/bse/bseapi.idl
index 7b0c07e..246b900 100644
--- a/bse/bseapi.idl
+++ b/bse/bseapi.idl
@@ -274,19 +274,25 @@ enum MidiSignalType {
};
// == Bse Constants ==
-Const MIN_NOTE = 0;
-Const MAX_NOTE = 131; // 123
-Const NOTE_VOID = MAX_NOTE + 1; /// Value represents unparsable/unknown notes
-Const KAMMER_NOTE = 69; /// Kammer note, representing the kammer frequency's MIDI note value for A'
or A4
-Const KAMMER_FREQ = 440.0; /// Pitch Standard, see also:
https://en.wikipedia.org/wiki/A440_(pitch_standard)
-Const KAMMER_OCTAVE = +1; /// Octave number for MIDI A'
-Const MIN_OCTAVE = -4; /// Octave of MIN_NOTE
-Const MAX_OCTAVE = +6; /// Octave of MAX_NOTE
+Const MIN_NOTE = 0;
+Const MAX_NOTE = 131; // 123
+Const NOTE_VOID = MAX_NOTE + 1; /// Value represents unparsable/unknown notes
+Const KAMMER_NOTE = 69; /// Kammer note, representing the kammer frequency's MIDI note value for
A' or A4
+Const KAMMER_FREQ = 440.0; /// Pitch Standard, see also:
https://en.wikipedia.org/wiki/A440_(pitch_standard)
+Const KAMMER_OCTAVE = +1; /// Octave number for MIDI A'
+Const MIN_OCTAVE = -4; /// Octave of MIN_NOTE
+Const MAX_OCTAVE = +6; /// Octave of MAX_NOTE
Const MIN_FINE_TUNE = -100;
Const MAX_FINE_TUNE = 100;
-Const NOTEHINTS = "r:w:S:G:note";
-Const FINETUNEHINTS = "r:w:S:G:finetune";
-Const VELOCITYHINTS = "r:w:S:G:velocity";
+Const MIN_BPM = 1;
+Const MAX_BPM = 1024;
+Const MIN_TRANSPOSE = -72;
+Const MAX_TRANSPOSE = +72;
+Const STANDARD = "r:w:S";
+Const GUISTANDARD = STANDARD ":G";
+Const NOTEHINTS = GUISTANDARD ":note";
+Const FINETUNEHINTS = GUISTANDARD ":finetune";
+Const VELOCITYHINTS = GUISTANDARD ":velocity";
/// Object to carry out IDL, API, signal, etc tests.
interface TestObject {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]