GP2040 icon indicating copy to clipboard operation
GP2040 copied to clipboard

Feature Request: I2C Speaker Support

Open UntrustedRoot opened this issue 2 years ago • 6 comments

My apologizes if there is a more formal way of submitting a feature request.

Feature: I2C speaker support Reason: Stick 3

UntrustedRoot avatar Feb 02 '22 20:02 UntrustedRoot

What is the functionality of the requested feature?

tobiasbp avatar Feb 02 '22 21:02 tobiasbp

What is the functionality of the requested feature?

@tobiasbp This is a joke we had on the Discord server about needing a WAAAAAAAH button, but would be fun and could be a useful feature for accessibility controllers.

FeralAI avatar Feb 02 '22 21:02 FeralAI

@tobiasbp @FeralAI There are some unique use-cases, but I think the average user wouldn't have too much use.

  • As @FeralAI pointed out it could be a useful accessibility feature
  • WII controllers have build in speakers, it could be useful for those looking for this feature
  • Boot up or idle sounds?
  • Sync an audio loop with RGB or OLED display/pattern
  • Having a Waliuigi themed fightstick that confuses your opponent faster then my inability to play most fighters.
  • If possible, headphone jack similar to XBox

It's also a feature that might get some attention, I don't know of any 3rd party boards that do it. (I'm also new to the scene.)

UntrustedRoot avatar Feb 02 '22 21:02 UntrustedRoot

If the Wii supports wired (USB) controllers (With sound), that would be a great feature. I can also see that sound could be useful feature when used for interacting with GP2040 (Get current state etc.).

Is there a standard for audio (From the host) output on USB HID devices (Not just standard speaker)?

As for esoteric feature request: I would love having support for the Rock Band drum/guitar wireless receiver (A USB device) for Wii U/PS3 etc.

tobiasbp avatar Feb 02 '22 21:02 tobiasbp

@tobiasbp I don't know enough to say what is or isn't possible. I don't think the Wii would support this, I was thinking more Wii like for those using emulators.

I believe the USB spec has audio (in and out) as part of it, so it shouldn't be any different then having a Pico show up as a keyboard.

Going back to the joke that was made on Discord, we were talking about just playing a single audio file through a macro.

I'll leave this to the smart people to figure out. I think the first step would be to get SPI speakers working on the board and figure out how to interface with it after.

UntrustedRoot avatar Feb 02 '22 21:02 UntrustedRoot

@tobiasbp I don't know enough to say what is or isn't possible. I don't think the Wii would support this, I was thinking more Wii like for those using emulators.

Then the emulator would have to support controllers that have speakers (But are not just speakers, as in all audio from the host (The PC)). I'm wondering if there is a standard for that?

I believe the USB spec has audio (in and out) as part of it, so it shouldn't be any different then having a Pico show up as a keyboard.

If you don't want the joystick to output all audio from the host, I think you would need some other kind (Not a "normal" speaker) of audio device (Unless the emulator supports two different audio outputs (At the same time), and the one is then configured as the joystick audio). We are getting in to muddy waters I think ;)

tobiasbp avatar Feb 02 '22 22:02 tobiasbp