From 43ae9bb08b7f3f18028fa8663a6077f4ae1ccbca Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Tue, 12 Apr 2016 23:37:24 +0800 Subject: Mysterious Mountain. (Partially fixed #2) --- qmidiplayer-desktop/main.cpp | 9 + qmidiplayer-desktop/menu/qmidiplayer | 3 + qmidiplayer-desktop/qmidiplayer-desktop.pro | 21 +- qmidiplayer-desktop/qmidiplayer.appdata.xml | 24 + qmidiplayer-desktop/qmidiplayer.desktop | 10 + qmidiplayer-desktop/qmpchanneleditor.cpp | 5 +- qmidiplayer-desktop/qmphelpwindow.cpp | 4 +- qmidiplayer-desktop/qmpmainwindow.cpp | 58 +- qmidiplayer-desktop/qmpplistwindow.cpp | 24 +- qmidiplayer-desktop/resources.qrc | 10 +- qmidiplayer-desktop/translations/qmp_zh_CN.ts | 796 ++++++++++++++++++++++++++ 11 files changed, 926 insertions(+), 38 deletions(-) create mode 100644 qmidiplayer-desktop/menu/qmidiplayer create mode 100644 qmidiplayer-desktop/qmidiplayer.appdata.xml create mode 100644 qmidiplayer-desktop/qmidiplayer.desktop create mode 100644 qmidiplayer-desktop/translations/qmp_zh_CN.ts (limited to 'qmidiplayer-desktop') diff --git a/qmidiplayer-desktop/main.cpp b/qmidiplayer-desktop/main.cpp index c9f3b42..3a7e630 100644 --- a/qmidiplayer-desktop/main.cpp +++ b/qmidiplayer-desktop/main.cpp @@ -18,10 +18,19 @@ #include "qmpmainwindow.hpp" #include #include +#include +#include int main(int argc,char **argv) { QApplication a(argc,argv); + QTranslator qtTranslator; + qtTranslator.load("qt_"+QLocale::system().name(), + QLibraryInfo::location(QLibraryInfo::TranslationsPath)); + a.installTranslator(&qtTranslator); + QTranslator qmpTranslator; + qmpTranslator.load("qmp_"+QLocale::system().name()); + a.installTranslator(&qmpTranslator); qmpMainWindow w; if(w.pharseArgs(argc,argv)==1)return 0; diff --git a/qmidiplayer-desktop/menu/qmidiplayer b/qmidiplayer-desktop/menu/qmidiplayer new file mode 100644 index 0000000..f48afae --- /dev/null +++ b/qmidiplayer-desktop/menu/qmidiplayer @@ -0,0 +1,3 @@ +?package(qmidiplayer):needs="X11" section="Applications/Sound"\ + title="qmidiplayer" command="/usr/bin/qmidiplayer" hints="MIDI Player"\ + icon="/usr/share/pixmaps/qmidiplayer.xpm" diff --git a/qmidiplayer-desktop/qmidiplayer-desktop.pro b/qmidiplayer-desktop/qmidiplayer-desktop.pro index 6ac0670..f4f29d4 100644 --- a/qmidiplayer-desktop/qmidiplayer-desktop.pro +++ b/qmidiplayer-desktop/qmidiplayer-desktop.pro @@ -51,13 +51,32 @@ FORMS += qmpmainwindow.ui \ qmpsettingswindow.ui \ qmphelpwindow.ui +TRANSLATIONS += translations/qmp_zh_CN.ts + unix{ isEmpty(PREFIX) { PREFIX = /usr/local } BINDIR = $$PREFIX/bin target.path = $$BINDIR - INSTALLS += target + DATADIR = $$PREFIX/share + INSTALLS += target desktop iconbmp iconsvg iconxpm doc docimg appdata menu + desktop.path = $$DATADIR/applications + desktop.files += $${TARGET}.desktop + iconbmp.path = $$DATADIR/icons/hicolor/64x64/apps + iconbmp.files += ../img/qmidiplyr.png + iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps + iconsvg.files += ../img/qmidiplyr.svg + iconxpm.path = $$DATADIR/pixmaps + iconxpm.files += ../img/qmidiplyr.xpm + doc.path = $$DATADIR/qmidiplayer/doc + doc.files += ../doc/* + docimg.path = $$DATADIR/qmidiplayer/img + docimg.files += ../img/mainw.png ../img/chanw.png ../img/chparaw.png ../img/qmidiplyr.png + appdata.path = $${DATADIR}/appdata + appdata.files += $${TARGET}.appdata.xml + menu.path = $${DATADIR}/menu + menu.files += ./menu/$${TARGET} QMAKE_CXXFLAGS += -Wall LIBS += -lfluidsynth -lrtmidi } diff --git a/qmidiplayer-desktop/qmidiplayer.appdata.xml b/qmidiplayer-desktop/qmidiplayer.appdata.xml new file mode 100644 index 0000000..c4afa10 --- /dev/null +++ b/qmidiplayer-desktop/qmidiplayer.appdata.xml @@ -0,0 +1,24 @@ + + + qmidiplayer.desktop + GPL-3+ + GPL-3+ + QMidiPlayer + A cross-platform midi file player based on libfluidsynth and Qt. + +

QMidiPlayer is a cross-platform midi file player based on libfluidsynth and Qt.

+
+ + + https://chrisoft.org/QMidiPlayer/qmidiplyr.png + The screenshot showing the application in action + + + https://chrisoft.org/QMidiPlayer/ + chirs241097@gmail.com + chrisoft.org + + HiDpiIcon + ModernToolkit + +
diff --git a/qmidiplayer-desktop/qmidiplayer.desktop b/qmidiplayer-desktop/qmidiplayer.desktop new file mode 100644 index 0000000..38fae66 --- /dev/null +++ b/qmidiplayer-desktop/qmidiplayer.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=QMidiPlayer +Version=0.7.2 +GenericName=MIDI Player +Comment=QMidiPlayer is a midi file player based on Fluidsynth and Qt. +Exec=/usr/bin/qmidiplayer +Icon=qmidiplyr +Categories=Audio;AudioVideo;Midi;X-Alsa;X-Jack;Qt; +Terminal=false +Type=Application diff --git a/qmidiplayer-desktop/qmpchanneleditor.cpp b/qmidiplayer-desktop/qmpchanneleditor.cpp index f1d4e5e..9b61e64 100644 --- a/qmidiplayer-desktop/qmpchanneleditor.cpp +++ b/qmidiplayer-desktop/qmpchanneleditor.cpp @@ -7,7 +7,7 @@ qmpChannelEditor::qmpChannelEditor(QWidget *parent) : QDialog(parent), ui(new Ui::qmpChannelEditor) { - ui->setupUi(this); + ui->setupUi(this);ch=0; styl=new QDialSkulptureStyle(); QList dials=findChildren(); for(int i=0;igetPlayer(); int b,p; player->getChannelPreset(ch,&b,&p,str); diff --git a/qmidiplayer-desktop/qmphelpwindow.cpp b/qmidiplayer-desktop/qmphelpwindow.cpp index 10cf083..69e29d0 100644 --- a/qmidiplayer-desktop/qmphelpwindow.cpp +++ b/qmidiplayer-desktop/qmphelpwindow.cpp @@ -8,7 +8,7 @@ qmpHelpWindow::qmpHelpWindow(QWidget *parent) : { ui->setupUi(this); ui->textBrowser->setSearchPaths(QStringList(QString(":/doc"))+QStringList(QString(":/img"))); - ui->textBrowser->setSource(QUrl("qrc:///doc/index.html")); + ui->textBrowser->setSource(QUrl("qrc:///doc/index_internal.html")); } qmpHelpWindow::~qmpHelpWindow() @@ -18,7 +18,7 @@ qmpHelpWindow::~qmpHelpWindow() void qmpHelpWindow::on_textBrowser_sourceChanged(const QUrl &src) { - if(src.fileName()==QString("version.html")) + if(src.fileName()==QString("version_internal.html")) { QString s=ui->textBrowser->toHtml(); s.replace("CT_QT_VERSION_STR",QT_VERSION_STR); diff --git a/qmidiplayer-desktop/qmpmainwindow.cpp b/qmidiplayer-desktop/qmpmainwindow.cpp index 37ca9f4..380b0c1 100644 --- a/qmidiplayer-desktop/qmpmainwindow.cpp +++ b/qmidiplayer-desktop/qmpmainwindow.cpp @@ -8,6 +8,30 @@ #include "../core/qmpmidiplay.hpp" #ifdef _WIN32 #include +char* wcsto8bit(const wchar_t* s) +{ + int size=WideCharToMultiByte(CP_OEMCP,WC_NO_BEST_FIT_CHARS,s,-1,0,0,0,0); + char* c=(char*)calloc(size,sizeof(char)); + WideCharToMultiByte(CP_OEMCP,WC_NO_BEST_FIT_CHARS,s,-1,c,size,0,0); + return c; +} +#define LOAD_SOUNDFONT \ + {\ + char* c=wcsto8bit(settingsw->getSFWidget()->item(i)->text().toStdWString().c_str());\ + player->pushSoundFont(c);\ + free(c);\ + } +#define LOAD_FILE \ + {\ + char* c=wcsto8bit(fns.toStdWString().c_str());\ + if(!player->playerLoadFile(c)){free(c);return;}\ + free(c);\ + } +#else +#define LOAD_SOUNDFONT \ + player->pushSoundFont(settingsw->getSFWidget()->item(i)->text().toStdString().c_str()) +#define LOAD_FILE \ + if(!player->playerLoadFile(fns.toStdString().c_str()))return #endif #define UPDATE_INTERVAL 66 @@ -35,7 +59,7 @@ qmpMainWindow::qmpMainWindow(QWidget *parent) : ui->lbFileName->addAction(fnA2); if(singleFS){player->fluidPreInitialize();playerSetup();player->fluidInitialize(); for(int i=settingsw->getSFWidget()->count()-1;i>=0;--i) - player->pushSoundFont(settingsw->getSFWidget()->item(i)->text().toStdString().c_str());} + LOAD_SOUNDFONT;} if(qmpSettingsWindow::getSettingsIntf()->value("Behavior/DialogStatus",0).toInt()) { QRect g=geometry(); @@ -175,13 +199,13 @@ void qmpMainWindow::updateWidgets() chnlw->on_pbUnmute_clicked();chnlw->on_pbUnsolo_clicked(); QString fns=plistw->getNextItem(); ui->lbFileName->setText(QUrl(fns).fileName()); - if(!player->playerLoadFile(fns.toStdString().c_str()))return; + LOAD_FILE; char ts[100]; sprintf(ts,"%02d:%02d",(int)player->getFtime()/60,(int)player->getFtime()%60); ui->lbFinTime->setText(ts); player->playerInit();if(!singleFS){playerSetup();player->fluidInitialize(); for(int i=settingsw->getSFWidget()->count()-1;i>=0;--i) - player->pushSoundFont(settingsw->getSFWidget()->item(i)->text().toStdString().c_str());} + LOAD_SOUNDFONT;} player->setGain(ui->vsMasterVol->value()/250.);efxw->sendEfxChange(); player->setWaitVoice(qmpSettingsWindow::getSettingsIntf()->value("Midi/WaitVoice",1).toInt()); playerTh=new std::thread(&CMidiPlayer::playerThread,player); @@ -206,7 +230,7 @@ void qmpMainWindow::updateWidgets() playerSetup(); player->fluidInitialize(); for(int i=settingsw->getSFWidget()->count()-1;i>=0;--i) - player->pushSoundFont(settingsw->getSFWidget()->item(i)->text().toStdString().c_str()); + LOAD_SOUNDFONT; } } } @@ -275,13 +299,13 @@ void qmpMainWindow::on_pbPlayPause_clicked() if(!fns.length())return(void)(playing=false); } ui->lbFileName->setText(QUrl(fns).fileName()); - if(!player->playerLoadFile(fns.toStdString().c_str()))return; + LOAD_FILE; char ts[100]; sprintf(ts,"%02d:%02d",(int)player->getFtime()/60,(int)player->getFtime()%60); ui->lbFinTime->setText(ts); player->playerInit();if(!singleFS){playerSetup();player->fluidInitialize(); for(int i=settingsw->getSFWidget()->count()-1;i>=0;--i) - player->pushSoundFont(settingsw->getSFWidget()->item(i)->text().toStdString().c_str());} + LOAD_SOUNDFONT;} player->setGain(ui->vsMasterVol->value()/250.);efxw->sendEfxChange(); player->setWaitVoice(qmpSettingsWindow::getSettingsIntf()->value("Midi/WaitVoice",1).toInt()); playerTh=new std::thread(&CMidiPlayer::playerThread,player); @@ -399,13 +423,13 @@ void qmpMainWindow::on_pbPrev_clicked() ui->hsTimer->setValue(0);chnlw->on_pbUnmute_clicked();chnlw->on_pbUnsolo_clicked(); QString fns=plistw->getPrevItem();if(fns.length()==0)return on_pbStop_clicked(); ui->lbFileName->setText(QUrl(fns).fileName()); - if(!player->playerLoadFile(fns.toStdString().c_str()))return; + LOAD_FILE; char ts[100]; sprintf(ts,"%02d:%02d",(int)player->getFtime()/60,(int)player->getFtime()%60); ui->lbFinTime->setText(ts); player->playerInit();if(!singleFS){playerSetup();player->fluidInitialize(); for(int i=settingsw->getSFWidget()->count()-1;i>=0;--i) - player->pushSoundFont(settingsw->getSFWidget()->item(i)->text().toStdString().c_str());} + LOAD_SOUNDFONT;} player->setGain(ui->vsMasterVol->value()/250.);efxw->sendEfxChange(); player->setWaitVoice(qmpSettingsWindow::getSettingsIntf()->value("Midi/WaitVoice",1).toInt()); playerTh=new std::thread(&CMidiPlayer::playerThread,player); @@ -424,13 +448,13 @@ void qmpMainWindow::on_pbNext_clicked() ui->hsTimer->setValue(0);chnlw->on_pbUnmute_clicked();chnlw->on_pbUnsolo_clicked(); QString fns=plistw->getNextItem();if(fns.length()==0)return on_pbStop_clicked(); ui->lbFileName->setText(QUrl(fns).fileName()); - if(!player->playerLoadFile(fns.toStdString().c_str()))return; + LOAD_FILE; char ts[100]; sprintf(ts,"%02d:%02d",(int)player->getFtime()/60,(int)player->getFtime()%60); ui->lbFinTime->setText(ts); player->playerInit();if(!singleFS){playerSetup();player->fluidInitialize(); for(int i=settingsw->getSFWidget()->count()-1;i>=0;--i) - player->pushSoundFont(settingsw->getSFWidget()->item(i)->text().toStdString().c_str());} + LOAD_SOUNDFONT;} player->setGain(ui->vsMasterVol->value()/250.);efxw->sendEfxChange(); player->setWaitVoice(qmpSettingsWindow::getSettingsIntf()->value("Midi/WaitVoice",1).toInt()); playerTh=new std::thread(&CMidiPlayer::playerThread,player); @@ -452,13 +476,13 @@ void qmpMainWindow::selectionChanged() chnlw->on_pbUnmute_clicked();chnlw->on_pbUnsolo_clicked(); QString fns=plistw->getSelectedItem(); ui->lbFileName->setText(QUrl(fns).fileName()); - if(!player->playerLoadFile(fns.toStdString().c_str()))return; + LOAD_FILE; char ts[100]; sprintf(ts,"%02d:%02d",(int)player->getFtime()/60,(int)player->getFtime()%60); ui->lbFinTime->setText(ts); player->playerInit();if(!singleFS){playerSetup();player->fluidInitialize(); for(int i=settingsw->getSFWidget()->count()-1;i>=0;--i) - player->pushSoundFont(settingsw->getSFWidget()->item(i)->text().toStdString().c_str());} + LOAD_SOUNDFONT;} player->setGain(ui->vsMasterVol->value()/250.);efxw->sendEfxChange(); player->setWaitVoice(qmpSettingsWindow::getSettingsIntf()->value("Midi/WaitVoice",1).toInt()); playerTh=new std::thread(&CMidiPlayer::playerThread,player); @@ -498,11 +522,19 @@ void qmpMainWindow::onfnA1() void qmpMainWindow::onfnA2() { if(singleFS)player->fluidDeinitialize(); +#ifdef _WIN32 + char* ofstr=wcsto8bit((plistw->getSelectedItem()+QString(".wav")).toStdWString().c_str()); + char* ifstr=wcsto8bit(plistw->getSelectedItem().toStdWString().c_str()); + player->rendererLoadFile(ofstr); + playerSetup();player->rendererInit(ifstr); + free(ofstr);free(ifstr); +#else player->rendererLoadFile((plistw->getSelectedItem()+QString(".wav")).toStdString().c_str()); playerSetup();player->rendererInit(plistw->getSelectedItem().toStdString().c_str()); +#endif ui->centralWidget->setEnabled(false); for(int i=settingsw->getSFWidget()->count()-1;i>=0;--i) - player->pushSoundFont(settingsw->getSFWidget()->item(i)->text().toStdString().c_str()); + LOAD_SOUNDFONT; player->setGain(ui->vsMasterVol->value()/250.);efxw->sendEfxChange();timer->start(UPDATE_INTERVAL); renderTh=new std::thread(&CMidiPlayer::rendererThread,player); } diff --git a/qmidiplayer-desktop/qmpplistwindow.cpp b/qmidiplayer-desktop/qmpplistwindow.cpp index 8f04fc1..103027c 100644 --- a/qmidiplayer-desktop/qmpplistwindow.cpp +++ b/qmidiplayer-desktop/qmpplistwindow.cpp @@ -185,15 +185,15 @@ void qmpPlistWindow::on_pbRepeat_clicked() { case 0: ui->pbRepeat->setIcon(QIcon(":/img/repeat-non.png")); - ui->pbRepeat->setText("Repeat Off"); + ui->pbRepeat->setText(tr("Repeat Off")); break; case 1: ui->pbRepeat->setIcon(QIcon(":/img/repeat-one.png")); - ui->pbRepeat->setText("Repeat One"); + ui->pbRepeat->setText(tr("Repeat One")); break; case 2: ui->pbRepeat->setIcon(QIcon(":/img/repeat-all.png")); - ui->pbRepeat->setText("Repeat All"); + ui->pbRepeat->setText(tr("Repeat All")); break; } } @@ -205,12 +205,12 @@ void qmpPlistWindow::on_pbShuffle_clicked() { case 1: ui->pbShuffle->setIcon(QIcon(":/img/shuffle.png")); - ui->pbShuffle->setText("Shuffle On"); + ui->pbShuffle->setText(tr("Shuffle On")); break; case 0: default: ui->pbShuffle->setIcon(QIcon(":/img/shuffle-off.png")); - ui->pbShuffle->setText("Shuffle Off"); + ui->pbShuffle->setText(tr("Shuffle Off")); break; } } @@ -256,7 +256,7 @@ void qmpPlistWindow::on_lwFiles_itemDoubleClicked() void qmpPlistWindow::on_pbSave_clicked() { - QSettings* plist=new QSettings(QFileDialog::getSaveFileName(this,"Save playlist",""), + QSettings* plist=new QSettings(QFileDialog::getSaveFileName(this,tr("Save playlist"),""), QSettings::IniFormat); plist->setValue("Playlist/FileCount",ui->lwFiles->count()); for(int i=0;ilwFiles->count();++i) @@ -269,7 +269,7 @@ void qmpPlistWindow::on_pbSave_clicked() void qmpPlistWindow::on_pbLoad_clicked() { - QSettings* plist=new QSettings(QFileDialog::getOpenFileName(this,"Load playlist",""), + QSettings* plist=new QSettings(QFileDialog::getOpenFileName(this,tr("Load playlist"),""), QSettings::IniFormat); int fc=plist->value("Playlist/FileCount",0).toInt(); if(!fc)return; @@ -281,27 +281,27 @@ void qmpPlistWindow::on_pbLoad_clicked() { case 1: ui->pbShuffle->setIcon(QIcon(":/img/shuffle.png")); - ui->pbShuffle->setText("Shuffle On"); + ui->pbShuffle->setText(tr("Shuffle On")); break; case 0: default: ui->pbShuffle->setIcon(QIcon(":/img/shuffle-off.png")); - ui->pbShuffle->setText("Shuffle Off"); + ui->pbShuffle->setText(tr("Shuffle Off")); break; } switch(repeat) { case 0: ui->pbRepeat->setIcon(QIcon(":/img/repeat-non.png")); - ui->pbRepeat->setText("Repeat Off"); + ui->pbRepeat->setText(tr("Repeat Off")); break; case 1: ui->pbRepeat->setIcon(QIcon(":/img/repeat-one.png")); - ui->pbRepeat->setText("Repeat One"); + ui->pbRepeat->setText(tr("Repeat One")); break; case 2: ui->pbRepeat->setIcon(QIcon(":/img/repeat-all.png")); - ui->pbRepeat->setText("Repeat All"); + ui->pbRepeat->setText(tr("Repeat All")); break; } delete plist; diff --git a/qmidiplayer-desktop/resources.qrc b/qmidiplayer-desktop/resources.qrc index d34966d..b3348f4 100644 --- a/qmidiplayer-desktop/resources.qrc +++ b/qmidiplayer-desktop/resources.qrc @@ -27,12 +27,8 @@ ../img/visualization.png ../img/ledon.png ../img/ledoff.png - ../img/mainw.png - ../img/chanw.png - ../doc/index.html - ../doc/version.html - ../doc/license.html - ../doc/mainwindow.html - ../doc/channeldialog.html + ../doc/index_internal.html + ../doc/version_internal.html + ../doc/license_internal.html diff --git a/qmidiplayer-desktop/translations/qmp_zh_CN.ts b/qmidiplayer-desktop/translations/qmp_zh_CN.ts new file mode 100644 index 0000000..4b95192 --- /dev/null +++ b/qmidiplayer-desktop/translations/qmp_zh_CN.ts @@ -0,0 +1,796 @@ + + + + + qmpChannelEditor + + + Dialog + + + + + < + + + + + 1 + + + + + > + + + + + Yamaha Grand Piano + + + + + BK: 0 + + + + + PC: 0 + + + + + Filters + + + + + Res. 64 + + + + + Cut. 64 + + + + + Effects + 效果 + + + + Chr. 64 + + + + + Rev. 64 + + + + + Envelope + + + + + Dec. 64 + + + + + Atk. 64 + + + + + Rel. 64 + + + + + Vibrato + + + + + Dep. 64 + + + + + Rate 64 + + + + + Del. 64 + + + + + Mixer + + + + + Pan. C + + + + + Vol. 127 + + + + + Channel Parameter Editor - Channel #%1 + 通道参数编辑器 通道#%1 + + + + qmpChannelsWindow + + + Channels + 通道 + + + + A + + + + + M + + + + + S + + + + + Device + + + + + Preset + + + + + ... + + + + + Save + 保存播放列表 + + + + Load + 打开播放列表 + + + + Unmute All + + + + + Unsolo All + + + + + qmpEfxWindow + + + Effects + 效果 + + + + Reverb + 混响 + + + + Room + 房间大小 + + + + Damp + 衰减 + + + + Width + 声场 + + + + + Level + 音量 + + + + Chorus + 和声 + + + + Feedback + 和声数量 + + + + Rate + 频率 + + + + Depth + 延迟 + + + + LFO + + + + + Sine + + + + + Trian&gle + + + + + qmpHelpWindow + + + Help + + + + + qmpInfoWindow + + + File Information + 文件信息 + + + + File name: + 文件名: + + + + Tempo: + 速度: + + + + Key Sig.: + 调式: + + + + Time Sig.: + 节拍: + + + + Title: + 标题: + + + + Copyright: + 作者: + + + + Note count: + 音符数: + + + + File standard: + 文件标准: + + + + qmpMainWindow + + + QMidiPlayer + + + + + somefile.mid + + + + + Channels + 通道 + + + + Playlist + 播放列表 + + + + Effects + 效果 + + + + Visualization + 可视化 + + + + <html><head/><body><p>Poly: 0/0</p></body></html> + + + + + Master + 主音量 + + + + + 00:00 + + + + + ? + + + + + qmpPlistWindow + + + Playlist + 播放列表 + + + + Add + 添加 + + + + Add Folder + 添加文件夹 + + + + + + Repeat Off + + + + + + + Shuffle Off + + + + + Save + 保存播放列表 + + + + Load + 打开播放列表 + + + + Remove + 移除 + + + + Clear + 清空 + + + + + Repeat One + + + + + + Repeat All + + + + + + Shuffle On + + + + + Save playlist + + + + + Load playlist + + + + + qmpPresetSelector + + + Preset Selection + + + + + Bank + + + + + Preset + + + + + OK + + + + + Cancel + + + + + qmpSettingsWindow + + + Settings + 选项 + + + + Midi + MIDI选项 + + + + Default Output Device + 默认输出设备 + + + + Internal FluidSynth + + + + + Disable Midi Mapping + 禁用MIDI输出分配 + + + + Send SysEx + 发送SysEx指令 + + + + Wait for remaining voices before stopping + 停止前等待复音数降为0 + + + + Text Encoding + MIDI文本编码 + + + + Unicode + + + + + Big5 + + + + + Big5-HKSCS + + + + + CP949 + + + + + EUC-JP + + + + + EUC-KR + + + + + GB18030 + + + + + KOI8-R + + + + + KOI8-U + + + + + Macintosh + + + + + Shift-JIS + + + + + Synth + 合成器 + + + + Audio Buffer Count + 音频缓冲区数量 + + + + Audio Buffer Size + 音频缓冲区大小 + + + + + 64 + + + + + 128 + + + + + 256 + + + + + 512 + + + + + 1024 + + + + + 2048 + + + + + 4096 + + + + + 8192 + + + + + Audio Frequency + 采样频率 + + + + 2 + + + + + 4 + + + + + 8 + + + + + 16 + + + + + 32 + + + + + Audio Driver + 音频驱动 + + + + 16bits + + + + + float + + + + + 22050 + + + + + 44100 + + + + + 48000 + + + + + 96000 + + + + + Audio Format + 音频格式 + + + + Max Polyphony + 最大复音数 + + + + Auto bank select mode + 自动乐器库选择方式 + + + + Bank select mode + 乐器库选择方式 + + + + Ignored + + + + + CC#0 + + + + + CC#32 + + + + + CC#0*128+CC#32 + + + + + CPU Cores + 合成器线程数 + + + + Soundfonts + + + + + Behavior + 行为设定 + + + + Restore last playlist on startup + 启动时,恢复上次的播放列表 + + + + Load files in the same folder + 添加同一文件夹下的所有文件 + + + + Save dialog status + 保存对话框状态 + + + + Save parameters in effects window + 保存效果窗口内的设定 + + + + Persistent fluidsynth instance + 单一fluidsynth实例 + + + + Visualization Mode + + + + + View distance + + + + + Note stretch + + + + + Fog Start + + + + -- cgit v1.2.3