Skip to content

Commit

Permalink
Route Wav files through ffmpeg, ditched:
Browse files Browse the repository at this point in the history
getWavePredictBuffers
lookForHeader
processPredictQueue
setupCTX

And waveFileReader package
  • Loading branch information
Mattk70 committed Oct 30, 2024
1 parent 94baca6 commit 466f867
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 324 deletions.
12 changes: 7 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ <h5 class="offcanvas-title" id="offcanvasExampleLabel">Settings</h5>
</div>
</div>
</div>
<hr>
<div class="form-group rounded p-2 mb-2">
<div class="col form-check form-switch">
<label class="form-check-label" for="normalise">Normalise Audio:
Expand All @@ -328,9 +329,10 @@ <h5 class="offcanvas-title" id="offcanvasExampleLabel">Settings</h5>
<a class="circle" tabindex="-1" data-bs-toggle="popover" data-bs-trigger="focus" data-bs-title="Normalise" id="Normalise-circle-help" data-bs-content="When enabled, the audio you hear will be normalised, expanding the dynamic range.">?</a>
</div>
</div>
<hr>
<div class="me-auto">
<div class="form-group rounded p-2 mb-2">
<a class="circle" tabindex="-1" data-bs-toggle="popover" data-bs-trigger="focus" data-bs-title="High Pass Filter" id="High Pass Filter-circle-help" data-bs-content="When set, removes low frequency noise below the threshold. If enabled before analysis, the modified audio is sent to the model. If only enabled after analysis, this just affects audio playback">?</a>
<a class="circle" tabindex="-1" data-bs-toggle="popover" data-bs-trigger="focus" data-bs-title="High Pass Filter" id="High Pass Filter-circle-help" data-bs-content="When set, removes low frequency noise below the threshold.">?</a>
<label for="HighPassFrequency" class="form-label">
High Pass filter:
</label>
Expand All @@ -342,11 +344,11 @@ <h5 class="offcanvas-title" id="offcanvasExampleLabel">Settings</h5>
</div>
</div>
</div>
<hr>
<h6>Low Shelf filter</h6>
<div class="form-group rounded p-2 me-0 mb-2">
<a class="circle" tabindex="-1" data-bs-toggle="popover" data-bs-trigger="focus" data-bs-title="Low Shelf Filter" id="Low Shelf Filter-circle-help" data-bs-content="When used, attenuates low frequency noise below the frequency threshold. If enabled before analysis, the modified audio is sent to the model. If only enabled after analysis, this just affects audio playback">?</a>
<label for="lowShelfFrequency" class="form-label">
Low Shelf filter:
</label>
<a class="circle" tabindex="-1" data-bs-toggle="popover" data-bs-trigger="focus" data-bs-title="Low Shelf Filter" id="Low Shelf Filter-circle-help" data-bs-content="When used, attenuates low frequency noise below the cut-off frequency.">?</a>
<label for="lowShelfFrequency" class="form-label">Cut-off Frequency:</label>
<div class="input-group me-0 p-0">
<input type="range" class="form-control-range w-75" min="0" max="2500" step="100" id="lowShelfFrequency">
<div class="input-group-append">
Expand Down
Loading

0 comments on commit 466f867

Please sign in to comment.