Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skylander Portal: Play Trap Team Audio #11644

Merged
merged 1 commit into from Mar 14, 2023

Conversation

deReeperJosh
Copy link
Contributor

@deReeperJosh deReeperJosh commented Mar 12, 2023

This PR introduces the ability to play the audio that would normally play through the Trap Team portal speaker via Dolphin.

The Trap Team speaker is 1 channel, so code has been replicated from the Wiimote speaker to duplicate each sample, and play it as stereo audio. The audio data is 16 bit unsigned pcm @ 8khz sample rate.

Here's a video of it working, where the audio you hear from the portal is while the villain is being trapped.

@deReeperJosh deReeperJosh force-pushed the trapteamaudio branch 2 times, most recently from 17381ed to 7c8b4ab Compare March 12, 2023 09:23
Copy link
Contributor

@AdmiralCurtiss AdmiralCurtiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine. Untested.

Asserts and length handling
@deReeperJosh
Copy link
Contributor Author

Will leave this here as well: The Gulper

Probably a better example of how the audio works, you can hear the Villian 'trapped' in the portal, which would normally only play via the Portal Speaker

@AdmiralCurtiss AdmiralCurtiss merged commit 43a5d50 into dolphin-emu:master Mar 14, 2023
14 checks passed
@deReeperJosh deReeperJosh deleted the trapteamaudio branch March 14, 2023 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants