Skip to content

A simple audio playback app for quickly testing audio on a Playdate

License

Notifications You must be signed in to change notification settings

GamesRightMeow/micaudioplayback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mic Audio Playback

A simple audio playback app for quickly testing audio on a Playdate. The app is intended for recording audio over an audio cable but you can also record input from the Playdate's built-in mic.

NOTE: The Playdate SDK does not currently support realtime playback from mic input. This app is designed to first record audio from mic input, then played back over the speaker.

Quickstart

  1. Install the app.
  2. Take your splitter and plug the mic end into your computer's headphone jack.
  3. Plug the female end of your splitter into your AUX cable.
  4. Plug the other end of your AUX cable into your Playdate.
  5. Play audio on your computer i.e. open your game in the Simulator or Pulp.
  6. Press A to start recording audio on your Playdate.
  7. After a few moments, press B to playback the audio over the Playdate's speakers.
  8. Use the crank to adjust the gain/volume.

Install

Download the latest release or build the project locally. Then refer to the official Panic documentation about sideloading games.

Build

If using VS Code, there are 3 tasks configured in tasks.json:

  • buildPdx: builds the PDX from the src folder.
  • runSimulator: runs the built PDX in the Playdate Simulator.
  • buildRunSimulator: runs buildPdx then runSimulator.

Otherwise, see the official Panic documentation on compiling and running a Playdate project.

Supported audio cable

In order to correctly send audio to your Playdate you need two cables:

TRRS 3.5mm AUX cable

TRRS cable

An AUX cable with TRRS (Tip, Ring, Ring, Sleeve) 3.5mm audio connectors on both ends. This type of cable supports sending stereo audio as well as mic input. You can usually identify these cables by checking if there are 3 rings around the tip of the connector.

Mic headphone splitter

Splitter

Also known as a headset splitter or headphone splitter. The cable should have a TRRS female jack on one end, and two TRS male ends on the other. One for mic and one for headphones.

This is needed because the mic line in a TRRS cable does not normally cross over into headphone line. The splitter allows you to re-direct the audio out from your computer to the mic input on your cable which is then routed into the mic input on your Playdate.