Page 4 of 4

Re: RT MIDI

Posted: Fri Dec 07, 2018 7:23 am
by Drumfix
If using a USB audio/midi device make sure that the ksoftirqd process on the core where the USB host controller irq is running is also running at realtime priority. And move away all other irqs from this core.

Re: RT MIDI

Posted: Mon Dec 10, 2018 8:44 pm
by merlyn
raboof wrote: Looks like the MPU-401 had a Pulses-Per-Quarter-Note (PPQN) of 24
24 seemed like a strange number until I realised the significance of 24 = 2 * 3 * 4

1 tick = 64th note triplet
2 ticks = 32nd note triplet
3 ticks = 32nd note
4 ticks = 16th note triplet
6 ticks = 16th note
8 ticks = 8th note triplet
12 ticks = 8th note

That means this old standard had a musical time base, in contrast with a modern system that uses the sample rate as the time base.

Re: RT MIDI

Posted: Wed Dec 12, 2018 1:54 am
by merlyn
I found this on the Ardour blog :
Paul Davis wrote:There is a lot of work to do on Ardour's MIDI workflow. But before that can happen, there are several subtle errors that are caused by the way released versions of Ardour have handled musical time. When you edit and move a MIDI note forward by a quarter note, that process would actually involve several conversions back and forth between time measured in samples and time measured in musical units, and the result is (often) small errors accumulating that lead to the note beginning and end being "wrong".

Re: RT MIDI

Posted: Thu Mar 07, 2019 1:21 pm
by khz
- https://www.midi.org/articles-old/the-m ... rototyping,
- https://www.midi.org/articles-old/rtp-m ... r-networks.
This article describes limitations of the MIDI standard and shows ways to get around several issues by increasing transmission speed and controller resolutions. Read here about the limitations of MIDI.
Source: http://www.96khz.org/oldpages/enhancedm ... ission.htm
Most PC's limit seems to be 460kBaud, which I achieved using Linux and the wxWidgets Library. See my PDF-document here for a detailed explanation provided for Joachim Bürmann. http://www.iftools.com (CTB library). With 460kBaud piano control in real-time is principally possible. With special hardware, even 920kBaud is possible using Linux. So from the PC side, it was possible to switch to an enhanced MIDI standard with increased speed.
The article is from the year 2000. :-)