newsAdvanced Gtk+ Sequencer - News: Fixed time forever

 
 
Latest News
GSequencer version 3.10.5 released posted by jkraehemann, Sun 29 Aug 2021 07:41:14 AM UTC - 0 replies
implement VST3 C API Wrapper posted by jkraehemann, Tue 10 Aug 2021 12:53:03 PM UTC - 0 replies
refactored utility functions posted by jkraehemann, Tue 03 Aug 2021 06:26:38 AM UTC - 0 replies
GSequencer version 3.9.1 released posted by jkraehemann, Wed 30 Jun 2021 06:07:07 AM UTC - 0 replies
preparation for migration to Gtk4 posted by jkraehemann, Thu 18 Feb 2021 10:38:40 AM UTC - 0 replies
[Submit News]
[103 news in archive]

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

No messages in Fixed time forever

 

Back to the top


Powered by Savane 3.7