I have followed the instruction in Magenta MIDI Interface, but failed to start a capture session. Basically nothing happens even after I set the modulation wheel in VMPK (Virtual MIDI Piano Keyboard) to its max value, which is 127.
I used the following shell script to start Magenta MIDI interface.
#!/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]}"
Here is an output.
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...
At this point, I rotate the modulation wheel on VMPK, which is surrounded by a green box in the following figure, but nothing happens even if the value is set to 127.
My environment is:
- Mac OS X Yosemite 10.10.5
- Python 2.7.11
- Tensorflow 0.10.0rc0
- Magenta 86ea30ab27adf5923902d0f297ca42bd12bcb4d1