comparison 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
comparison
equal deleted inserted replaced
14:2ae70581dafd 15:0571cf863026
1 <input #open type="file" accept="audio/*" (change)="openAudio($event.target.files)"/> 1 <input #open type="file" accept="audio/*" (change)="decodeAudio($event.target.files)"/>
2 <button md-icon-button (click)="openAudioDialog()"> 2 <button md-icon-button (click)="openAudioDialog()">
3 <md-icon>folder_open</md-icon> 3 <md-icon>folder_open</md-icon>
4 </button> 4 </button>