1 Star 2 Fork 0

ZengYL/ScMIDI

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
widget.ui 10.03 KB
一键复制 编辑 原始数据 按行查看 历史
ZengYL 提交于 2022-04-30 03:34 . V1.1(A)
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Widget</class>
<widget class="QWidget" name="Widget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>551</width>
<height>366</height>
</rect>
</property>
<property name="acceptDrops">
<bool>true</bool>
</property>
<property name="windowTitle">
<string>Scratch MIDI</string>
</property>
<widget class="QLabel" name="filename">
<property name="geometry">
<rect>
<x>110</x>
<y>50</y>
<width>271</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>未加载文件</string>
</property>
<property name="textFormat">
<enum>Qt::PlainText</enum>
</property>
</widget>
<widget class="QPushButton" name="fileBrowseBtn">
<property name="geometry">
<rect>
<x>20</x>
<y>50</y>
<width>81</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>打开文件</string>
</property>
</widget>
<widget class="QLineEdit" name="textOut">
<property name="geometry">
<rect>
<x>90</x>
<y>320</y>
<width>241</width>
<height>25</height>
</rect>
</property>
<property name="maxLength">
<number>1048576</number>
</property>
<property name="dragEnabled">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="placeholderText">
<string>请加载文件后点击“生成”</string>
</property>
</widget>
<widget class="QLabel" name="labelOut">
<property name="geometry">
<rect>
<x>20</x>
<y>290</y>
<width>291</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>最终数据生成:</string>
</property>
</widget>
<widget class="QLabel" name="labelIn">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>341</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>MIDI文件加载(可拖放):</string>
</property>
</widget>
<widget class="QPushButton" name="btnOut">
<property name="geometry">
<rect>
<x>20</x>
<y>320</y>
<width>61</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>生成</string>
</property>
</widget>
<widget class="QLabel" name="labelCfg">
<property name="geometry">
<rect>
<x>20</x>
<y>100</y>
<width>301</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>高级配置与优化选项:</string>
</property>
</widget>
<widget class="QCheckBox" name="cbMax">
<property name="geometry">
<rect>
<x>30</x>
<y>130</y>
<width>101</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string>等比更改音量,使最大值刚好为100%。</string>
</property>
<property name="text">
<string>音量峰值调校</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="cbFac">
<property name="geometry">
<rect>
<x>160</x>
<y>130</y>
<width>101</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string>对不同乐器的音符音量乘以不同的因子,使得不同乐器的音符音量听起来相同。&lt;br/&gt;&lt;br/&gt;会造成音量减小,建议同时开“音量峰值调校”</string>
</property>
<property name="text">
<string>音量平衡调校</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="cbDRm">
<property name="geometry">
<rect>
<x>30</x>
<y>160</y>
<width>121</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string>将整首曲子之前的休止去除,使一开始就直接播放第一个音符。</string>
</property>
<property name="text">
<string>前休止去除</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelVol">
<property name="geometry">
<rect>
<x>30</x>
<y>190</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string>增大或减小全局音量,在优化之后进行。&lt;br/&gt;&lt;br/&gt;最大时,所有音符音量几乎都满。最小时,几乎都没声音。</string>
</property>
<property name="text">
<string>音量增益</string>
</property>
</widget>
<widget class="QSlider" name="sliderVol">
<property name="geometry">
<rect>
<x>110</x>
<y>190</y>
<width>211</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string>增大或减小全局音量,在优化之后进行。&lt;br/&gt;&lt;br/&gt;最大时,所有音符音量几乎都满。最小时,几乎都没声音。</string>
</property>
<property name="minimum">
<number>-10</number>
</property>
<property name="maximum">
<number>10</number>
</property>
<property name="value">
<number>0</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QLabel" name="labelShift">
<property name="geometry">
<rect>
<x>30</x>
<y>220</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string>给每个音符的音高增加(或减少)一个数值。单位:半音</string>
</property>
<property name="text">
<string>移调</string>
</property>
</widget>
<widget class="QSpinBox" name="spinShift">
<property name="geometry">
<rect>
<x>110</x>
<y>220</y>
<width>101</width>
<height>25</height>
</rect>
</property>
<property name="toolTip">
<string>给每个音符的音高增加(或减少)一个数值。单位:半音</string>
</property>
<property name="suffix">
<string>(半音)</string>
</property>
<property name="minimum">
<number>-24</number>
</property>
<property name="maximum">
<number>24</number>
</property>
</widget>
<widget class="QLabel" name="labelSpeed">
<property name="geometry">
<rect>
<x>30</x>
<y>250</y>
<width>71</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string>调整速度。左侧减慢,右侧加快,中间不变。</string>
</property>
<property name="text">
<string>倍速</string>
</property>
</widget>
<widget class="QSlider" name="sliderSpeed">
<property name="geometry">
<rect>
<x>110</x>
<y>250</y>
<width>211</width>
<height>21</height>
</rect>
</property>
<property name="toolTip">
<string>调整速度。左侧减慢,右侧加快,中间不变。</string>
</property>
<property name="minimum">
<number>-10</number>
</property>
<property name="maximum">
<number>10</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QTextBrowser" name="textBrowser">
<property name="geometry">
<rect>
<x>350</x>
<y>20</y>
<width>181</width>
<height>321</height>
</rect>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Microsoft YaHei'; font-size:12px; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12px;&quot;&gt;程序版本:1.1(A)&lt;br /&gt;作者 zengyl(&lt;/span&gt;&lt;a href=&quot;https://zengyulin.cn/&quot;&gt;&lt;span style=&quot; font-size:12px; text-decoration: underline; color:#007af4;&quot;&gt;个人主页&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:12px;&quot;&gt;)。&lt;br /&gt;该程序以 CC-BY-SA-4.0 协议开源。&lt;br /&gt;&lt;br /&gt;该程序的输出,需使用对应的 Scratch3 程序播放。&lt;br /&gt;获取本程序新版本、对应的 Scratch3 程序,以及它们的源代码,可访问:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:-20px; margin-right:-20px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;https://zengyulin.cn/#!/scmidi/&quot;&gt;&lt;span style=&quot; font-size:12px; text-decoration: underline; color:#007af4;&quot;&gt;程序主页&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:12px;&quot;&gt;(如果你不确定,就访问这个)&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:-20px; margin-right:-20px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;https://gitee.com/Zeng_YL/scmidi&quot;&gt;&lt;span style=&quot; font-size:12px; text-decoration: underline; color:#007af4;&quot;&gt;Gitee 仓库&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot; margin-top:0px; margin-bottom:0px; margin-left:-20px; margin-right:-20px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;https://gitblock.cn/Projects/980898&quot;&gt;&lt;span style=&quot; font-size:12px; text-decoration: underline; color:#007af4;&quot;&gt;稽木世界(A营)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/Zeng_YL/scmidi.git
git@gitee.com:Zeng_YL/scmidi.git
Zeng_YL
scmidi
ScMIDI
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385