Hi there

I've created a patch to fix an issue with the alsa_sequencer.py file,
regarding the tempo at which songs are played.

It is only a minor adjustment concerning the case when the time
signature is not in quarters but in other multiples.

I have tested it with the rhythm dictation mode, which motivated the
fix, as the 6/8 exercises go too fast without it.

Hope you see this and it gets upstream, so everyone can enjoy the fix!


Thanks for such a great piece of software!

Cheers.

Sirio.
--- solfege/soundcard/alsa_sequencer.py	2013-11-16 02:17:19.963712748 -0600
+++ solfege/soundcard/alsa_sequencer.py	2013-11-16 02:17:38.280211189 -0600
@@ -92,7 +92,7 @@
                 event = alsaseq.SeqEvent(type=alsaseq.SEQ_EVENT_TEMPO)
                 event.dest = (0, 0)
                 event.time = t
-                event.set_data({'queue.param.value' : 500000 * 60 / e[1],
+                event.set_data({'queue.param.value' : 500000 * 60 / e[1] * e[2] / 4,
                                 'queue.queue': self.m_queue})
             else:
                 print e
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Solfege-devel mailing list
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe", or visit
https://lists.sourceforge.net/lists/listinfo/solfege-devel

Reply via email to