[beast: 10/29] TOOLS: use Bse::MusicalTuning::* instead of Bse::MUSICAL_TUNING_*
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 10/29] TOOLS: use Bse::MusicalTuning::* instead of Bse::MUSICAL_TUNING_*
- Date: Mon, 21 Mar 2016 15:12:38 +0000 (UTC)
commit 9fe7e3c6b30e52aa4cc3c534b6664687529db90b
Author: Tim Janik <timj gnu org>
Date: Thu Jan 28 16:28:33 2016 +0100
TOOLS: use Bse::MusicalTuning::* instead of Bse::MUSICAL_TUNING_*
Signed-off-by: Tim Janik <timj gnu org>
tools/bsewavetool.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/bsewavetool.cc b/tools/bsewavetool.cc
index 8941246..2c89c1f 100644
--- a/tools/bsewavetool.cc
+++ b/tools/bsewavetool.cc
@@ -2884,8 +2884,8 @@ public:
if (!note)
{
- note = bse_note_from_freq_bounded (Bse::MUSICAL_TUNING_12_TET, gsl_data_handle_osc_freq
(dhandle));
- cent = bse_note_fine_tune_from_note_freq (Bse::MUSICAL_TUNING_12_TET, note,
gsl_data_handle_osc_freq (dhandle));
+ note = bse_note_from_freq_bounded (Bse::MusicalTuning::OD_12_TET, gsl_data_handle_osc_freq
(dhandle));
+ cent = bse_note_fine_tune_from_note_freq (Bse::MusicalTuning::OD_12_TET, note,
gsl_data_handle_osc_freq (dhandle));
}
name_addon = g_strdup_format ("%d", note);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]