RT MIDI
Moderators: MattKingUSA, khz
Re: RT MIDI
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.
-
- Established Member
- Posts: 1392
- Joined: Thu Oct 11, 2018 4:13 pm
- Has thanked: 168 times
- Been thanked: 247 times
Re: RT MIDI
24 seemed like a strange number until I realised the significance of 24 = 2 * 3 * 4raboof wrote: Looks like the MPU-401 had a Pulses-Per-Quarter-Note (PPQN) of 24
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.
-
- Established Member
- Posts: 1392
- Joined: Thu Oct 11, 2018 4:13 pm
- Has thanked: 168 times
- Been thanked: 247 times
Re: RT MIDI
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".
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: RT MIDI
- https://www.midi.org/articles-old/the-m ... rototyping,
- https://www.midi.org/articles-old/rtp-m ... r-networks.
- https://www.midi.org/articles-old/rtp-m ... r-networks.
Source: http://www.96khz.org/oldpages/enhancedm ... ission.htmThis 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.
The article is from the year 2000.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.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
- I don't care about the freedom of speech because I have nothing to say.