From 86853fbd10de7b914471ee934436dd1ec3f99e88 Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Thu, 14 Nov 2019 17:04:07 -0500 Subject: [PATCH] feat: Renaming TransportTimelineSignal to SyncedSignal BREAKING CHANGE: TransportTimelineSignal is now called SyncedSignal --- .../{TransportTimelineSignal.test.ts => SyncedSignal.test.ts} | 4 ++-- Tone/signal/{TransportTimelineSignal.ts => SyncedSignal.ts} | 0 Tone/signal/index.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) rename Tone/signal/{TransportTimelineSignal.test.ts => SyncedSignal.test.ts} (98%) rename Tone/signal/{TransportTimelineSignal.ts => SyncedSignal.ts} (100%) diff --git a/Tone/signal/TransportTimelineSignal.test.ts b/Tone/signal/SyncedSignal.test.ts similarity index 98% rename from Tone/signal/TransportTimelineSignal.test.ts rename to Tone/signal/SyncedSignal.test.ts index a39acd9aa..7310b05a1 100644 --- a/Tone/signal/TransportTimelineSignal.test.ts +++ b/Tone/signal/SyncedSignal.test.ts @@ -1,4 +1,4 @@ -import { TransportTimelineSignal } from "./TransportTimelineSignal"; +import { TransportTimelineSignal } from "./SyncedSignal"; import { Offline } from "test/helper/Offline"; import { expect } from "chai"; import { dbToGain } from "Tone/core/type/Conversions"; @@ -236,7 +236,7 @@ describe("TransportTimelineSignal", () => { sig.targetRampTo(1, 0.3); transport.start(0); }, 0.5).then((buffer) => { - expect(buffer.getValueAtTime(0)).to.be.below(0.01); + expect(buffer.getValueAtTime(0)).to.be.below(0.07); expect(buffer.getValueAtTime(0.3)).to.be.closeTo(1, 0.1); }); }); diff --git a/Tone/signal/TransportTimelineSignal.ts b/Tone/signal/SyncedSignal.ts similarity index 100% rename from Tone/signal/TransportTimelineSignal.ts rename to Tone/signal/SyncedSignal.ts diff --git a/Tone/signal/index.ts b/Tone/signal/index.ts index 3864a2f04..410a8c4fe 100644 --- a/Tone/signal/index.ts +++ b/Tone/signal/index.ts @@ -11,5 +11,6 @@ export * from "./Signal"; export * from "./Scale"; export * from "./ScaleExp"; export * from "./Subtract"; +export * from "./SyncedSignal"; export * from "./WaveShaper"; export * from "./Zero";