Closed
Bug 1074765
Opened 11 years ago
Closed 11 years ago
noise in PeriodicWave
Categories
(Core :: Web Audio, defect)
Tracking
()
People
(Reporter: karlt, Assigned: karlt)
References
()
Details
Attachments
(4 files)
|
3.31 KB,
patch
|
ehsan.akhgari
:
feedback+
|
Details | Diff | Splinter Review |
|
1.91 KB,
patch
|
rillian
:
review+
|
Details | Diff | Splinter Review |
|
1.99 KB,
patch
|
rillian
:
review+
|
Details | Diff | Splinter Review |
|
1.80 KB,
patch
|
rillian
:
review+
abillings
:
approval-mozilla-aurora+
abillings
:
approval-mozilla-beta+
abillings
:
approval-mozilla-esr31+
bajaj
:
approval-mozilla-b2g30+
bajaj
:
approval-mozilla-b2g32+
|
Details | Diff | Splinter Review |
| Assignee | ||
Comment 1•11 years ago
|
||
Checking that Ehsan is happy for this test to be modified.
Attachment #8497421 -
Flags: feedback?(ehsan.akhgari)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → karlt
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•11 years ago
|
||
No change in behavior here.
The code change is mostly to clarify what can change in the loop.
Attachment #8497422 -
Flags: review?(giles)
| Assignee | ||
Comment 3•11 years ago
|
||
This makes phase consistent with the expectations of the test, the sine
OscillatorType, and Blink's custom OscillatorType.
Attachment #8497423 -
Flags: review?(giles)
| Assignee | ||
Comment 4•11 years ago
|
||
This is the main fix.
The improvement can be seen on Ralph's nice demo at
https://people.mozilla.org/~rgiles/2013/osc07.html
Attachment #8497425 -
Flags: review?(giles)
Comment 5•11 years ago
|
||
Comment on attachment 8497421 [details] [diff] [review]
test PeriodicWave output
Review of attachment 8497421 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good!
Attachment #8497421 -
Flags: feedback?(ehsan.akhgari) → feedback+
| Assignee | ||
Comment 6•11 years ago
|
||
I tweaked some of the wave coefficients in the test to give enough high frequency components so that fuzzyCompare() in webaudio.js noticed the improvement in interpolation.
https://tbpl.mozilla.org/?tree=Try&rev=881c65f85bdb
https://tbpl.mozilla.org/?tree=Try&rev=7b489e208387
Comment 7•11 years ago
|
||
Comment on attachment 8497422 [details] [diff] [review]
move const periodicWaveSize multiplier out of loop
Review of attachment 8497422 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/media/webaudio/OscillatorNode.cpp
@@ +383,1 @@
>
Might as well remove the trailing whitespace while you're here.
Attachment #8497422 -
Flags: review?(giles) → review+
Updated•11 years ago
|
Attachment #8497423 -
Flags: review?(giles) → review+
Comment 8•11 years ago
|
||
Comment on attachment 8497425 [details] [diff] [review]
use greater weight for nearer sample in PeriodicWave interpolation
Review of attachment 8497425 [details] [diff] [review]:
-----------------------------------------------------------------
Good catch.
Attachment #8497425 -
Flags: review?(giles) → review+
| Assignee | ||
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5330567d85ba
https://hg.mozilla.org/integration/mozilla-inbound/rev/7e4ce5cbef3e
https://hg.mozilla.org/integration/mozilla-inbound/rev/b083e83ba13a
https://hg.mozilla.org/integration/mozilla-inbound/rev/b39629d18e66
Flags: in-testsuite+
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5330567d85ba
https://hg.mozilla.org/mozilla-central/rev/7e4ce5cbef3e
https://hg.mozilla.org/mozilla-central/rev/b083e83ba13a
https://hg.mozilla.org/mozilla-central/rev/b39629d18e66
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
| Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 8497425 [details] [diff] [review]
use greater weight for nearer sample in PeriodicWave interpolation
Please see comment 11.
Attachment #8497425 -
Flags: approval-mozilla-esr31?
Attachment #8497425 -
Flags: approval-mozilla-beta?
Attachment #8497425 -
Flags: approval-mozilla-b2g30?
Attachment #8497425 -
Flags: approval-mozilla-b2g28?
Attachment #8497425 -
Flags: approval-mozilla-aurora?
| Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 8497425 [details] [diff] [review]
use greater weight for nearer sample in PeriodicWave interpolation
28 is EOL.
Attachment #8497425 -
Flags: approval-mozilla-b2g28? → approval-mozilla-b2g32?
| Assignee | ||
Updated•11 years ago
|
Blocks: CVE-2014-1577
Updated•11 years ago
|
Attachment #8497425 -
Flags: approval-mozilla-esr31?
Attachment #8497425 -
Flags: approval-mozilla-esr31+
Attachment #8497425 -
Flags: approval-mozilla-beta?
Attachment #8497425 -
Flags: approval-mozilla-beta+
Attachment #8497425 -
Flags: approval-mozilla-aurora?
Attachment #8497425 -
Flags: approval-mozilla-aurora+
Comment 14•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/f30c30258703
https://hg.mozilla.org/releases/mozilla-aurora/rev/d57970543015
https://hg.mozilla.org/releases/mozilla-aurora/rev/8a61e39831f0
https://hg.mozilla.org/releases/mozilla-aurora/rev/2b7efe173370
https://hg.mozilla.org/releases/mozilla-beta/rev/dfbd36a37290
https://hg.mozilla.org/releases/mozilla-beta/rev/67ba7d820ddf
https://hg.mozilla.org/releases/mozilla-beta/rev/aaa0553c45c6
https://hg.mozilla.org/releases/mozilla-beta/rev/560bb9f18e5a
https://hg.mozilla.org/releases/mozilla-esr31/rev/667bf858030d
https://hg.mozilla.org/releases/mozilla-esr31/rev/77b807c33cdd
https://hg.mozilla.org/releases/mozilla-esr31/rev/47e59b5dbcd0
https://hg.mozilla.org/releases/mozilla-esr31/rev/4e5404763aba
status-b2g-v1.4:
--- → affected
status-b2g-v2.0:
--- → affected
status-b2g-v2.0M:
--- → affected
status-b2g-v2.1:
--- → fixed
status-b2g-v2.2:
--- → fixed
status-firefox32:
--- → wontfix
status-firefox33:
--- → fixed
status-firefox34:
--- → fixed
status-firefox35:
--- → fixed
status-firefox-esr31:
--- → fixed
Updated•11 years ago
|
Attachment #8497425 -
Flags: approval-mozilla-b2g32?
Attachment #8497425 -
Flags: approval-mozilla-b2g32+
Attachment #8497425 -
Flags: approval-mozilla-b2g30?
Attachment #8497425 -
Flags: approval-mozilla-b2g30+
Comment 15•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/e3a32d59bc92
https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/f9262fbb614a
https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/4a939bbaa528
https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/8f3b3a413900
https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/ca0a97fcc525
https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/df1d430d494a
https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/3f7da5857676
https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/34a109087197
Comment 16•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•