From f3168bac1b6699a538ee2eec1bafda631cd21f2b Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sun, 25 May 2008 22:59:53 +0000 Subject: [PATCH] fixed compilation-error git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1022 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 1 + plugins/singerbot/singerbot.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b9e030d27..953562df7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2008-05-25 Tobias Doerffel + * plugins/singerbot/singerbot.cpp: * include/meter_model.h: * include/song.h: * include/pattern.h: diff --git a/plugins/singerbot/singerbot.cpp b/plugins/singerbot/singerbot.cpp index 40228f4d3..719c3a775 100644 --- a/plugins/singerbot/singerbot.cpp +++ b/plugins/singerbot/singerbot.cpp @@ -283,7 +283,7 @@ void singerBot::createWave( notePlayHandle * _n ) hdata->frequency = _n->frequency(); hdata->duration = _n->length() > 0 ? - _n->length() * 60.0f * BEATS_PER_TACT + _n->length() * 60.0f * DefaultBeatsPerTact / 64.0f / engine::getSong()->getTempo() : 0; int word_index = _n->patternIndex() % m_words.size();