Mercurial > hg > ugly-duckling
diff src/app/notebook-feed/notebook-feed.component.ts @ 181:7cd274d296a3
Allow for sharing time context amongst some analysis items. This approach may be backed out.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Wed, 22 Mar 2017 11:17:51 +0000 |
parents | 539dd65d56ea |
children | a50feba0d7f0 |
line wrap: on
line diff
--- a/src/app/notebook-feed/notebook-feed.component.ts Wed Mar 22 11:17:12 2017 +0000 +++ b/src/app/notebook-feed/notebook-feed.component.ts Wed Mar 22 11:17:51 2017 +0000 @@ -53,6 +53,7 @@ }) export class NotebookFeedComponent { private _audioBuffer: AudioBuffer; + sharedTimeContext: TimelineTimeContext; @Input() @@ -66,4 +67,8 @@ get audioBuffer(): AudioBuffer { return this._audioBuffer; } + + constructor() { + this.sharedTimeContext = new NotifyingTimeContext(100, 1000); + } }