Mercurial > hg > ugly-duckling
diff src/app/app.module.ts @ 347:82d476b976e0
Move waveform.component and remove all logic not concerned with rendering an audio buffer as a waveform. Wire app in app.component.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Thu, 25 May 2017 17:55:29 +0100 |
parents | f0c9c9d860e7 |
children | c8a585de46ac |
line wrap: on
line diff
--- a/src/app/app.module.ts Thu May 25 17:52:46 2017 +0100 +++ b/src/app/app.module.ts Thu May 25 17:55:29 2017 +0100 @@ -4,7 +4,7 @@ import { HttpModule } from '@angular/http'; import { AppComponent } from './app.component'; -import { WaveformComponent } from './waveform/waveform.component'; +import { WaveformComponent } from './visualisations/waveform/waveform.component'; import { AudioFileOpenComponent } from './audio-file-open/audio-file-open.component'; import { PlaybackControlComponent } from './playback-control/playback-control.component'; import { @@ -29,6 +29,8 @@ import {ProgressBarComponent} from './progress-bar/progress-bar'; import {UglyMaterialModule} from './ugly-material.module'; import {Observable} from 'rxjs/Observable'; +import {PlayHeadComponent} from './playhead/playhead.component'; +import {LivePlayHeadComponent} from './playhead/live-play-head.component'; export function createAudioContext(): AudioContext { return new ( @@ -114,7 +116,9 @@ ProgressSpinnerComponent, AnalysisItemComponent, NotebookFeedComponent, - ProgressBarComponent + ProgressBarComponent, + PlayHeadComponent, + LivePlayHeadComponent ], imports: [ BrowserModule,