The Cybiko computer would make a very good remote for controlling a mp3 Media Player as it has a screen to display the current song, and a keyboard to enter and change songs.
The screen will look something like this.
The architecture overview of this program is very similiar to that of RFTerm
All the control surfaces of the cybiko application are defined using bitmaps, this means that the program can be easily reskinned with different look and feel; although this would require a recompilation of the code to include the new resources it will not require any code changes.
The following control strings will be sent from the cyamp program to the media server to control its operation
When adjusting the volume on the cybiko the graphical control will slide up and down, even thou the control might be completely jammed at either the top or the bottom of the gui widget the correct control sequence will continue to be sent. The reason for this is that you can't guarantee that the volume setting on the cybiko matches that of the server program.
The following keys are available from the main screens; they being either PLAY or SEARCH.
ARROWS | Navigate controls |
---|---|
TAB | Switch modes; PLAY, SEARCH |
SELECT | Locate other Cybiko, nominally one running SerialRelay |
Fn-ENTER | Show Settings page |
ESC | Exit the application |
IF you can't figure out how to connect these applications together then I suggest you go do the RFTerm walkthrough
?? 13-Oct-05 0.3 :: Moved track and track library count to the bottom of the screen, it had problems with large libraries due to the screen real-estate restriction where it was.\\
Improved the desktop icon. !!
?? 9-Oct-05 0.2 :: When the application does not have focus don't update the gui with response data (winamp feedback).
!!
An information string will be sent from the server back to the client every 2sec to keep it up to date with what is playing.
The string will have the syntax %0|%1|%2|%3|%4|%5 a vertical bar is used to delimit each entry
Where %x corresponding to the following entries.
When the search mode is implemented, further data will be needed to be sent. This will consist of the following things.
There are two posibilities.
Integration with http://www.winamp.com is quite straight forward using the serialcontrol plugin.
winampplugins.zip
After you have downloaded and installed winamp grab the plugin pack I've provided here and place both the files into the C:\Program Files\Winamp\Plugins directory.
Now you've got a winamp cybiko remote control !
This is not written yet
Using the WMP API you can use the Interop calls to embedded a cybiko-plugin to the WMP application. This plug-in would monitor the serial port for commands being sent to it via the SerialRelay program, and invoke the various API calls needed.
The WMP plug-in would have a user interface to control such aspects as the baud rate, parity, stop bits etc.. when talking to the SerialRelay program.
WMP has an API that can be used to access this program.
Some samples of API access