Linux上でMuseを実行する
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
Muse は Microsoft Windows 用のソフトウェアですが、[[Wine:...
#contents
*Wine とは [#t8bcd8b9]
[[Wine:http://ja.wikipedia.org/wiki/Wine]] は、[[80x86:ht...
具体的には、[[Linux:http://ja.wikipedia.org/wiki/Linux]]...
*Wine のインストール [#f7267ed3]
[[Wine HQ:http://www.winehq.com/]] → [[Get Wine Now:http:...
なければ、更に [[SourceForge.net:http://sourceforge.net/p...
ソースからのインストールの場合、
tar jxf wine-x.x.x.tar.bz2
cd wine-x.x.x
./configure
make depend
make
su
make install
exit
という手順でいけると思います。~
もちろん、事前に README と ./configure --help をよく読ん...
インストールが終了したら、
winemine
を実行してみましょう(マインスイーパです)。
*Muse のインストール [#i374140b]
[[MUSE WORLD:http://atomic.world.coocan.jp/muse/muse.htm]...
MUSE.ZIP を適当なディレクトリで展開します。
私は、~/lib/muse/ にインストールしました。
mkdir -p ~/lib/muse
cd ~/lib/muse
unzip ~/MUSE.ZIP
早速、Muse を起動してみましょう。
wine muse.exe
ハードウェア音源があって適切に設定されていれば、Windows ...
音源がなくて音がならない場合、一旦 Muse を終了して、
timidity -iA &
として、TiMidity++ を ALSA シーケンサ クライアントモード...
timidity -iA でエラーが出る、つまり、TiMidity++ のコンパ...
ただし、Wine + Muse + TiMidity++ では、それなりのマシンパ...
Muse にオプションを渡す場合、オプションをクォーテーション...
これは、例えば *e というオプションはシェルによって末尾が ...
これを防ぐために、ダブルクォーテーションかシングルクォー...
wine muse.exe "*f" "*m" "*p" "*q" "*s" sample1.mus
ダブルクォーテーションとシングルクォーテーションの働きの...
2つの働きの違いについては、シェルについての参考書やサイト...
なお、Museはオプションの列挙記述が可能なので、上記は以下...
wine muse.exe "*fmpqs" sample1.mus
*muse コマンドの作製 [#hd2f2f83]
毎回々々 wine ~/lib/muse/muse.exe hogehoge.mus などと打ち...
chmod u+x ~/bin/muse で実行属性をつけます。~
wine muse.exe "*f" "*m" "*p" "*q" "*s" sample3.mus なら m...
#! /usr/bin/ruby
WINE = 'wine'
MUSE = '~/lib/muse/muse.exe'
REDIRECTION = '> /dev/null 2>&1'
VERSION = "2.0"
def usage()
print <<EOM
Usage:
muse [options] [filename]
Options:
-b Compile muse data file into MP3 (with VSTi/SoundF...
-c Compile muse data file into PDF (music score)
-e Compile muse data file into MIDI
-f Show finger meter dialog
-h Show this help
-i Run Muse with minimized window
-l Compile muse data file into LilyPond data
-m Show member color dialog
-n Ignore last sound source choice
-p Start performance after activation
-q Exit Muse just after the performance
-r Inhibit dialogs while batch execution (output mus...
-s Show score monitor window
-t Omit text data into MIDI
-u Output Unicode text data into MIDI
-v Inhibit reallocation on start-up
-w Compile muse data file into WAVE (with VSTi/Sound...
-x Inhibit multi-activation
-y Output landscape music score
-0 Output A0 size music score
-1 Output A1 size music score
-2 Output A2 size music score
-3 Output A3 size music score
-4 Output A4 size music score
EOM
end
require 'optparse'
opts = ""
begin
params = ARGV.getopts('bcefhimpqstuvwxy01234', 'help',...
if params['h'] or params['help']
usage()
exit(0)
end
if params['version']
print "muse.rb version #{VERSION}\n"
exit (0)
end
params.each {|opt|
opts += opt[0] if opt[1]
}
rescue OptionParser::InvalidOption => ex
abort <<EOM
Invalid option [#{ex.args[0]}].
Try muse --help for more information.
EOM
end
musepath = File.expand_path(MUSE)
opts = '*' + opts if '' != opts
args = ARGV.join(' ')
command = "#{WINE} #{musepath} #{opts} #{args} #{REDIREC...
system(command)
実行には [[Ruby:http://www.ruby-lang.org/]] が必要です。
最初の 4行をそれぞれの環境に合わせて修正すれば、大抵動作...
Let's happy musing !
終了行:
Muse は Microsoft Windows 用のソフトウェアですが、[[Wine:...
#contents
*Wine とは [#t8bcd8b9]
[[Wine:http://ja.wikipedia.org/wiki/Wine]] は、[[80x86:ht...
具体的には、[[Linux:http://ja.wikipedia.org/wiki/Linux]]...
*Wine のインストール [#f7267ed3]
[[Wine HQ:http://www.winehq.com/]] → [[Get Wine Now:http:...
なければ、更に [[SourceForge.net:http://sourceforge.net/p...
ソースからのインストールの場合、
tar jxf wine-x.x.x.tar.bz2
cd wine-x.x.x
./configure
make depend
make
su
make install
exit
という手順でいけると思います。~
もちろん、事前に README と ./configure --help をよく読ん...
インストールが終了したら、
winemine
を実行してみましょう(マインスイーパです)。
*Muse のインストール [#i374140b]
[[MUSE WORLD:http://atomic.world.coocan.jp/muse/muse.htm]...
MUSE.ZIP を適当なディレクトリで展開します。
私は、~/lib/muse/ にインストールしました。
mkdir -p ~/lib/muse
cd ~/lib/muse
unzip ~/MUSE.ZIP
早速、Muse を起動してみましょう。
wine muse.exe
ハードウェア音源があって適切に設定されていれば、Windows ...
音源がなくて音がならない場合、一旦 Muse を終了して、
timidity -iA &
として、TiMidity++ を ALSA シーケンサ クライアントモード...
timidity -iA でエラーが出る、つまり、TiMidity++ のコンパ...
ただし、Wine + Muse + TiMidity++ では、それなりのマシンパ...
Muse にオプションを渡す場合、オプションをクォーテーション...
これは、例えば *e というオプションはシェルによって末尾が ...
これを防ぐために、ダブルクォーテーションかシングルクォー...
wine muse.exe "*f" "*m" "*p" "*q" "*s" sample1.mus
ダブルクォーテーションとシングルクォーテーションの働きの...
2つの働きの違いについては、シェルについての参考書やサイト...
なお、Museはオプションの列挙記述が可能なので、上記は以下...
wine muse.exe "*fmpqs" sample1.mus
*muse コマンドの作製 [#hd2f2f83]
毎回々々 wine ~/lib/muse/muse.exe hogehoge.mus などと打ち...
chmod u+x ~/bin/muse で実行属性をつけます。~
wine muse.exe "*f" "*m" "*p" "*q" "*s" sample3.mus なら m...
#! /usr/bin/ruby
WINE = 'wine'
MUSE = '~/lib/muse/muse.exe'
REDIRECTION = '> /dev/null 2>&1'
VERSION = "2.0"
def usage()
print <<EOM
Usage:
muse [options] [filename]
Options:
-b Compile muse data file into MP3 (with VSTi/SoundF...
-c Compile muse data file into PDF (music score)
-e Compile muse data file into MIDI
-f Show finger meter dialog
-h Show this help
-i Run Muse with minimized window
-l Compile muse data file into LilyPond data
-m Show member color dialog
-n Ignore last sound source choice
-p Start performance after activation
-q Exit Muse just after the performance
-r Inhibit dialogs while batch execution (output mus...
-s Show score monitor window
-t Omit text data into MIDI
-u Output Unicode text data into MIDI
-v Inhibit reallocation on start-up
-w Compile muse data file into WAVE (with VSTi/Sound...
-x Inhibit multi-activation
-y Output landscape music score
-0 Output A0 size music score
-1 Output A1 size music score
-2 Output A2 size music score
-3 Output A3 size music score
-4 Output A4 size music score
EOM
end
require 'optparse'
opts = ""
begin
params = ARGV.getopts('bcefhimpqstuvwxy01234', 'help',...
if params['h'] or params['help']
usage()
exit(0)
end
if params['version']
print "muse.rb version #{VERSION}\n"
exit (0)
end
params.each {|opt|
opts += opt[0] if opt[1]
}
rescue OptionParser::InvalidOption => ex
abort <<EOM
Invalid option [#{ex.args[0]}].
Try muse --help for more information.
EOM
end
musepath = File.expand_path(MUSE)
opts = '*' + opts if '' != opts
args = ARGV.join(' ')
command = "#{WINE} #{musepath} #{opts} #{args} #{REDIREC...
system(command)
実行には [[Ruby:http://www.ruby-lang.org/]] が必要です。
最初の 4行をそれぞれの環境に合わせて修正すれば、大抵動作...
Let's happy musing !
ページ名: