{"size": 965, "ext": "js", "max_stars_repo_path": "frontend/static/js/views/FFT.js", "max_stars_repo_name": "romulodobr/projeto-final", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "frontend/static/js/views/FFT.js", "max_issues_repo_name": "romulodobr/projeto-final", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "frontend/static/js/views/FFT.js", "max_forks_repo_name": "romulodobr/projeto-final", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 37.1153846154, "max_line_length": 135, "alphanum_fraction": 0.5533678756}
import AbstractView from "./AbstractView.js";

export default class extends AbstractView {
    constructor(params) {
        super(params);
        this.setTitle("FFT");
    }

    async getHtml() {
        return `
            <h1>Transformada Rápida de Fourier</h1>
            Wikipedia : <a href="https://pt.wikipedia.org/wiki/Transformada_r%C3%A1pida_de_Fourier">Transformada Rápida de Fourier.</a>
            <br>
            <label>FFT BUFFSIZE</label>
            <input type="number" value="64" min="64" max="16384" step="2" id="SamplingCountButton"></input>
            <label>BAR SIZE</label>
            <input type="number" value="2" min="1" id="SamplingCountButtonWidthBar"></input>
            <div class="audio-visualizer">
                <input type="file" id="thefile" accept="audio/*" />
                <br>
                <canvas id="canvas"></canvas>
                <audio id="audio" controls></audio>
            </div>
        `;
    }
}