log

age author description
Sun, 04 Jun 2017 20:17:43 +0100 Lucas Thompson A play-head which attaches itself to WavesComponents.
Sun, 04 Jun 2017 20:16:39 +0100 Lucas Thompson Publicly expose height and addLayer (for bodging basically). Return a callback when adding a layer for removing it later.
Sun, 04 Jun 2017 20:15:20 +0100 Lucas Thompson Angular DI can't figure out these are derived from WavesComponent. Add provider for base.
Sat, 03 Jun 2017 09:59:56 +0100 Lucas Thompson Alter Plot types slightly, moving yDomain to top level.
Fri, 02 Jun 2017 19:12:38 +0100 Lucas Thompson Have animation controlled by a prop, clearing up animation tasks when set to false. Wire up accordingly.
Fri, 02 Jun 2017 19:10:47 +0100 Lucas Thompson Change curve component to not render vertical scale / highlight by default. Delegate to child TrackComponent for that work, so the curve can be used like tracks, notes etc.
Fri, 02 Jun 2017 19:09:31 +0100 Lucas Thompson Cleanup animation tasks on destruction.
Fri, 02 Jun 2017 19:08:42 +0100 Lucas Thompson Return a callback when adding an animation task, allowing it to be removed.
Fri, 02 Jun 2017 17:24:33 +0100 Lucas Thompson Who am I kidding? Graduate the bodge.
Fri, 02 Jun 2017 16:51:36 +0100 Lucas Thompson Refactor to use render loop service
Fri, 02 Jun 2017 16:47:38 +0100 Lucas Thompson Introduce a render loop service / singleton for work which needs to be animated with the play position. Use it for animating the cross-high. Much dupe with the live-play-head, which should be refactored.
Thu, 01 Jun 2017 23:04:39 +0100 Lucas Thompson Revert changes relating to bodging unit onto the shaped features. Now return from the extraction service and add to the analysis item, and send into the cross-hair component with a prop.
Thu, 01 Jun 2017 18:56:06 +0100 Lucas Thompson Latest dependencies
Thu, 01 Jun 2017 18:55:55 +0100 Lucas Thompson Use the cross hair layer for notes, tracks and curve. This involved bodging in unit to ShapedFeatureData, which isn't particularly easy to do because this isn't an encapsulated type. Need to come back to improving this, as I am monkey-patching a unit property onto Arrays etc.
Thu, 01 Jun 2017 16:26:52 +0100 Lucas Thompson cross-hair-inspector component, much the same technique used for the vertical-scale. Change curve to use it. Doesn't currently animate.
Thu, 01 Jun 2017 16:25:48 +0100 Lucas Thompson Additional interfaces, VerticalScaleRenderer & VerticalValueInspectorRenderer. Implement another subclass of WavesComponent, InspectableVerticallyBoundedComponent concerned with highlighting, change tracks and notes components accordingly. These class hierarchies make me feel a little ill.
Thu, 01 Jun 2017 16:20:18 +0100 Lucas Thompson Add HighlightLayer typings
Thu, 01 Jun 2017 10:06:31 +0100 Lucas Thompson Implement VerticallyBoundedWavesComponent for tracks, notes. Wrap curves in a vertical-scale component, and use scales by default for supported components dynamically instantiated in analysis-item.
Thu, 01 Jun 2017 10:04:41 +0100 Lucas Thompson Introduce interface VerticallyBounded, which describes a component with a vertical range and the ability to render a scale on itself. VerticallyBoundedWavesComponent partially implements this interface, in that it adds a ScaleLayer to itself - derived instances provide the means of obtaining the scale.
Thu, 01 Jun 2017 10:02:37 +0100 Lucas Thompson Introduce vertical-scale component which is a polymorphic container, the child components know how to render their own scales.
Wed, 31 May 2017 19:31:56 +0100 Lucas Thompson Some visibility changes to properties
Wed, 31 May 2017 19:29:51 +0100 Lucas Thompson Some visibility changes and unnecessary method args.
Wed, 31 May 2017 19:24:21 +0100 Lucas Thompson Remove redundant imports.
Wed, 31 May 2017 19:21:02 +0100 Lucas Thompson ViewChild properties are, of course, inherited (why wouldn't they be?!). So, further de-duping.
Wed, 31 May 2017 19:14:46 +0100 Lucas Thompson Refactor based on pattern which emerged when implementing multiple components. Still some very obvious dupe regarding the ElementRef stuff, I don't think ViewChild decorated props are inherited.. but I haven't actually verified that.
Wed, 31 May 2017 17:33:23 +0100 Lucas Thompson Basic grid, bringing in old code from waveform.component.ts. Issues with display when rendered when zoom level / offset is non zero. Same for some other components too, probably needs to be solved upstream in waves-ui-piper.
Wed, 31 May 2017 17:09:36 +0100 Lucas Thompson Rig up instants and add dynamic colour selection to feature components. Structure of a derived WaveComponent is now pretty clear, some refactoring is in order.
Wed, 31 May 2017 15:15:55 +0100 Lucas Thompson Basic notes component in place. Room for reducing dupe across these WaveComponent derived components, but will wait until all of them are implemented to see the common logic.
Wed, 31 May 2017 14:49:46 +0100 Lucas Thompson Move colour prop to base class
Wed, 31 May 2017 13:59:29 +0100 Lucas Thompson Lint
Wed, 31 May 2017 13:10:29 +0100 Lucas Thompson Use module scoped id generator instead of passing in an id to components.
Wed, 31 May 2017 12:55:03 +0100 Lucas Thompson Use module scoped id generator instead of passing in an id to components.
Wed, 31 May 2017 12:38:18 +0100 Lucas Thompson Correct return type
Wed, 31 May 2017 12:35:35 +0100 Lucas Thompson Update waves-ui types with LayerTimeContext and linear scale
Wed, 31 May 2017 02:44:14 +0100 Lucas Thompson Remove unnecessary style template
Wed, 31 May 2017 02:42:45 +0100 Lucas Thompson Move curve logic to a tracks component, and use that component to create a curve component.
Tue, 30 May 2017 23:21:13 +0100 Lucas Thompson Remove changes to offset and zoom when adding layer.
Tue, 30 May 2017 23:01:12 +0100 Lucas Thompson Tracks. With slight modifications, ugly-curve is essentially ugly-tracks. Some refactoring is perhaps in order.
Tue, 30 May 2017 22:50:49 +0100 Lucas Thompson Forward Tracks features.
Tue, 30 May 2017 22:15:42 +0100 Lucas Thompson Refactor the curve reshaping stuff to a utility function.
Tue, 30 May 2017 18:19:55 +0100 Lucas Thompson Clear when updating, not functional difference in this app as it stands because components only receive inputs once atm.
Tue, 30 May 2017 18:14:05 +0100 Lucas Thompson Core logic copied over from old waveform.component.ts for drawing curve. Needs refactoring as some logic is used for tracks. No highlight or vertical scale yet.
Tue, 30 May 2017 18:13:12 +0100 Lucas Thompson Add css classes to the container divs for ngIf and ngSwitch to ensure they fill the height of their parents. The template needs tidying up to avoid these unnecessary divs.
Tue, 30 May 2017 18:11:55 +0100 Lucas Thompson Avoid changing timeContext properties unless duration is explicitly set. Also propagate changes to all timeline tracks.
Tue, 30 May 2017 15:08:34 +0100 Lucas Thompson Set up some logic for rendering different items. Might belong somewhere else.
Tue, 30 May 2017 15:08:15 +0100 Lucas Thompson Populate item with features when extracted. This should be moved to happen in a subscription.
Tue, 30 May 2017 15:07:32 +0100 Lucas Thompson Change AnalysisItem type slightly to actually contain the feature data. Improve type guards a tad.
Tue, 30 May 2017 15:06:37 +0100 Lucas Thompson Move typings out of waveform folder
Tue, 30 May 2017 15:06:11 +0100 Lucas Thompson Add skeleton for a curve component.
Fri, 26 May 2017 21:11:05 +0100 Lucas Thompson Id will always be present
Fri, 26 May 2017 18:30:58 +0100 Lucas Thompson Explicitly state the change detection strategy, despite the fact it will already be OnPush here because its parent is.
Fri, 26 May 2017 18:28:54 +0100 Lucas Thompson Shuffle some stuff around, putting generic stuff in the base class.
Fri, 26 May 2017 18:20:02 +0100 Lucas Thompson There's nothing waveform specific about these, they'll likely be used for other waves-ui components.
Fri, 26 May 2017 18:17:31 +0100 Lucas Thompson Introduce an abstract base class for components using waves-ui.
Fri, 26 May 2017 13:10:18 +0100 Lucas Thompson fix playhead regression. TypeScript doesn't seem to catch errors for non existent properties used as values for attribute directives.
Fri, 26 May 2017 13:04:07 +0100 Lucas Thompson Remove debug print
Fri, 26 May 2017 13:03:55 +0100 Lucas Thompson Fix erroneous type guard caused by blindly copy pasting.
Fri, 26 May 2017 12:59:41 +0100 Lucas Thompson Split AnalysisItem out into individual types for root audio items and features. This is messy as is, these need revising and should perhaps be actual concrete types with methods.
Thu, 25 May 2017 17:57:03 +0100 Lucas Thompson Restore some of the feature related logic from waveform.component into a utilities module. Introduce some additional types for representing reshaped features. A work in progress.
Thu, 25 May 2017 17:56:14 +0100 Lucas Thompson Wire up as necessary to push the handlers down the tree. This is unfinished.