コマンドラインからJack AudioとMIDIポートを印刷して接続します。

コマンドラインからJack AudioとMIDIポートを印刷して接続します。

コマンドラインからジャックオーディオとMIDIポート(ALSA MIDIの入出力に似ている)をどのように印刷して接続しますかaconnect -ioaconnect 20:0 132:1

ベストアンサー1

jack_lsp[オプション] [フィルタ文字列]

すべてのジャックポート(オーディオとMIDI)を印刷する機能。


ヘルプテキストから:

アクティブジャックポートを一覧表示し、オプションで追加情報を表示します。 (オプション)オプションの後に指定されたすべての文字列に一致するポートをフィルタリングします。

Display options:
        -s, --server <name>   Connect to the jack server named <name>
        -A, --aliases         List aliases for each port
        -c, --connections     List connections to/from each port
        -l, --latency         Display per-port latency in frames at each port
        -L, --latency         Display total latency in frames at each port
        -p, --properties      Display port properties. Output may include:
                              input|output, can-monitor, physical, terminal

        -t, --type            Display port type
        -h, --help            Display this help message
        --version             Output version information and exit

詳細については、次を参照してください。http://jackaudio.org/


コマンドラインからポートに接続するには、を使用できますjack_connect

jack_lsp現在のすべてのジャックポートを示す次の出力を取得できます。

system:capture_1
system:capture_2
system:playback_1
system:playback_2
system:midi_capture_1
system:midi_playback_1
amsynth:L out
amsynth:R out
amsynth:midi_in
system:midi_playback_2
system:midi_capture_2

たとえば、次のコマンドを実行してsystem:midi_capture_1接続できますamsynth:midi_injack_connect system:midi_capture_1 amsynth:midi_in

どのポートが接続されているかを確認するには、jack_lsp -c次のような出力を使用します。

system:capture_1
system:capture_2
system:playback_1
   amsynth:L out
system:playback_2
   amsynth:R out
system:midi_capture_1
   amsynth:midi_in
system:midi_playback_1
amsynth:L out
   system:playback_1
amsynth:R out
   system:playback_2
amsynth:midi_in
   system:midi_capture_1
system:midi_playback_2
system:midi_capture_2

おすすめ記事