newsAdvanced Gtk+ Sequencer - News: Fixed time forever

 
 
Latest News
Advanced Gtk+ Sequencer version 6.5.x posted by jkraehemann, Sun 11 Feb 2024 05:06:15 PM UTC
Advanced Gtk+ Sequencer version 6.3.5 posted by jkraehemann, Fri 19 Jan 2024 11:53:24 AM UTC
Advanced Gtk+ Sequencer v6.1.0 released posted by jkraehemann, Thu 28 Sep 2023 04:55:19 AM UTC
Advanced Gtk+ Sequencer v6.0.0 released posted by jkraehemann, Mon 21 Aug 2023 11:48:52 AM UTC
Advanced Gtk+ Sequencer v5.5.0 released posted by jkraehemann, Sat 05 Aug 2023 10:21:52 AM UTC

Fixed time forever

Item posted by Joël Krähemann <jkraehemann> on Sat 12 Nov 2016 10:03:56 AM UTC.

Take a look at time and consider start counting from 0. This is your very first offset. Now you want to play 120 beats. Whilst the ordinary user might want to start count from 1 the programmer doesn't. For sure you want to play the very last quarter note entire.

This gives you a discrepancy of 2 beats. Whereas 1 beat consists of 16 clicks at least in GSequencer. Contrary MIDI has 32 clicks but forget this.

What I'm doing now is making you feel like producing silence. But in fact it's up to you. Having a 4/4 beat producing 2 times 64 clicks of silence is over-helming. So I solved it by counting you and programmer as 2 and divide the silence by it.

So we could say you have a need to play the very last quarter note. Just enter within export 120 - 12 = 108. That's makes the programmer happy. And you can play your very last quarter note as well. Whereas 120 are the beats and 12 is calculated as following:

  • 4 ticks multiplied by 16 clicks equals 64
  • minus last quarter note 16 clicks equals 48
  • now divide by 4 ticks equals 12


That's it. I hope this helps you.

Cheers,
Joël

 

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code