summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2012-12-14 06:36:22 +0000
committerTim E. Real <termtech@rogers.com>2012-12-14 06:36:22 +0000
commit52cf08ae820453dc46e307ee9463faf4e14fc67f (patch)
tree813b3fe03662c596891b8d86bf11f3b6878b88fa
parentfe749a83cc4fab70ba8d4102f0b7d5543e9b5350 (diff)
Changed default song length to 150 bars (5 min)
-rw-r--r--muse2/muse/song.cpp2
-rw-r--r--muse2/share/templates/audio.med2
-rw-r--r--muse2/share/templates/default.med2
-rw-r--r--muse2/share/templates/midiGM.med2
-rw-r--r--muse2/share/templates/monorecord.med2
-rw-r--r--muse2/share/templates/synti.med2
6 files changed, 6 insertions, 6 deletions
diff --git a/muse2/muse/song.cpp b/muse2/muse/song.cpp
index 542c6abc..3349686b 100644
--- a/muse2/muse/song.cpp
+++ b/muse2/muse/song.cpp
@@ -2131,7 +2131,7 @@ void Song::clear(bool signal, bool clear_all)
_cycleMode = CYCLE_NORMAL;
_click = false;
_quantize = false;
- _len = 0; // song len in ticks
+ _len = AL::sigmap.bar2tick(150, 0, 0); // default song len in ticks set for 150 bars
_follow = JUMP;
dirty = false;
initDrumMap();
diff --git a/muse2/share/templates/audio.med b/muse2/share/templates/audio.med
index 1ef4d2e9..68f82cf5 100644
--- a/muse2/share/templates/audio.med
+++ b/muse2/share/templates/audio.med
@@ -136,7 +136,7 @@
<cycle>0</cycle>
<click>0</click>
<quantize>0</quantize>
- <len>0</len>
+ <len>230400</len>
<follow>1</follow>
<sampleRate>44100</sampleRate>
<AudioOutput>
diff --git a/muse2/share/templates/default.med b/muse2/share/templates/default.med
index 97578fc8..edf4b055 100644
--- a/muse2/share/templates/default.med
+++ b/muse2/share/templates/default.med
@@ -136,7 +136,7 @@
<cycle>0</cycle>
<click>0</click>
<quantize>0</quantize>
- <len>0</len>
+ <len>230400</len>
<follow>1</follow>
<sampleRate>44100</sampleRate>
<AudioOutput>
diff --git a/muse2/share/templates/midiGM.med b/muse2/share/templates/midiGM.med
index d0f2b991..57f5288c 100644
--- a/muse2/share/templates/midiGM.med
+++ b/muse2/share/templates/midiGM.med
@@ -136,7 +136,7 @@
<cycle>0</cycle>
<click>0</click>
<quantize>0</quantize>
- <len>6144</len>
+ <len>230400</len>
<follow>1</follow>
<sampleRate>44100</sampleRate>
<miditrack>
diff --git a/muse2/share/templates/monorecord.med b/muse2/share/templates/monorecord.med
index 5024637a..9393ab42 100644
--- a/muse2/share/templates/monorecord.med
+++ b/muse2/share/templates/monorecord.med
@@ -136,7 +136,7 @@
<cycle>0</cycle>
<click>0</click>
<quantize>0</quantize>
- <len>0</len>
+ <len>230400</len>
<follow>1</follow>
<sampleRate>44100</sampleRate>
<AudioOutput>
diff --git a/muse2/share/templates/synti.med b/muse2/share/templates/synti.med
index 65da9766..80511305 100644
--- a/muse2/share/templates/synti.med
+++ b/muse2/share/templates/synti.med
@@ -149,7 +149,7 @@
<cycle>0</cycle>
<click>0</click>
<quantize>0</quantize>
- <len>18432</len>
+ <len>230400</len>
<follow>1</follow>
<sampleRate>44100</sampleRate>
<AudioOutput>