View gist:61e1fcfa53ca43ffc030db2d1540bcd0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on midi_in | |
if ($MIDI_COMMAND = $MIDI_COMMAND_NOTE_ON) | |
ignore_midi | |
set_midi($MIDI_CHANNEL,$MIDI_COMMAND_NOTE_ON,$MIDI_BYTE_1,$MIDI_BYTE_2 * 127 / 100) | |
end if | |
end on |
View gist:7596428cdd7a2ae92de67ba08ab02836
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install php-pear | |
pecl install pdo | |
pecl install pdo_mysql | |
extension = pdo.so | |
extension = pdo_mysql.so | |
sudo vi /etc/php/7.1/apache2/php.ini | |
sudo add-apt-repository ppa:ondrej/apache2 | |
sudo apt-get update |