<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Rick,
<br>
<br>
It's another piece, but look up HDMI headless adapter on Amazon.
<br>
They are pretty cheap, they emulate a HDMI device.
<br>
<br>
I've used them for Macs when VNCing to the machine. It allows full
1080p display over VNC. In some cases that will turn on additional
graphics acceleration.
<br>
<br>
<blockquote type="cite" style="color: #000000;">----------------------------------------------------------------------
<br>
<br>
Message: 1
<br>
Date: Sun, 11 Jun 2017 19:28:21 -0400
<br>
From: Rick Hornsby <a class="moz-txt-link-rfc2396E"
href="mailto:richardjhornsby@gmail.com"><richardjhornsby@gmail.com></a>
<br>
Subject: Re: [colug-432] raspberrypi python audio playback
<br>
To: Central OH Linux User Group - 432xx <a
class="moz-txt-link-rfc2396E" href="mailto:colug-432@colug.net"><colug-432@colug.net></a>
<br>
Message-ID:
<br>
<a class="moz-txt-link-rfc2396E"
href="mailto:CAP--A0=Atx413+o+Qoj=PJn_5vpVoP+jsLh=1cYFOJw1rhQavg@mail.gmail.com"><CAP--A0=Atx413+o+Qoj=PJn_5vpVoP+jsLh=1cYFOJw1rhQavg@mail.gmail.com></a>
<br>
Content-Type: text/plain; charset="utf-8"
<br>
<br>
Thanks for the feedback and suggestions.
<br>
<br>
After an Amazon misfire, I ordered a different ($30) HDMI
convertor. Bad
<br>
news - to function, this device needs to sync with something on
the HDMI
<br>
OUT side like a TV or monitor. It won't send audio to the 3.5mm or
SPDIF
<br>
unless that happens first. After it syncs, you can unplug the HDMI
out, but
<br>
that means leaving it plugged into a display all the time so that
it
<br>
initializes correctly on power up. That's no good.
<br>
<br>
I ended up changing the script to use python3, and SimpleAudio
(py3 only?)
<br>
instead of pygame. It's missing a couple of features I wanted from
pygame
<br>
(audio fade), but I made it work anyways. Both SimpleAudio and
pygame are
<br>
inherently already threaded and support start/stop methods, so I
didn't
<br>
have to worry about that. SimpleAudio, however, seems to honor the
amixer
<br>
setting of using the 3.5mm jack.
<br>
<br>
It's nearly time to figure out how to solder this thing to a
permaproto
<br>
board.
<br>
<br>
</blockquote>
</body>
</html>