I have an electronic drum kit connected with a midi adapter to my PC. My headphones connected to the PC.
The midi adapter is a cheap one and my soundcard is a builtin.
Code: Select all
sudo lspci -v |grep Audio
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
Subsystem: Gigabyte Technology Co., Ltd 8 Series/C220 Series Chipset High Definition Audio Controller
01:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)
Subsystem: NVIDIA Corporation GF108 High Definition Audio Controller
1. How can I measure the latency so I have values to work with when trying to improve latency? There is jack_midi_latency_test but I don't know how to use it...
2. Should I buy a better soundcard and midi adapter - would that improve latency?
I made my first tests with my desktop system: Debian testing with standard kernel
Then I installed KXStudio on another partition but that didn't make a difference (at least I couldn't hear a difference).
realTimeConfigQuickScan of my Debian:
Code: Select all
perl ./realTimeConfigQuickScan.pl
== GUI-enabled checks ==
Checking if you are root... no - good
Checking filesystem 'noatime' parameter... 4.8.0 kernel - good
(relatime is default since 2.6.30)
Checking CPU Governors... CPU 0: 'performance' CPU 1: 'performance' CPU 2: 'performance' CPU 3: 'performance' CPU 4: 'performance' CPU 5: 'performance' CPU 6: 'performance' CPU 7: 'performance' - good
Checking swappiness... 1 - good
Checking for resource-intensive background processes... none found - good
Checking checking sysctl inotify max_user_watches... >= 524288 - good
Checking access to the high precision event timer... readable - good
Checking access to the real-time clock... readable - good
Checking whether you're in the 'audio' group... yes - good
Checking for multiple 'audio' groups... no - good
Checking the ability to prioritize processes with chrt... yes - good
Checking kernel support for high resolution timers... found - good
Kernel with Real-Time Preemption... not found - not good
Kernel without real-time capabilities found
For more information, see http://wiki.linuxaudio.org/wiki/system_configuration#installing_a_real-time_kernel
Checking if kernel system timer is high-resolution... found - good
Checking kernel support for tickless timer... found - good
== Other checks ==
Checking filesystem types...
** Warning: do not use /mnt/win7x64 for audio files.
fuseblk is not a good filesystem type for realtime use and large files.
For more information, see http://wiki.linuxaudio.org/wiki/system_configuration#filesystems
not found.
** Warning: no tmpfs partition mounted on /tmp
For more information, see:
- http://wiki.linuxaudio.org/wiki/system_configuration#tmpfs
- http://lowlatency.linuxaudio.org
** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.
Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.