[beast: 8/29] PLUGINS: use Bse::MusicalTuning::* instead of Bse::MUSICAL_TUNING_*
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 8/29] PLUGINS: use Bse::MusicalTuning::* instead of Bse::MUSICAL_TUNING_*
- Date: Mon, 21 Mar 2016 15:12:26 +0000 (UTC)
commit fd975a0edce5ce7df94064ef8eff3c26a797c54a
Author: Tim Janik <timj gnu org>
Date: Thu Jan 28 16:28:20 2016 +0100
PLUGINS: use Bse::MusicalTuning::* instead of Bse::MUSICAL_TUNING_*
Signed-off-by: Tim Janik <timj gnu org>
plugins/bseiirfilter.cc | 4 ++--
plugins/davcanyondelay.cc | 2 +-
plugins/davsyndrum.cc | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/bseiirfilter.cc b/plugins/bseiirfilter.cc
index 924b592..c230b06 100644
--- a/plugins/bseiirfilter.cc
+++ b/plugins/bseiirfilter.cc
@@ -99,7 +99,7 @@ bse_iir_filter_class_init (BseIIRFilterClass *klass)
PARAM_CUT_OFF_NOTE1,
bse_pspec_note ("cut_off_note", _("Note"),
_("Filter cutoff frequency as note, converted to Hertz
according to the current musical tuning"),
- bse_note_from_freq (Bse::MUSICAL_TUNING_12_TET,
BSE_KAMMER_FREQUENCY / 2),
+ bse_note_from_freq (Bse::MusicalTuning::OD_12_TET,
BSE_KAMMER_FREQUENCY / 2),
SFI_PARAM_GUI));
bse_object_class_add_param (object_class, _("Cutoff Frequency 2 (Band Pass/Stop)"),
PARAM_CUT_OFF_FREQ2,
@@ -110,7 +110,7 @@ bse_iir_filter_class_init (BseIIRFilterClass *klass)
PARAM_CUT_OFF_NOTE2,
bse_pspec_note ("cut_off_note_2", _("Note"),
_("Filter cutoff frequency as note, converted to Hertz
according to the current musical tuning"),
- bse_note_from_freq (Bse::MUSICAL_TUNING_12_TET,
BSE_KAMMER_FREQUENCY / 2 + FREQ_DELTA),
+ bse_note_from_freq (Bse::MusicalTuning::OD_12_TET,
BSE_KAMMER_FREQUENCY / 2 + FREQ_DELTA),
SFI_PARAM_GUI));
ichannel_id = bse_source_class_add_ichannel (source_class, "audio-in", _("Audio In"), _("Unfiltered
Input"));
diff --git a/plugins/davcanyondelay.cc b/plugins/davcanyondelay.cc
index b9d0719..6888993 100644
--- a/plugins/davcanyondelay.cc
+++ b/plugins/davcanyondelay.cc
@@ -88,7 +88,7 @@ dav_canyon_delay_class_init (DavCanyonDelayClass *klass)
bse_object_class_add_param (object_class, _("IIR Low-Pass Filter"), PROP_FILTER_FREQ,
bse_param_spec_freq ("filter_freq", _("Frequency"),
_("Reflection cutoff frequency"),
- bse_note_to_freq (Bse::MUSICAL_TUNING_12_TET, SFI_NOTE_C
(+3)),
+ bse_note_to_freq (Bse::MusicalTuning::OD_12_TET,
SFI_NOTE_C (+3)),
BSE_MIN_OSC_FREQUENCY, BSE_MAX_OSC_FREQUENCY,
SFI_PARAM_STANDARD ":dial"));
bse_object_class_add_param (object_class, _("IIR Low-Pass Filter"), PROP_FILTER_NOTE,
diff --git a/plugins/davsyndrum.cc b/plugins/davsyndrum.cc
index 7992acf..c9e1f3f 100644
--- a/plugins/davsyndrum.cc
+++ b/plugins/davsyndrum.cc
@@ -69,7 +69,7 @@ dav_syn_drum_class_init (DavSynDrumClass *klass)
bse_object_class_add_param (object_class, _("Frequency"), PROP_BASE_FREQ,
bse_param_spec_freq ("base_freq", _("Frequency"),
_("Drum frequency in Hertz"),
- bse_note_to_freq (Bse::MUSICAL_TUNING_12_TET,
SFI_NOTE_Gis (-1)),
+ bse_note_to_freq (Bse::MusicalTuning::OD_12_TET,
SFI_NOTE_Gis (-1)),
BSE_MIN_OSC_FREQUENCY, BSE_MAX_OSC_FREQUENCY,
SFI_PARAM_STANDARD ":dial"));
bse_object_class_add_param (object_class, _("Frequency"), PROP_BASE_NOTE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]