Magenta MIDI Interfaceの指示に従いましたが、キャプチャ セッションを開始できませんでした。VMPK (バーチャル MIDI ピアノ キーボード) のモジュレーション ホイールを最大値の 127 に設定しても、基本的に何も起こりません。
次のシェル スクリプトを使用して、Magenta MIDI インターフェイスを起動しました。
#!/bin/bash
echo "Hello, MIDI!"
CURR_DIR=`pwd`
TMP_DIR=$CURR_DIR/tmp
cd ~/git/magenta
# List all available ports
bazel-bin/magenta/interfaces/midi/midi --list
bazel-bin/magenta/interfaces/midi/midi \
--input_port="VMPK Output" \
--output_port="VMPK Input" \
--generator_name=attention_rnn \
--checkpoint=$TMP_DIR/attention_rnn/logdir/run1/train \
--hparams="{'batch_size':32,'rnn_layer_sizes':[32, 32]}"
ここに出力があります。
Hello, MIDI!
Input ports: 'VMPK Output'
Output ports: 'VMPK Input'
WARNING:tensorflow:<tensorflow.python.ops.rnn_cell.BasicLSTMCell object at 0x11cbccad0>: Using a concatenated state is slower and will soon be deprecated. Use state_is_tuple=True.
WARNING:tensorflow:<tensorflow.python.ops.rnn_cell.BasicLSTMCell object at 0x11cbcce10>: Using a concatenated state is slower and will soon be deprecated. Use state_is_tuple=True.
WARNING:tensorflow:<tensorflow.contrib.rnn.python.ops.rnn_cell.AttentionCellWrapper object at 0x11cbccb90>: Using a concatenated state is slower and will soon be deprecated. Use state_is_tuple=True.
Waiting for start control signal...
ここで、下図の緑の四角で囲まれた VMPK のモジュレーションホイールを回しますが、値を 127 に設定しても何も起こりません。
私の環境は次のとおりです。
- Mac OS X Yosemite 10.10.5
- パイソン 2.7.11
- テンソルフロー 0.10.0rc0
- マゼンタ 86ea30ab27adf5923902d0f297ca42bd12bcb4d1