AminetAminet
Search:
86004 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

mus/misc/BoingCast.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:AHI audio to AirPlay 2 and Google Cast
Author:Andreas Wendorf (Akustikrausch)
Uploader:akustikrausch gmail com (Andreas Wendorf)
Type:mus/misc
Version:1.0.0
Architecture:m68k-amigaos >= 3.0.0
Date:2026-12-02
Requires:68020+, AHI 4, bsdsocket TCP/IP
Download:mus/misc/BoingCast.lha - View contents
Readme:mus/misc/BoingCast.readme
Downloads:0

BoingCast sends the Amiga's sound over the home network to AirPlay 2 and
Google Cast receivers: Apple TV (4th generation and later), HomePod, a Mac
(macOS AirPlay Receiver), AirPlay 2 speakers, AirPlay 1 receivers,
Chromecast, Google TV and Android TV with Chromecast built in.

It is a commodity. A small button with a checkered ball in the Workbench
title bar opens a window with the receivers found on the network. Pick one,
and every program that plays to the AHI audio mode
"BoingCast: 44.1 kHz 16 bit stereo" plays there. The window is also
reached through the Tools menu, the hotkey (ctrl alt b) and the ARexx port
BOINGCAST. From the Shell: BoingCast <receiver> <file.wav>, or
BoingCast LIST.


What it does
------------

- AirPlay 2: HomeKit pairing (SRP-6a 3072 bit, X25519, Ed25519), an
  encrypted control channel, and the sound as ALAC packets (lossless,
  44.1 kHz, 16 bit, stereo), each sealed with ChaCha20-Poly1305.
- Apple TV: shows a four-digit code once; BoingCast stores the pairing in
  ENVARC:BoingCast/. A HomePod needs no code.
- Mac: no code when its AirPlay Receiver allows anyone on the same network.
  It may ask on its screen whether to accept the connection. Click
  "Accept" there; BoingCast waits 30 seconds for that. Set to "Current
  User" or with a password, it asks for a code.
- Google Cast: no pairing. The receiver starts Google's media player, shows
  a BoingCast picture, and fetches the sound from a small HTTP server in
  BoingCast as uncompressed 44.1 kHz 16-bit WAV. The TV shows a title: the
  WAV file's name, a text set over ARexx, or (tooltype TITLE=HIPPO)
  HippoPlayer's module name.
- Receivers are found by mDNS (needs a stack with multicast, for example
  Roadshow) when the window opens and once a minute while it is open.
  Receivers can also be added by address.
- Bass (up to +12 dB) and treble (-12 to +6 dB) for the receiver. Off, the
  sound goes out bit for bit.
- Mirror mode: plays on the receiver and on the Amiga's own output at the
  same time, in step: through any AHI card, picked by name, or directly on
  an AmiGUS card. With "Play here anyway", it plays there without a
  receiver too. A slider (-500..+1000 ms) matches the two by ear.
- AirPods: pair them with an Apple TV (Settings, Remotes and Devices,
  Bluetooth), then stream BoingCast to that Apple TV, and the Amiga plays
  in the AirPods.
- PowerPC: on a BlizzardPPC or CyberStorm PPC with WarpOS, the pairing
  calculations (and, where it is faster, the stream encryption) run on the
  PowerPC. Each PowerPC calculation must give known results first.
- WAV files: drop one on the AppIcon, use Playback > Play file..., or
  ARexx PLAY.
- 15 languages: English, Deutsch, Polski, Francais, Espanol, Italiano,
  Suomi, Svenska, Dansk, Cestina, Slovencina, Magyar, Russian, Greek,
  Turkce. The translations are drafts; corrections are welcome.

The sound arrives about two seconds late (the receivers buffer). That is
fine for music and demos, not for playing a game by ear.

The AirPlay part is a C99 port of airplay2-sender-cpp by the same author,
which was tested against Apple TV 4K, HomePod and macOS receivers.
BoingCast itself has run on an A1200 (PiStorm32 Lite) with an Apple TV 4K,
the macOS receiver and a Google TV.


Requirements
------------

- AmigaOS 3.0 or newer, AHI 4 or newer.
- 68020 or better. Recommended for AirPlay 2: 68040 at 40 MHz or faster,
  68060 or PiStorm. Recommended for Google Cast and AirPlay 1, which do not
  encrypt the sound: 68030 at 25 MHz or faster.
- AirPlay 1 works with shairport-sync, the Apple TV 3 and older AirPlay
  speakers; current Apple devices need AirPlay 2.
- A TCP/IP stack with bsdsocket.library and a network of about 180 KB/s
  (Ethernet, WiFi; a plipbox is too slow).


Installation
------------

Unpack the archive and double-click Install. It copies the commodity to
SYS:WBStartup or SYS:Tools/Commodities, the AHI driver to DEVS:AHI, its
mode file to DEVS:AudioModes, the catalogs to LOCALE:Catalogs and the
manual to HELP:; with WarpOS also BoingCast.ppc. Then choose the audio mode
"BoingCast: 44.1 kHz 16 bit stereo" in the AHI preferences for the unit
your player uses. Run Install again and choose "Remove" to uninstall.

The manual (BoingCast.guide) covers the window, settings, tooltypes, ARexx,
the Shell and common problems.


License
-------

Apache License 2.0. (c) 2026 Andreas Wendorf (Akustikrausch).
Source: https://github.com/akustikrausch/boingcast

Built on the author's own projects:
- AirPlay engine: airplay2-sender-cpp by Andreas Wendorf (Akustikrausch),
  Apache License 2.0, https://github.com/akustikrausch/airplay2-sender-cpp
- Google Cast: from FXChainPlayer by Andreas Wendorf (Akustikrausch),
  https://github.com/akustikrausch/FXChainPlayer-Releases
- AmiGUS output: after ProTracker 4.1 by Andreas Wendorf (Akustikrausch),
  https://github.com/akustikrausch/protracker4

Third-party parts: pyatv (MIT), pair_ap (MIT), orlp/ed25519 (zlib),
poly1305-donna (public domain); see NOTICE and THIRD-PARTY-NOTICES.txt.
The AmiGUS register layout follows the AmiGUS AHI driver's hardware header
(christoph-fassbach/amigaos-AmiGUS, LGPL); no code of it is used.

BoingCast is not affiliated with, authorized or endorsed by Apple Inc. or
Google LLC. AirPlay, Apple TV, HomePod, HomeKit and macOS are trademarks of
Apple Inc.; Google Cast, Chromecast, Google TV and Android TV are
trademarks of Google LLC. They are used only to describe compatibility.


Contents of mus/misc/BoingCast.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                   2276    2276 100.0% -lh0- 509b Dec  3 00:21 BoingCast.info
[Amiga]                 325076  325076 100.0% -lh0- 5dc7 Dec  3 00:21 BoingCast/BoingCast
[Amiga]                  29085   29085 100.0% -lh0- 4a4c Dec  3 00:21 BoingCast/BoingCast.guide
[Amiga]                   2420    2420 100.0% -lh0- 3c38 Dec  3 00:21 BoingCast/BoingCast.guide.info
[Amiga]                   2215    2215 100.0% -lh0- b6fc Dec  3 00:21 BoingCast/BoingCast.info
[Amiga]                  78992   78992 100.0% -lh0- 18c5 Dec  3 00:21 BoingCast/BoingCast.ppc
[Amiga]                 232908  232908 100.0% -lh0- 2b40 Dec  3 00:21 BoingCast/BoingCastBench
[Amiga]                   6589    6589 100.0% -lh0- c46b Dec  3 00:21 BoingCast/Install
[Amiga]                   2598    2598 100.0% -lh0- 0f90 Dec  3 00:21 BoingCast/Install.info
[Amiga]                  11358   11358 100.0% -lh0- 19ee Dec  3 00:21 BoingCast/LICENSE
[Amiga]                   1564    1564 100.0% -lh0- 7dee Dec  3 00:21 BoingCast/NOTICE
[Amiga]                   4712    4712 100.0% -lh0- c4b9 Dec  3 00:21 BoingCast/THIRD-PARTY-NOTICES.txt
[Amiga]                   4356    4356 100.0% -lh0- bc49 Dec  3 00:21 BoingCast/Catalogs/czech/BoingCast.catalog
[Amiga]                   4344    4344 100.0% -lh0- 2ec9 Dec  3 00:21 BoingCast/Catalogs/dansk/BoingCast.catalog
[Amiga]                   4674    4674 100.0% -lh0- 8c7e Dec  3 00:21 BoingCast/Catalogs/deutsch/BoingCast.catalog
[Amiga]                   4682    4682 100.0% -lh0- b855 Dec  3 00:21 BoingCast/Catalogs/espa?ol/BoingCast.catalog
[Amiga]                   4648    4648 100.0% -lh0- 0d61 Dec  3 00:21 BoingCast/Catalogs/fran?ais/BoingCast.catalog
[Amiga]                   4544    4544 100.0% -lh0- 3efc Dec  3 00:21 BoingCast/Catalogs/greek/BoingCast.catalog
[Amiga]                   4620    4620 100.0% -lh0- 9ab3 Dec  3 00:21 BoingCast/Catalogs/italiano/BoingCast.catalog
[Amiga]                   4406    4406 100.0% -lh0- 2435 Dec  3 00:21 BoingCast/Catalogs/magyar/BoingCast.catalog
[Amiga]                   4454    4454 100.0% -lh0- 17a0 Dec  3 00:21 BoingCast/Catalogs/polski/BoingCast.catalog
[Amiga]                   4434    4434 100.0% -lh0- 8ca5 Dec  3 00:21 BoingCast/Catalogs/russian/BoingCast.catalog
[Amiga]                   4390    4390 100.0% -lh0- 2170 Dec  3 00:21 BoingCast/Catalogs/slovak/BoingCast.catalog
[Amiga]                   4564    4564 100.0% -lh0- ad32 Dec  3 00:21 BoingCast/Catalogs/suomi/BoingCast.catalog
[Amiga]                   4430    4430 100.0% -lh0- b29d Dec  3 00:21 BoingCast/Catalogs/svenska/BoingCast.catalog
[Amiga]                   4274    4274 100.0% -lh0- 00c7 Dec  3 00:21 BoingCast/Catalogs/t?rk?e/BoingCast.catalog
[Amiga]                   5436    5436 100.0% -lh0- 4393 Dec  3 00:21 BoingCast/Devs/AHI/boingcast.audio
[Amiga]                    240     240 100.0% -lh0- 1d80 Dec  3 00:21 BoingCast/Devs/AudioModes/BOINGCAST
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        28 files  768289  768289 100.0%            Dec  2 23:59
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>