STed2ä¸ã®æ¼å¥ã¨ç¬èªã¤ã³ã¿ã¼ãã§ã¼ã¹ã«ã¤ãã¦(VirMIDIã¨rcpplayã使ç¨ããä¾ã»å¾å)
ãSTed2上の演奏と独自インターフェースについて(VirMIDIとrcpplayを使用した例・前半)ãã®ç¶ãã
- STed2ä¸ã®è¨å®
- STed2ä¸ã®æä½
- ãã¼ãæ¥ç¶ã®ä»ã®å½¢(好ã¿ã®åé¡)
- 注æç¹(ä»æ§)
- ALSA MIDI(å®)ããã¤ã¹ã使ç¨ããå ´åã®è¦ãæ¸ã
STed2ä¸ã®è¨å®
åé¡ããªããã°ãSTed2ã®è¨å®ãã¡ã¤ã«ã®å¤é¨ãã¬ã¼ã¤ã®è¨å®ãæ´æ°ããä»ã®ãplayerãè¡ãããã°ãè¡é ã«ã*ããä»ãã¦ã³ã¡ã³ãã«ããããã¡ã¤ã«å: ~/.sted2rc
#player=1,rcpplay --dev0 /dev/snd/midiC2D0 --dev1 /dev/snd/midiC2D1
ã#player=1ãã®æ°åé¨åã¯ãã¬ã¼ã¤ã®ç¨®é¡ãç¥ãããã®ã«å¿ è¦ã§ããããæ¸ã¿TiMidity++ 1ã¨åæ§ãã3ãã§ã¯ãã¾ãããããã1ãæå®ã§åä½ãããã³ãã³ãåã¯rcpplayã«ããã
STed2ä¸ã®æä½
åçä½ç½®ã®è¡¨ç¤ºã¯ã§ããããä¸æåæ¢ã¯ã§ããªãã£ããé³è²ãã¹ããªã©ããTiMidity++ 1ã¨åæ§ã«æ©è½ãã¦ããªããããã¾ã§ã®ä½æ¥ãè¡ãã°ãTiMidity++ 2ã使ç¨ãã¦STed2ä¸ã§
- 2ãã¼ãã¾ã§ã®æ¼å¥
- æ¼å¥ä½ç½®è¡¨ç¤º
- æ¼å¥ã¢ãã¿
- ãªã¢ã«ã¿ã¤ã ã§ã®ãã©ãã¯ãã¥ã¼ã/ãã¥ã¼ã解é¤
ãå ¨ã¦è¡ããã
ãã¼ãæ¥ç¶ã®ä»ã®å½¢(好ã¿ã®åé¡)
ãããä¸ã®ããã«
ASeqViewçµç±ã§TiMidity++ã«æ¥ç¶ããã®ãæ°ã«å ¥ããªããã°ããã®ä»£ããã«
- VirMIDIã®0çª > TiMidity++ã®0çª
- VirMIDIã®1çª > TiMidity++ã®1çª
ã¨ãããã¼ãæ¥ç¶ãè¡ããä¸ã®ããã«ããVirMIDIã®åºåãã¼ãããTiMidity++ã¨ASeqViewã¸åå²ãããå½¢ã«ãããã¨ãã§ããã
æ´ã«ASeqViewãä¸è¦ãªããASeqViewãèµ·åããã«ããã¼ãæ¥ç¶ãä¸ã®2ã¤ã®ã¿ã«ããã°ãã(ç»åã¯å²æ)ã
ãã¼ãæ¥ç¶ã®æåæä½ã¯aconnectã¨ããã³ãã³ãã§è¡ããã¨ãã§ããããä½æ¥ãèªååããã®ã§ãªããã°ãGUIã®QjackCtl(http://qjackctl.sourceforge.net/)ã使ç¨ããã®ãåãããããã¦ããããã
注æç¹(ä»æ§)
以ä¸ã®åä½ã¯ä»æ§ã¨ãªãã- TiMidity++ä¸ã®é³ã®é³´ãã¨ç»é¢ä¸ã®è¡¨ç¤ºã«ã¯å°ããããããèµ·ããã
- TiMidity++ã®ãã¼ããã©ãã*1ã¨æ¥ç¶ãã¦ããéã¯ããã¼ã¿åçä¸ãæ±ãã§ãé³ãåºããªãã¦ãTiMidity++ãCPUã使ç¨ãç¶ããã
ALSA MIDI(å®)ããã¤ã¹ã使ç¨ããå ´åã®è¦ãæ¸ã
å®ããã¤ã¹ã使ç¨ãã¦ããå ´åã/dev/midi[ã«ã¼ãçªå·]ã/dev/snd/midiC[ã«ã¼ãçªå·]D0ãç´æ¥ä½¿ç¨ã§ãããã(æå ã®SC-8820ã§ã¯)ãããã®ããã¤ã¹ã使ç¨ä¸ã«ã¯$ aplaymidi -l Port Client name Port name 20:0 SC-8820 SC-8820 Part A 20:1 SC-8820 SC-8820 Part B 20:2 SC-8820 SC-8820 MIDI $ aplaymidi -p 20:0 [midãã¡ã¤ã«] Cannot connect to port 20:0 - Resource temporarily unavailable
ä¸ã®ããã«ãALSAã®ãã¼ããä¸æçã«ä½¿ããªããªãããããããåé¡ã«ãªãå ´åã
ãVirMIDI > é³æºãã¨ããæ¥ç¶ãä½æããRaw MIDIããã¤ã¹ãæå®ããå´ã/dev/snd/C[ã«ã¼ãçªå·]D[ããã¤ã¹çªå·]ãæå®ãããã¨ã§ãALSAã®ãã¼ãã使ç¨ã§ããããã«ãªãã
è¤æ°ãã¼ããåæã«ä½¿ç¨ããæ¼å¥ã«é¢ãã¦ã¯ãæä¾ãããããã¤ã¹ãã¡ã¤ã«ã1ã¤(ä¸ã®ä¾ã§ã¯/dev/snd/midiC1D0)ãªã®ã§ã§ããªãããã«ãè¦ãããã
$ smfplay --dev0 /dev/snd/midiC1D0 --dev1 /dev/snd/midiC1D0 [midãã¡ã¤ã«]
ã®ããã«ãåä¸ã®ããã¤ã¹ãã¡ã¤ã«ãæå®ãããã¨ã§ã§ãã*2ãããè¤æ°ãã¼ãæ¼å¥ç®çã§VirMIDIã使ç¨ããå¿
è¦ã¯ãªãããã
ãªãã
$ smfplay --dev0 /dev/midi1 --dev1 /dev/midi1 [midãã¡ã¤ã«]
ã§ã¯ãã¾ããããªãã£ãã
使ç¨ãããã¼ã¸ã§ã³:
- ALSA 1.0.15, 1.0.16
- TiMidity++ 2.13.2(2.13.2-r5)
- ASeqView 0.2.8