A class of fishing lures that imitate fish
An ASP.NET Core application that emulates the Yamaha MusicCast protocol.
Emulates a Yamaha MusicCast speaker by serving and responding REST HTTP on multiple ports and UDP.
Current status is
[almost there]ios MusicCast app can discover the fake Swimbait server
[todo]swimbait server can respond to and receive requests to stream audio
See its readme file
Client for controlling a MusicCast speaker
Swimbait requires some environment variables:
Restart Visual Studio after setting these in a powershell prompt
# IP Address of real MusicCast speaker. Used for man in the middle replays. [Environment]::SetEnvironmentVariable("Swimbait:RelayHost", "192.168.1.213", "User") # Folder for activity log [Environment]::SetEnvironmentVariable("Swimbait:ReplayLogFolder", "D:\Downloads\Swimbait", "User")
- Run the
- Test the HTTP server by browsing to
- Open the MusicCast app on your phone
- Connect to a new device
Ca few times into the server console while the app is waiting for a connection
- The MusicCast app should think it has found a MusicCast speaker
- The app will respond with an error. (More work required)
The doc folder contains various captures and collected information, including the Yamaha authored Yamaha Extended Control API Specification (Basic) and (Advanced) and which describes much of the MusicCast REST API.
There is some more reading at this blog entry