インストール手順
$ sudo apt-get install mecab libmecab-dev mecab-ipadic
$ sudo aptitude install mecab-ipadic-utf8
$ sudo apt-get install python-mecab
Sonic Piは、Qtベースのクライアントと、Sonic Pi用の各種プリセットが施されたSuperColiderを中核とするサーバとからなる。 | |
SuperColiderはOSCによるアクセスをサポートするため、Sonic Piのサーバに対してOSCでメッセージを送信することで演奏が可能である。 | |
rubyでOSCを扱うにはosc-rubyを用いるのが簡単である。 | |
$ gem install osc-ruby | |
Sonic Piによって/run-codeメソッドが定義されているのでこれを使用する。 | |
以下はデフォルトの音色でC(ド)の音を鳴らすrubyスクリプトである。 |
These instruction are for Windows, on my Linux installation(Fedora 21) everything works by just installing serialport with npm (I don't know why!).
These are the steps I did to build node serialport for electron (formerly atom-shell) for Windows. I am completely certain there is a better way to do it, but since I struggled with it for quite a while, here is a solution anyway.
You need some version of Visual studio installed, I have VS 2012 Express for Desktop.