You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaces the Web Audio API oscillator-based sound synthesis in playForceSoundtrack() with a pre-recorded 8-second cinematic audio file. The previous implementation used sawtooth/triangle oscillators at low frequencies (55/110/165Hz) with extreme compressor settings, producing a distorted and unpleasant sound.
Changes
New audio assets: force-surge.ogg (118KB, Vorbis) and force-surge.mp3 (127KB fallback)
Replaced playForceSoundtrack(): Now plays pre-rendered audio via Audio element with automatic format detection and Web Audio API fallback for autoplay-restricted browsers
Audio Design
8-second cinematic soundtrack with:
Rising sub-bass rumble (25Hz + 37.5Hz) with pulsing build-up
Whoosh frequency sweep (200 to 5000Hz)
Impact transient with low-end punch (65Hz) and high-frequency crack (520Hz)
Rich harmonic layers (C chord: C2-C3-E3-G3-Bb3) with gentle vibrato
Rhythmic pulses and reverb tail
Testing
Click the green dot in the footer 10 times to trigger the Force Surge easter egg
Audio should play clearly without distortion for ~8 seconds
Visual effects (overlay, lightning bolts, XP gain) remain unaffected
- Added og:image:width (1200) and og:image:height (630) meta tags
- Changed default OG image from small logo (next.jpeg) to proper 1200x630
social preview banner (/assets/img/og-default.jpg)
- OG image features 'NextCommunity Developer Directory' branding with
modern dark tech aesthetic and blue (#2563eb) accent theme
ClosesNextCommunity#499
Both index.njk and games.njk had frontmatter explicitly overriding the
default OG image with next.jpeg. Updated to og-default.jpg so the new
1200x630 social preview banner is used across all pages.
…corded cinematic soundtrack
The previous playForceSoundtrack() used raw Web Audio API oscillators
(sawtooth/triangle at 55/110/165Hz) with extreme compressor settings
(ratio 12, threshold -24dB), producing a distorted and unpleasant sound.
This fix replaces oscillator synthesis with a pre-recorded 8-second
cinematic audio file featuring:
- Sub-bass rumble (25Hz + 37.5Hz) with pulsing build-up
- Rising whoosh sweep (200→5000Hz)
- Impact transient at 0.3s with low-end punch and high-frequency crack
- Rich harmonic layers (C chord: C2-C3-E3-G3-Bb3)
- Rhythmic pulses in sustain/intensify phases
- Reverb tail for ambient decay
Audio format: OGG (118KB) with MP3 fallback (127KB).
Plays via Audio element with Web Audio API fallback for autoplay-
restricted browsers.
ClosesNextCommunity#317
We reviewed changes in 937b3eb...8116cc1 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.
AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.
The reason will be displayed to describe this comment to others. Learn more.
Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable
It is considered a best practice to avoid 'polluting' the global scope with variables that are intended to be local to the script. Global variables created from a script can produce name collisions with global variables created from another script, which will usually lead to runtime errors or unexpected behavior. It is mostly useful for browser scripts.
The reason will be displayed to describe this comment to others. Learn more.
'duration' is assigned a value but never used
Found variables that are declared but not used anywhere.
NOTE: In browser applications, DeepSource recommends the use of ESModules over regular text/javascript scripts.
Currently, we don't support variables that are not explicitly exported,
and are injected into other scripts by being included in an HTML file
Closing this PR as it was submitted without prior assignment per the bounty rules (Issue #613: Assignment Mandatory). I have requested assignment on the underlying issue and will reopen/refile after receiving it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the Web Audio API oscillator-based sound synthesis in playForceSoundtrack() with a pre-recorded 8-second cinematic audio file. The previous implementation used sawtooth/triangle oscillators at low frequencies (55/110/165Hz) with extreme compressor settings, producing a distorted and unpleasant sound.
Changes
Audio Design
8-second cinematic soundtrack with:
Testing
Closes #317