I'm attaching a draft of the hardware guide for the 25pin input. I've also added some sample scripts using the expander at the bottom of this reply.
Currently, the expander isn't supported in BrightAuthor, but works with playlists, csv files, and scripting of course.
What are the audio limitations on Monaco?
1. HDMI and onboard analog run at the same sample rate. That means that if you want to play a video clip with 48kHz AC3 out HDMI, then your MP3 files for onboard analog output should be 48kHZ too.
2. No AC-3 decode
3. No limit on where simultaneous streams are played to - different sample rates and formats can be sent to each expander output e.g. video MP2 at 48kHz to one, MP3 44.1kHz to the others.
4. Simultaneous playback of 1 video stream and up to 3 audio streams is the current limit, though it is dependent on a number of factors like video bitrate. The 3 audio streams here includes one for the video if there is one, which means that only 2 MP3s could be played at the same time as a video.
SetAudioOutput(roInt audioout)
In a playlist, this is the "audiooutput" keyword. In a csv file, this would be "videoplayeraudiooutput" or "audioplayeraudiooutput".
The audio outputs are similar, though not identical to HD2000.
0 - Analog. Output to onboard analog output or one of the 3 expander analog outputs.
1 - USB. Output to USB audio, this is largely untested as yet.
2 - Digital PCM. For playing decoded audio to either HDMI or expander SPDIF e.g. decoded MP3 files
3 - Digital raw. For playing undecoded audio to either HDMI or expander SPDIF e.g. AC-3
4 - Simultaneous onboard digital and onboard analog. I'm not aiming to do this for expander, only for onboard audio.
MapStereoOutput(roInt stereo_mapping)
This picks which analog stereo output is used from the 4 available:
0 - Onboard analog jack
1 - Expander left jack
2 - Expander centre jack
3 - Expander right jack
MapDigitalOutput(roInt hdmi_or_spdif)
This is new and isn't currently listed in csv files or playlists. But, this can be fixed easily.
This picks which digital output is used from the 2 available:
0 - HDMI
1 - Expander SPDIF
Power Adapter Use:
We recommend always using the included power adapter.
Dipswitches:
We have 8 DIP switches 1-8. Switches 6,7 and 8 control analog output mode, you can switch between Line Driver mode
(2Vrms, 600Ohm) and Headphone Mode (1.7Vrms, 16Ohm load)
The other DIP switches don’t do anything; however, their state can be read with BrightScript.
HardwareGuide.pdfSample Expander ScriptsPlease rename the script to "autorun.brs" before copying to your flash card.