remove debug logging

This commit is contained in:
Brunon Blok 2023-04-10 17:31:56 +00:00
parent c182f06e14
commit 6d51f53829

View file

@ -204,8 +204,6 @@ class GenerateSpectrogram extends Operation {
/* pad with zeros */ /* pad with zeros */
const pad = new Float64Array(frameSize - chunk.length).fill(0); const pad = new Float64Array(frameSize - chunk.length).fill(0);
chunk = Float64Array.from([...chunk, ...pad]); chunk = Float64Array.from([...chunk, ...pad]);
console.log(chunk);
} }
/* get frequency spectrum */ /* get frequency spectrum */
@ -282,8 +280,6 @@ class GenerateSpectrogram extends Operation {
* @returns {string} HTML * @returns {string} HTML
*/ */
async present(data, args) { async present(data, args) {
console.log(args);
if (!data.length) return ""; if (!data.length) return "";
// check file type // check file type