|
From: Tapio V. <aa...@us...> - 2011-01-18 10:34:19
|
Module: editor
Branch: master
Commit: 4fab80ddc7e33ffb40aebf6999ff7b65a28c2c72
Author: Tapio Vierros <tap...@gm...>
Date: Tue Jan 18 12:21:47 2011 +0200
SingStarWriter: duration conversion multiplier 4.
---
songwriter-xml.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/songwriter-xml.cc b/songwriter-xml.cc
index 96458da..0fddb1d 100644
--- a/songwriter-xml.cc
+++ b/songwriter-xml.cc
@@ -90,5 +90,5 @@ void SingStarXMLWriter::writeXML() {
}
int SingStarXMLWriter::sec2dur(double sec) {
- return round(tempo / 60.0 * sec);
+ return round(tempo / 60.0 * sec * 4);
}
|