Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 86afd2a

Browse files
Version 2.0.7
Feature-parity with the native 2.0.7 SDK, including the dynamically changeable time-stretching sound parameter.
1 parent 50186d2 commit 86afd2a

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

‎docs.html‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,6 +1498,9 @@ <h3>TimeStretching</h3>
14981498
// Time stretching rate (tempo). 1 means no time stretching. Maximum: 4. Values above 2 or below 0.5 are not recommended on mobile devices with low latency audio due high CPU load and risk of audio dropouts.
14991499
ts.rate = 1.04;
15001500

1501+
// Valid values are: 0 (best to save CPU with slightly lower audio quality), 1 (best for DJ apps, modern and &quot;complete&quot; music), 2 (best for instrumental loops and single instruments). Default: 1.
1502+
ts.sound = 1;
1503+
15011504
// Pitch shift cents, limited from -2400 (two octaves down) to 2400 (two octaves up). Examples: 0 (no pitch shift), -100 (one note down), 300 (3 notes up).
15021505
// When the value if a multiply of 100 and is >= -1200 and <= 1200, changing the pitch shift needs only a few CPU clock cycles. Any change in pitchShiftCents involves significant momentary CPU load otherwise.
15031506
ts.pitchShiftCents = 100;

‎superpowered-worker.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎superpowered.bc‎

43.2 KB
Binary file not shown.

‎superpowered.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /