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/przew … di-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=f59e3db01c7959fc3 … a811ebbc34422
Offline