Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Mam problem ze skonfigurowaniem MIDI w Debianie, aby programy odbierały komunikaty i odtwarzały soundfonty. Do gameportu mam podłączoną klawiaturę sterującą (własnej konstrukcji na bazie sterownika muzykant3) i bez żadnej konfiguracji midi działa z programem musescore oraz Hauptwerk (zainstalowany przez wine).
Musescore nie za bardzo się nadaje do grania, choć ma fajne brzmienie instrumentów. Zainstalowałem VMPK i Rosegarden, ale VMPK w ogóle się nie uruchamia, po uruchomieniu z menu czy konsoli nic się nie dzieje, tylko kursor myszy przez kilka sekund pokazuje, że coś się wczytuje. Rosegarden sam nie generuje dźwięku, więc zacząłem konfigurować midi i jacka według tego poradnika https://milewskisite.wordpress.com/2017/05/26/przewodnik-teda-po-midi-w-linuxie/
Niestety nie mam jądra low-latency, czy takie można gdzieś pobrać gotowe? Próbowałem kompilować, ale jak skopiowałem config ze starego jądra to musiałem zostawić komputer na noc, a i tak kompilacja się nie skończyła bo zabrakło miejsca na partycji / (było 15gb wolnego miejsca). Zainstalowałem jądro linux-image-4.14.0-3-rt-amd64 , ale czy to wystarczy?
# uname -a Linux Krzysztof 4.14.0-3-rt-amd64 #1 SMP PREEMPT RT Debian 4.14.13-1 (2018-01-14) x86_64 GNU/Linux # grep ^CONFIG_HZ /boot/config-`uname -r` CONFIG_HZ_250=y CONFIG_HZ=250
Zainstalowałem Qsynth i Qjackctl, ale nie udaje mi się tego połączyć. Qsynth nie odbiera komunikatów midi, przy ustawieniach jak w poradniku odbierał komunikaty dopiero jak włączyłem Rosegarden, ale nie odgrywał żadnych dźwięków, załączam logi:
23:47:33.943 Qsynth1: Creating synthesizer engine... 23:47:33.982 Qsynth1: Loading soundfont: "/usr/share/sounds/sf2/FluidR3_GM.sf2" (bank offset 0)... 23:47:34.988 Qsynth1: Creating audio driver (alsa)... 23:47:35.013 Qsynth1: Creating MIDI router (jack)... 23:47:35.014 Qsynth1: Creating MIDI driver (jack)... 23:47:37.299 Qsynth1: Creating MIDI player... 23:47:37.302 Qsynth1: Synthesizer engine started. 23:47:37.303 Qsynth1: fluid_synth_set_gain(1) 23:47:37.303 Qsynth1: fluid_synth_set_reverb(0.2,0,1,0.9) 23:47:37.304 Qsynth1: fluid_synth_set_chorus(3,1,0.3,8,0) fluidsynth: warning: Failed to pin the sample data to RAM; swapping is possible. fluidsynth: warning: Requested 2 periods, got 3 instead fluidsynth: warning: Failed to set thread to high priority Cannot connect to server socket err = Połączenie odrzucone Cannot connect to server request channel Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns jackdmp 1.9.11 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2014 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK server starting in realtime mode with priority 10 self-connect-mode is "Don't restrict self connect requests" Cannot lock down 82274202 byte memory area (Cannot allocate memory) Cannot connect to server socket err = Połączenie odrzucone Cannot connect to server request channel audio_reservation_init Acquire audio card Audio1 Acquire audio card Audio0 creating alsa driver ... hw:NVidia,0|hw:UART|128|2|44100|0|0|nomon|swmeter|-|32bit ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 2 periods ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 2 periods for playback Cannot use real-time scheduling (RR/10)(1: Operation not permitted) AcquireSelfRealTime error Cannot lock down 82274202 byte memory area (Nie można przydzielić pamięci) Cannot use real-time scheduling (RR/5)(1: Operacja niedozwolona) JackClient::AcquireSelfRealTime error JackEngine::XRun: client = fluidsynth-midi was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. JackEngine::XRun: client = fluidsynth-midi was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error 23:49:11.635 Qsynth1: Stopping MIDI player... 23:49:11.636 Qsynth1: Waiting for MIDI player to terminate... 23:49:11.636 Qsynth1: Destroying MIDI player... 23:49:11.636 Qsynth1: Destroying MIDI driver... 23:49:11.682 Qsynth1: Destroying MIDI router... 23:49:11.683 Qsynth1: Destroying audio driver... 23:49:11.857 Qsynth1: Unloading soundfont: "/usr/share/sounds/sf2/FluidR3_GM.sf2" (SFID=1)... 23:49:11.992 Qsynth1: Destroying synthesizer engine... 23:49:12.004 Qsynth1: Synthesizer engine terminated. JackTemporaryException : now quits... Jack main caught signal 2 Released audio card Audio1 Released audio card Audio0 audio_reservation_finish 23:49:12.531 Qsynth1: Creating synthesizer engine... 23:49:12.576 Qsynth1: Loading soundfont: "/usr/share/sounds/sf2/TimGM6mb.sf2" (bank offset 0)... 23:49:12.838 Qsynth1: Loading soundfont: "/usr/share/sounds/sf2/FluidR3_GM.sf2" (bank offset 0)... 23:49:13.846 Qsynth1: Creating audio driver (alsa)... 23:49:13.860 Qsynth1: Creating MIDI router (jack)... 23:49:13.861 Qsynth1: Creating MIDI driver (jack)... 23:49:16.097 Qsynth1: Creating MIDI player... 23:49:16.101 Qsynth1: Synthesizer engine started. 23:49:16.101 Qsynth1: fluid_synth_set_gain(1) 23:49:16.103 Qsynth1: fluid_synth_set_reverb(0.2,0,1,0.9) 23:49:16.104 Qsynth1: fluid_synth_set_chorus(3,1,0.3,8,0) fluidsynth: warning: Failed to pin the sample data to RAM; swapping is possible. fluidsynth: warning: Requested 2 periods, got 3 instead fluidsynth: warning: Failed to set thread to high priority Cannot connect to server socket err = Nie ma takiego pliku ani katalogu Cannot connect to server request channel Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns jackdmp 1.9.11 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2014 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK server starting in realtime mode with priority 10 self-connect-mode is "Don't restrict self connect requests" Cannot lock down 82274202 byte memory area (Cannot allocate memory) audio_reservation_init Acquire audio card Audio1 Acquire audio card Audio0 creating alsa driver ... hw:NVidia,0|hw:UART|128|2|44100|0|0|nomon|swmeter|-|32bit ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 2 periods ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 2 periods for playback Cannot connect to server socket err = Nie ma takiego pliku ani katalogu Cannot connect to server request channel Cannot use real-time scheduling (RR/10)(1: Operation not permitted) AcquireSelfRealTime error Cannot lock down 82274202 byte memory area (Nie można przydzielić pamięci) Cannot use real-time scheduling (RR/5)(1: Operacja niedozwolona) JackClient::AcquireSelfRealTime error JackEngine::XRun: client = fluidsynth-midi was not finished, state = Triggered JackAudioDriver::ProcessGraphAsyncMaster: Process error 23:50:05.072 Qsynth1: Stopping MIDI player... 23:50:05.074 Qsynth1: Waiting for MIDI player to terminate... 23:50:05.082 Qsynth1: Destroying MIDI player... 23:50:05.085 Qsynth1: Destroying MIDI driver... 23:50:05.160 Qsynth1: Destroying MIDI router... 23:50:05.161 Qsynth1: Destroying audio driver... 23:50:06.082 Qsynth1: Unloading soundfont: "/usr/share/sounds/sf2/FluidR3_GM.sf2" (SFID=2)... 23:50:06.224 Qsynth1: Destroying synthesizer engine... 23:50:06.250 Qsynth1: Synthesizer engine terminated. JackTemporaryException : now quits... Jack main caught signal 2 Released audio card Audio1 Released audio card Audio0 audio_reservation_finish 23:50:06.776 Qsynth1: Creating synthesizer engine... 23:50:06.809 Qsynth1: Loading soundfont: "/usr/share/sounds/sf2/TimGM6mb.sf2" (bank offset 0)... 23:50:06.896 Qsynth1: Loading soundfont: "/usr/share/sounds/sf2/FluidR3_GM.sf2" (bank offset 0)... 23:50:07.863 Qsynth1: Creating audio driver (alsa)... 23:50:07.877 Qsynth1: Creating MIDI router (jack)... 23:50:07.878 Qsynth1: Creating MIDI driver (jack)... 23:50:10.293 Qsynth1: Creating MIDI player... 23:50:10.297 Qsynth1: Synthesizer engine started. 23:50:10.299 Qsynth1: fluid_synth_set_gain(1) 23:50:10.299 Qsynth1: fluid_synth_set_reverb(0.2,0,1,0.9) 23:50:10.300 Qsynth1: fluid_synth_set_chorus(3,1,0.3,8,0) fluidsynth: prog 0 0 0 fluidsynth: prog 1 0 0 fluidsynth: prog 2 0 0 fluidsynth: prog 3 0 0 fluidsynth: prog 4 0 0 fluidsynth: prog 5 0 0 fluidsynth: prog 6 0 0 fluidsynth: prog 7 0 0 fluidsynth: prog 8 0 0 fluidsynth: prog 9 128 0 fluidsynth: prog 10 0 0 fluidsynth: prog 11 0 0 fluidsynth: prog 12 0 0 fluidsynth: prog 13 0 0 fluidsynth: prog 14 0 0 fluidsynth: prog 15 0 0 fluidsynth: warning: Failed to pin the sample data to RAM; swapping is possible. fluidsynth: prog 0 0 0 fluidsynth: prog 1 0 0 fluidsynth: prog 2 0 0 fluidsynth: prog 3 0 0 fluidsynth: prog 4 0 0 fluidsynth: prog 5 0 0 fluidsynth: prog 6 0 0 fluidsynth: prog 7 0 0 fluidsynth: prog 8 0 0 fluidsynth: prog 9 128 0 fluidsynth: prog 10 0 0 fluidsynth: prog 11 0 0 fluidsynth: prog 12 0 0 fluidsynth: prog 13 0 0 fluidsynth: prog 14 0 0 fluidsynth: prog 15 0 0 fluidsynth: warning: Requested 2 periods, got 3 instead fluidsynth: warning: Failed to set thread to high priority Cannot connect to server socket err = Nie ma takiego pliku ani katalogu Cannot connect to server request channel Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot create RT messagebuffer thread: Operation not permitted (1) Retrying messagebuffer thread without RT scheduling Messagebuffer not realtime; consider enabling RT scheduling for user no message buffer overruns Cannot connect to server socket err = Nie ma takiego pliku ani katalogu Cannot connect to server request channel jackdmp 1.9.11 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2014 Grame. jackdmp comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK server starting in realtime mode with priority 10 self-connect-mode is "Don't restrict self connect requests" Cannot lock down 82274202 byte memory area (Cannot allocate memory) audio_reservation_init Acquire audio card Audio1 Acquire audio card Audio0 creating alsa driver ... hw:NVidia,0|hw:UART|128|2|44100|0|0|nomon|swmeter|-|32bit ALSA: Cannot open PCM device alsa_pcm for capture. Falling back to playback-only mode configuring for 44100Hz, period = 128 frames (2.9 ms), buffer = 2 periods ALSA: final selected sample format for playback: 32bit integer little-endian ALSA: use 2 periods for playback Cannot use real-time scheduling (RR/10)(1: Operation not permitted) AcquireSelfRealTime error Cannot lock down 82274202 byte memory area (Nie można przydzielić pamięci) Cannot use real-time scheduling (RR/5)(1: Operacja niedozwolona) JackClient::AcquireSelfRealTime error fluidsynth: prog 0 0 128 fluidsynth: prog 1 0 128 fluidsynth: prog 2 0 128 fluidsynth: prog 3 0 128 fluidsynth: prog 4 0 128 fluidsynth: prog 5 0 128 fluidsynth: prog 6 0 128 fluidsynth: prog 7 0 128 fluidsynth: prog 8 0 128 fluidsynth: prog 9 128 128 fluidsynth: prog 10 0 128 fluidsynth: prog 11 0 128 fluidsynth: prog 12 0 128 fluidsynth: prog 13 0 128 fluidsynth: prog 14 0 128 fluidsynth: prog 15 0 128 fluidsynth: prog 0 0 0 fluidsynth: prog 1 0 1 fluidsynth: prog 2 0 2 fluidsynth: prog 3 0 3 fluidsynth: prog 4 0 4 fluidsynth: prog 5 0 5 fluidsynth: prog 6 0 6 fluidsynth: prog 7 0 7 fluidsynth: prog 8 0 8 fluidsynth: prog 9 128 9 fluidsynth: prog 10 0 10 fluidsynth: prog 11 0 11 fluidsynth: prog 12 0 12 fluidsynth: prog 13 0 13 fluidsynth: prog 14 0 14 fluidsynth: prog 15 0 15 fluidsynth: prog 0 0 0 fluidsynth: prog 1 0 1 fluidsynth: prog 2 0 2 fluidsynth: prog 3 0 3 fluidsynth: prog 4 0 4 fluidsynth: prog 5 0 5 fluidsynth: prog 6 0 6 fluidsynth: prog 7 0 7 fluidsynth: prog 8 0 8 fluidsynth: prog 9 128 9 fluidsynth: prog 10 0 10 fluidsynth: prog 11 0 11 fluidsynth: prog 12 0 12 fluidsynth: prog 13 0 13 fluidsynth: prog 14 0 14 fluidsynth: prog 15 0 15 fluidsynth: prog 0 0 128 fluidsynth: prog 1 0 128 fluidsynth: prog 2 0 128 fluidsynth: prog 3 0 128 fluidsynth: prog 4 0 128 fluidsynth: prog 5 0 128 fluidsynth: prog 6 0 128 fluidsynth: prog 7 0 128 fluidsynth: prog 8 0 128 fluidsynth: prog 9 128 128 fluidsynth: prog 10 0 128 fluidsynth: prog 11 0 128 fluidsynth: prog 12 0 128 fluidsynth: prog 13 0 128 fluidsynth: prog 14 0 128 fluidsynth: prog 15 0 128 fluidsynth: prog 0 0 0 fluidsynth: prog 1 0 1 fluidsynth: prog 2 0 2 fluidsynth: prog 3 0 3 fluidsynth: prog 4 0 4 fluidsynth: prog 5 0 5 fluidsynth: prog 6 0 6 fluidsynth: prog 7 0 7 fluidsynth: prog 8 0 8 fluidsynth: prog 9 128 9 fluidsynth: prog 10 0 10 fluidsynth: prog 11 0 11 fluidsynth: prog 12 0 12 fluidsynth: prog 13 0 13 fluidsynth: prog 14 0 14 fluidsynth: prog 15 0 15 fluidsynth: prog 0 0 0 fluidsynth: prog 1 0 1 fluidsynth: prog 2 0 2 fluidsynth: prog 3 0 3 fluidsynth: prog 4 0 4 fluidsynth: prog 5 0 5 fluidsynth: prog 6 0 6 fluidsynth: prog 7 0 7 fluidsynth: prog 8 0 8 fluidsynth: prog 9 128 9 fluidsynth: prog 10 0 10 fluidsynth: prog 11 0 11 fluidsynth: prog 12 0 12 fluidsynth: prog 13 0 13 fluidsynth: prog 14 0 14 fluidsynth: prog 15 0 15
Proszę o jakąś pomoc, bo już się gubię w tym. Chciałbym po prostu móc od czasu do czasu podłączyć klawisze i coś zagrać, ale tyle tej konfiguracji że już nie wiem co muszę odpalić i co z czym połączyć żeby to działało i jeszcze żeby działał jednocześnie dźwięk w innych programach, jak przeglądarka, vlc itp., bo nie wiem czy to nie będzie kolidować z jackiem. Wynik skryptu ALSY sprawdzającego konfigurację komputera tutaj: http://www.alsa-project.org/db/?f=f59e3db01c7959fc3de5c502ba7a811ebbc34422
Offline
Time (s) | Query |
---|---|
0.00011 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00125 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.116.24.111' WHERE u.id=1 |
0.00080 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.116.24.111', 1732273443) |
0.00046 | SELECT * FROM punbb_online WHERE logged<1732273143 |
0.00048 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=30228 AND t.moved_to IS NULL |
0.00007 | SELECT search_for, replace_with FROM punbb_censoring |
0.00176 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=30228 ORDER BY p.id LIMIT 0,25 |
0.00072 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=30228 |
Total query time: 0.00569 s |