Skip to content

Commit

Permalink
fixed 68. changed a page title.
Browse files Browse the repository at this point in the history
  • Loading branch information
Erich Izdepski committed Jul 23, 2021
1 parent ceea605 commit 8b9fc02
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
6 changes: 5 additions & 1 deletion app/renderer/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,11 @@ function loadSound() {
option.text = `${currentBank} ${i}`
legalBank.appendChild(option);
}

//default saveSoundBank and UI selector to current sound
saveSoundBank = currentSound
document.getElementById("savesoundbank").value = saveSoundBank


//select upper or lower program 1 in mirage. always set to 1 after load.
data["program"] = 1
window.api.send('changeProgram', data)
Expand Down
17 changes: 11 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

<body>
<main role="main" class="container-xl">
Mirage Audio Processor
<table id="t" class="table table-sm">
<thead class="thead-dark">
<tr>
Expand All @@ -32,9 +33,9 @@
</select></td>
<td></td>
</tr>
<tr style="height: 80px;" align="top">
<tr style="height: 80px;">
<!-- this has default value. better to auto initialize in preload-->
<td id="functionHelp" colspan="3" bgcolor="yellow">Convert 32 bit float files to 8 bit</td>
<td id="functionHelp" colspan="3" bgcolor="#FFFF00">Convert 32 bit float files to 8 bit</td>
</tr>
<tr>
<td>Choose the Destination Folder for the process</td>
Expand All @@ -52,24 +53,28 @@
</colgroup>
<thead class="thead-dark">
<tr>
<th>Run a Step</th>
<th>Run a Workflow</th>
<th>Processing</th>
<!--<th>Run a Workflow</th> -->
</tr>
</thead>
<tbody>
<tr>
<td>
<input type = "button" onclick = "execute()" class="btn btn-success" value = "Run Process">
</td>
<td>
<!--
<td>
<input type = "button" class="btn btn-secondary" onclick = "addWorkflowStep()" value = "Add Step">
&nbsp; &nbsp;
<input type = "button" class="btn btn-primary" onclick = "runWorkflow()" value = "Run Workflow">
</td>
-->
</tr>
<tr>
<td><textarea id="logs" name="logs" rows = "15" cols="70" readonly>logs</textarea></td>
<td><textarea id="logs" name="logs" rows = "15" cols="150" readonly>logs</textarea></td>
<!--
<td>put workflow stuff here</td>
-->
</tr>
</tbody>
</table>
Expand Down

0 comments on commit 8b9fc02

Please sign in to comment.