Music speaker Arcade Edge connector ?

I have no problem using pin 0 with Microbit to output music sounds to a speaker on a breadboard, 8 Ohm ;1/2 watt. So what’s the trick to do the same with edge connected Arcade console (Meowbit) ? If I include the command: on A button press, Analog write P0 to1023; then I do hear a click on A button press from Meowbit to speaker so I know there is a connection. How do I add music to speaker ? Thanks.