channel.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>channel</class>
  4. <widget class="QWidget" name="channel">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>144</width>
  10. <height>492</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>channel</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <widget class="QLineEdit" name="leName">
  19. <property name="text">
  20. <string/>
  21. </property>
  22. <property name="alignment">
  23. <set>Qt::AlignCenter</set>
  24. </property>
  25. <property name="placeholderText">
  26. <string>Snare</string>
  27. </property>
  28. </widget>
  29. </item>
  30. <item>
  31. <layout class="QFormLayout" name="formLayout">
  32. <item row="1" column="0">
  33. <widget class="QLabel" name="label_9">
  34. <property name="text">
  35. <string>Note</string>
  36. </property>
  37. </widget>
  38. </item>
  39. <item row="1" column="1">
  40. <widget class="QComboBox" name="cbNote">
  41. <item>
  42. <property name="text">
  43. <string>C#</string>
  44. </property>
  45. </item>
  46. </widget>
  47. </item>
  48. <item row="0" column="1">
  49. <widget class="QComboBox" name="cbSensor">
  50. <property name="currentText">
  51. <string>Mute</string>
  52. </property>
  53. <property name="frame">
  54. <bool>true</bool>
  55. </property>
  56. <item>
  57. <property name="text">
  58. <string>Mute</string>
  59. </property>
  60. </item>
  61. <item>
  62. <property name="text">
  63. <string>Piezo</string>
  64. </property>
  65. </item>
  66. </widget>
  67. </item>
  68. <item row="0" column="0">
  69. <widget class="QLabel" name="label_10">
  70. <property name="text">
  71. <string>Sensor</string>
  72. </property>
  73. </widget>
  74. </item>
  75. </layout>
  76. </item>
  77. <item>
  78. <widget class="QGroupBox" name="groupBox">
  79. <property name="title">
  80. <string>Sensor</string>
  81. </property>
  82. <layout class="QGridLayout" name="gridLayout_3">
  83. <item row="1" column="0">
  84. <widget class="QDial" name="dialThreshold">
  85. <property name="sizePolicy">
  86. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  87. <horstretch>0</horstretch>
  88. <verstretch>0</verstretch>
  89. </sizepolicy>
  90. </property>
  91. <property name="maximumSize">
  92. <size>
  93. <width>50</width>
  94. <height>50</height>
  95. </size>
  96. </property>
  97. <property name="toolTip">
  98. <string>if a sample is previous sample + threshold or more, note will be triggered</string>
  99. </property>
  100. <property name="maximum">
  101. <number>127</number>
  102. </property>
  103. <property name="notchTarget">
  104. <double>8.000000000000000</double>
  105. </property>
  106. <property name="notchesVisible">
  107. <bool>true</bool>
  108. </property>
  109. </widget>
  110. </item>
  111. <item row="3" column="0">
  112. <widget class="QDial" name="dialScanTime">
  113. <property name="sizePolicy">
  114. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  115. <horstretch>0</horstretch>
  116. <verstretch>0</verstretch>
  117. </sizepolicy>
  118. </property>
  119. <property name="maximumSize">
  120. <size>
  121. <width>50</width>
  122. <height>50</height>
  123. </size>
  124. </property>
  125. <property name="toolTip">
  126. <string>How many samples to acquire when a hit is detected. max value of thes samples will be used as velocity</string>
  127. </property>
  128. <property name="maximum">
  129. <number>127</number>
  130. </property>
  131. <property name="notchTarget">
  132. <double>8.000000000000000</double>
  133. </property>
  134. <property name="notchesVisible">
  135. <bool>true</bool>
  136. </property>
  137. </widget>
  138. </item>
  139. <item row="0" column="0">
  140. <widget class="QLabel" name="label_21">
  141. <property name="text">
  142. <string>Threshold</string>
  143. </property>
  144. <property name="alignment">
  145. <set>Qt::AlignCenter</set>
  146. </property>
  147. </widget>
  148. </item>
  149. <item row="2" column="0">
  150. <widget class="QLabel" name="label_8">
  151. <property name="text">
  152. <string>Scan</string>
  153. </property>
  154. <property name="alignment">
  155. <set>Qt::AlignCenter</set>
  156. </property>
  157. </widget>
  158. </item>
  159. <item row="3" column="1">
  160. <widget class="QDial" name="dialMaskTime">
  161. <property name="sizePolicy">
  162. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  163. <horstretch>0</horstretch>
  164. <verstretch>0</verstretch>
  165. </sizepolicy>
  166. </property>
  167. <property name="maximumSize">
  168. <size>
  169. <width>50</width>
  170. <height>50</height>
  171. </size>
  172. </property>
  173. <property name="toolTip">
  174. <string>how many samples will be ignored after a note was played.</string>
  175. </property>
  176. <property name="maximum">
  177. <number>127</number>
  178. </property>
  179. <property name="notchTarget">
  180. <double>8.000000000000000</double>
  181. </property>
  182. <property name="notchesVisible">
  183. <bool>true</bool>
  184. </property>
  185. </widget>
  186. </item>
  187. <item row="2" column="1">
  188. <widget class="QLabel" name="label_11">
  189. <property name="text">
  190. <string>Mask</string>
  191. </property>
  192. <property name="alignment">
  193. <set>Qt::AlignCenter</set>
  194. </property>
  195. </widget>
  196. </item>
  197. </layout>
  198. <zorder>label_21</zorder>
  199. <zorder>dialThreshold</zorder>
  200. <zorder>label_8</zorder>
  201. <zorder>dialScanTime</zorder>
  202. <zorder>dialMaskTime</zorder>
  203. <zorder>label_11</zorder>
  204. </widget>
  205. </item>
  206. <item>
  207. <widget class="QGroupBox" name="groupBox_2">
  208. <property name="title">
  209. <string>Curve</string>
  210. </property>
  211. <layout class="QGridLayout" name="gridLayout_2">
  212. <item row="2" column="0">
  213. <widget class="QDial" name="dialValue">
  214. <property name="sizePolicy">
  215. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  216. <horstretch>0</horstretch>
  217. <verstretch>0</verstretch>
  218. </sizepolicy>
  219. </property>
  220. <property name="maximumSize">
  221. <size>
  222. <width>50</width>
  223. <height>50</height>
  224. </size>
  225. </property>
  226. <property name="toolTip">
  227. <string>change the shape of the curve</string>
  228. </property>
  229. <property name="maximum">
  230. <number>127</number>
  231. </property>
  232. <property name="notchTarget">
  233. <double>8.000000000000000</double>
  234. </property>
  235. <property name="notchesVisible">
  236. <bool>true</bool>
  237. </property>
  238. </widget>
  239. </item>
  240. <item row="5" column="0">
  241. <widget class="QDial" name="dialOffset">
  242. <property name="sizePolicy">
  243. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  244. <horstretch>0</horstretch>
  245. <verstretch>0</verstretch>
  246. </sizepolicy>
  247. </property>
  248. <property name="maximumSize">
  249. <size>
  250. <width>50</width>
  251. <height>50</height>
  252. </size>
  253. </property>
  254. <property name="minimum">
  255. <number>-127</number>
  256. </property>
  257. <property name="maximum">
  258. <number>127</number>
  259. </property>
  260. <property name="notchTarget">
  261. <double>16.000000000000000</double>
  262. </property>
  263. <property name="notchesVisible">
  264. <bool>true</bool>
  265. </property>
  266. </widget>
  267. </item>
  268. <item row="0" column="0" colspan="2">
  269. <widget class="QComboBox" name="cbCurveType">
  270. <item>
  271. <property name="text">
  272. <string>Normal</string>
  273. </property>
  274. </item>
  275. <item>
  276. <property name="text">
  277. <string>Exp</string>
  278. </property>
  279. </item>
  280. <item>
  281. <property name="text">
  282. <string>Log</string>
  283. </property>
  284. </item>
  285. <item>
  286. <property name="text">
  287. <string>Sigma</string>
  288. </property>
  289. </item>
  290. <item>
  291. <property name="text">
  292. <string>Flat</string>
  293. </property>
  294. </item>
  295. </widget>
  296. </item>
  297. <item row="1" column="0">
  298. <widget class="QLabel" name="label_3">
  299. <property name="text">
  300. <string>Shape</string>
  301. </property>
  302. <property name="alignment">
  303. <set>Qt::AlignCenter</set>
  304. </property>
  305. </widget>
  306. </item>
  307. <item row="8" column="0" colspan="2">
  308. <layout class="QVBoxLayout" name="layoutCurvePlot"/>
  309. </item>
  310. <item row="4" column="0">
  311. <widget class="QLabel" name="label">
  312. <property name="text">
  313. <string>Y-Offset</string>
  314. </property>
  315. <property name="alignment">
  316. <set>Qt::AlignCenter</set>
  317. </property>
  318. </widget>
  319. </item>
  320. <item row="4" column="1">
  321. <widget class="QLabel" name="label_2">
  322. <property name="text">
  323. <string>Y-Factor</string>
  324. </property>
  325. <property name="alignment">
  326. <set>Qt::AlignCenter</set>
  327. </property>
  328. </widget>
  329. </item>
  330. <item row="5" column="1">
  331. <widget class="QDial" name="dialFactor">
  332. <property name="sizePolicy">
  333. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  334. <horstretch>0</horstretch>
  335. <verstretch>0</verstretch>
  336. </sizepolicy>
  337. </property>
  338. <property name="maximumSize">
  339. <size>
  340. <width>50</width>
  341. <height>50</height>
  342. </size>
  343. </property>
  344. <property name="minimum">
  345. <number>0</number>
  346. </property>
  347. <property name="maximum">
  348. <number>127</number>
  349. </property>
  350. <property name="notchTarget">
  351. <double>8.000000000000000</double>
  352. </property>
  353. <property name="notchesVisible">
  354. <bool>true</bool>
  355. </property>
  356. </widget>
  357. </item>
  358. </layout>
  359. <zorder>cbCurveType</zorder>
  360. <zorder>dialOffset</zorder>
  361. <zorder>label_3</zorder>
  362. <zorder>dialValue</zorder>
  363. <zorder>label</zorder>
  364. <zorder>label_2</zorder>
  365. <zorder>dialFactor</zorder>
  366. </widget>
  367. </item>
  368. </layout>
  369. </widget>
  370. <layoutdefault spacing="6" margin="11"/>
  371. <resources/>
  372. <connections/>
  373. </ui>