Mercurial > hg > ugly-duckling
view src/app/audio-file-open/audio-file-open.component.html @ 15:0571cf863026
Hack into the component the decoding of the chosen audio file, this needs refactoring and actually thinking about. Now, how to get the AudioBuffer to the waveform component?
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 27 Oct 2016 14:44:37 +0100 |
parents | 2ae70581dafd |
children | cf4a17efb5d4 |
line wrap: on
line source
<input #open type="file" accept="audio/*" (change)="decodeAudio($event.target.files)"/> <button md-icon-button (click)="openAudioDialog()"> <md-icon>folder_open</md-icon> </button>