<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>アタシのUbuntu備忘録 &#187; MIDI</title>
	<atom:link href="http://ub.workdesign.jp/tag/midi/feed" rel="self" type="application/rss+xml" />
	<link>http://ub.workdesign.jp</link>
	<description>メインマシンをUbuntuに乗り換えていく備忘録です</description>
	<lastBuildDate>Tue, 03 Jan 2012 02:04:45 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>[Ubuntu9.10]YAMAHAクラビノーバを繋ぐ</title>
		<link>http://ub.workdesign.jp/device/data362.html</link>
		<comments>http://ub.workdesign.jp/device/data362.html#comments</comments>
		<pubDate>Tue, 08 Jun 2010 23:55:35 +0000</pubDate>
		<dc:creator>marumi</dc:creator>
				<category><![CDATA[周辺機器]]></category>
		<category><![CDATA[MIDI]]></category>
		<category><![CDATA[UX16]]></category>
		<category><![CDATA[楽器]]></category>

		<guid isPermaLink="false">http://ub.workdesign.jp/device/data362.html</guid>
		<description><![CDATA[UbuntuをUpdateしてから繋がらなくなった電子ピアノをやっと繋ぐことができました。楽器：YAMAHA CVP-305接続ケーブル：UX16（USB接続） お世話になったサイト（深く感謝）。Ubuntu日本語フォー [...]]]></description>
			<content:encoded><![CDATA[<p>UbuntuをUpdateしてから繋がらなくなった電子ピアノをやっと繋ぐことができました。<br />楽器：YAMAHA CVP-305<br />接続ケーブル：UX16（USB接続）</p>
<p><img style="max-width: 800px;" src="http://ub.workdesign.jp/wp3/wp-content/uploads/2010/06/cvp.jpg" /><br />お世話になったサイト（深く感謝）。<br />Ubuntu日本語フォーラム<br /><a target="_blank" href="https://forums.ubuntulinux.jp/viewtopic.php?pid=61676#p61676">YAMAHAクラビノーバCVP-305を繋ぎたい</a><br /><a href="https://wiki.ubuntulinux.jp/UbuntuTips/Hardware/HowToSetupHardwareMidi">RS232C接続のハードウェアMIDI音源を設定する手順</a><br /><a href="http://d.hatena.ne.jp/n9d/20080204/1202107434" target="_blank">debian(etch)で外部midi音源を鳴らすには</a></p>
<p>Alsaのホームページでサポート状況の確認。<br /><a href="http://www.alsa-project.org/main/index.php/Matrix:Vendor-Yamaha">http://www.alsa-project.org/main/index. … dor-Yamaha</a><br />「UX16」は対応しているようです。</p>
<p>MIDI音源のClient番号、Port番号の確認<br />
<blockquote>~$ aplaymidi -l<br /> Port&nbsp; &nbsp; Client name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Port name<br /> 14:0&nbsp; &nbsp; Midi Through&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Midi Through Port-0<br /> 20:0&nbsp; &nbsp; UX16&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UX16 MIDI 1</p></blockquote>
<p>Client番号：20、Port番号：0となる。</p>
<p>MIDIファイルの再生確認。<br />
<blockquote>$&nbsp;aplaymidi&nbsp;-p20:0&nbsp;[midifile_name]</p></blockquote>
<p>電子ピアノから曲が再生されました。</p>
<p>「Kmidimon」の設定<br /><img style="max-width: 800px;" src="http://ub.workdesign.jp/wp3/wp-content/uploads/2010/06/kmidimon.jpg" /><br />[Connections]-[Configure Connections]で、Input、Output Connectionを共にUX16:0に設定。<br />Inputの方は起動する度にクリアされてしまうようなので、入力が必要な時にチェックを入れれば良いと思います。</p>
<p>「Audacious2」の設定<br /><img style="max-width: 800px; float: left; margin-top: 10px; margin-bottom: 10px; margin-right: 10px;" src="http://ub.workdesign.jp/wp3/wp-content/uploads/2010/06/audacious.jpg" />左上のマークをクリック、または右下aマークを右クリックで「Preferences」を開く。<br />[プラグイン]のデコーダタブで、「AMIDI-Plug 0.8b1」を選択し、画面下部のボタン「設定」をクリック。<br />ウィンドウ右の「Backend Selection」で「ALSA Backend 0.8b1」を選択。<br />ウインドウ左の[ALSA backend]をクリック。<br />「ALSA output ports」を「UX16」にチェック。<br />「Mixer settings」をSoundcard:UX16に設定。<br />OKで閉じる。</p>
<p>正直言って、もう一度まっさらから設定してみないと最短の設定方法がわかりません。<br />今までかなり長い期間、いろんなサイトを見ながらあーでもない、こーでもないといじってました。<br />効果が無い場合は元に戻したつもりですが、自信ありません。<br />今回Ubuntu日本語フォーラムに質問を書き込んだところ、どうやらほぼできていたのです。<br />一人で悩んでいたので気づかなかったんですね。<br />ともあれ、アドバイスいただいた方々に深く感謝しています。</p>
<p>※参考<br />usb-midiケーブルの接続確認<br />
<blockquote>$ cat /dev/sndstat<br />Sound Driver:3.8.1a-980706 (ALSA v1.0.20 emulation code)<br />Kernel: Linux marumi-desktop 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:56 UTC 2010 i686<br />Config options: 0</p>
<p>Installed drivers: <br />Type 10: ALSA emulation</p>
<p>Card config: <br />Intel ICH5 with AD1985 at irq 17<br />Yamaha UX16 at usb-0000:00:1d.3-1, full speed</p>
<p>Audio devices:<br />0: Intel ICH5 (DUPLEX)</p>
<p>Synth devices: NOT ENABLED IN CONFIG</p>
<p>Midi devices:<br />1: UX16</p>
<p>Timers:<br />31: system timer</p>
<p>Mixers:<br />0: Analog Devices AD1985<br />1: mixer10</p></blockquote>
<p>UX16が存在しているか確認<br />
<blockquote>$ lsusb<br />Bus 001 Device 003: ID 1871:0306 Aveo Technology Corp. <br />Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />Bus 005 Device 002: ID 0499:1009 Yamaha Corp. UX16 MIDI I/F<br />Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />Bus 002 Device 002: ID 056e:005e Elecom Co., Ltd <br />Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />$ amidi -l<br />Dir Device&nbsp;&nbsp;&nbsp; Name<br />IO&nbsp; hw:1,0,0&nbsp; UX16 MIDI 1</p></blockquote>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://ub.workdesign.jp/device/data362.html/feed</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>メインマシンをUbuntuに！-サウンドフォント-</title>
		<link>http://ub.workdesign.jp/install/data54.html</link>
		<comments>http://ub.workdesign.jp/install/data54.html#comments</comments>
		<pubDate>Fri, 13 Mar 2009 16:32:07 +0000</pubDate>
		<dc:creator>marumi</dc:creator>
				<category><![CDATA[インストール・設定]]></category>
		<category><![CDATA[MIDI]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[UX16]]></category>

		<guid isPermaLink="false">http://marumi.cranky.jp/wd.ubuntu/wp3/?p=54</guid>
		<description><![CDATA[「Rosegarden」を使うために一旦は試みて、挫折したサウンドフォントの解凍、もーちょっと頑張ったらできたのでメモ。まず、人気だという「SGM-V2.01」を試してみた。 ダウンロードして適当に解凍。解凍してできたフ [...]]]></description>
			<content:encoded><![CDATA[<p>「Rosegarden」を使うために一旦は試みて、挫折したサウンドフォントの解凍、もーちょっと頑張ったらできたのでメモ。<br />まず、人気だという「<a target="_blank" href="http://www.geocities.jp/shansoundfont/">SGM-V2.01</a>」を試してみた。</p>
<p>ダウンロードして適当に解凍。<br />解凍してできたフォルダから「SGM-V2.01.sfArk」ファイルを、「/usr/bin」に移動。<br />これを解凍するフリーソフト「<a target="_blank" href="http://www.melodymachine.com/sfark.htm">sfarkxtc</a>」をダウンロードして解凍、これも「/usr/bin」へ。</p>
<p>///////////////////////////////////////////////////////////////////////</p>
<p>***:/usr/bin$ sudo sfarkxtc SGM-V2.01.sfArk<br />[sudo] password for *****i:<br />======================================================================<br />sfArkXTc 1.03 (using sfArkLib version: 224)<br />copyright (c) 1998-2004 melodymachine.com, free for non-commercial use<br />======================================================================<br />Uncompressing SGM-V2.01.sfArk&#8230;<br />Progress: 100%<br />Created SGM-V2.01.sf2 (241608 kb) successfully.</p>
<p>Time taken 31.25 seconds<br />Result: Successful</p>
<p>///////////////////////////////////////////////////////////////////////</p>
<p>「SGM-V2.01.sf2」ができた。</p>
<p>「<a target="_blank" href="http://www.overcube.com/blog/archives/2008/04/rosegarden.php">Ubuntu: Rosegardenをソフトシンセ（＋サウンドフォント）で使う</a>」を参考に、</p>
<p>「JACK Control」を起動し、start<br />「QSynth」を起動し、「setup」の「soundfonts」タグで「SGM-V2.01.sf2」を登録。<br />「setup」の「MIDI」タブで「MIDI channel」を適当に増やす。<br />OKすると、自動的に再起動したがるのでYES。</p>
<p>「Rosegarden」起動！！</p>
<p>「System timer resolution is too low」</p>
<p>なんか、もうちょっとかな・・・。</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=80ca0802-ebf7-41b6-91dc-da8222c4b408" /></div>
]]></content:encoded>
			<wfw:commentRss>http://ub.workdesign.jp/install/data54.html/feed</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>メインマシンをUbuntuに！-楽器と繋ぐ-</title>
		<link>http://ub.workdesign.jp/device/data53.html</link>
		<comments>http://ub.workdesign.jp/device/data53.html#comments</comments>
		<pubDate>Fri, 13 Mar 2009 14:00:48 +0000</pubDate>
		<dc:creator>marumi</dc:creator>
				<category><![CDATA[周辺機器]]></category>
		<category><![CDATA[MIDI]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[UX16]]></category>

		<guid isPermaLink="false">http://marumi.cranky.jp/wd.ubuntu/wp3/?p=53</guid>
		<description><![CDATA[YAMAHAのクラリノーバ　CVP-305にパソコンを接続してみました。 「USB-MIDIインターフェース　UX16」を購入。 まずは、Windowsでドライバをインストール。 ちょっと手こずりました、音が出ない。 だ [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-365" style="border: 0pt none; margin: 5px;" title="ux16" src="http://ub.workdesign.jp/wp3/wp-content/uploads/2009/03/ux16-150x150.jpg" alt="ux16" width="150" height="150" />YAMAHAのクラリノーバ　CVP-305にパソコンを接続してみました。<br />
「<a href="http://www.yamaha.co.jp/product/epiano-keyboard/option/cable.html" target="_blank">USB-MIDIインターフェース　UX16</a>」を購入。</p>
<p>まずは、Windowsでドライバをインストール。<br />
ちょっと手こずりました、音が出ない。<br />
だって、コネクタのINをピアノのOUTに、OUTをINに接続するって気づかなかった。<br />
ネットでググって気づいた次第。</p>
<p>次にUbuntuで繋いでみる。<br />
これはドライバインストール不要でした。<br />
Midiファイルをダブルクリックすると、「<a href="http://packages.ubuntu.com/ja/gutsy/kmid" target="_blank">KMid</a>」が起動してクラリノーバからメロディが流れます。<br />
なんて簡単なんだ！（感動）<br />
「TiMidity++」はオンボードのサウンド出力になってしまう。<br />
ついでにMIDIの作曲編集ソフトの「<a href="http://www.rosegardenmusic.com/" target="_blank">Rosegarden</a>」のインストールも試してみたけど、「System timer resolution is too low」なんてエラーが出てしまう。<br />
「JACKオーディオサーバへ接続失敗。」だそうです。<br />
まあ、作曲なんて私の音楽レベルでは雲の上なんでいいんですけど・・・。<br />
一応始めちゃったんでググってみて、</p>
<p>「<a href="http://www.overcube.com/blog/archives/2008/04/rosegarden.php" target="_blank">Ubuntu: Rosegardenをソフトシンセ（＋サウンドフォント）で使う</a>」</p>
<p>を参考に（感謝）、</p>
<p>「jackd」「qjackctl」「fluidsynth」「qsynth」「sox」「flac」をインストール。<br />
サウンドフォントの登録で今日は疲れ果てる。<br />
まあ、そのうち・・・（汗）。</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=d498eb7e-7aa0-4414-9c32-aeca493e1962" alt="" /></div>
]]></content:encoded>
			<wfw:commentRss>http://ub.workdesign.jp/device/data53.html/feed</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
	</channel>
</rss>

