![]() ![]() |
|
MP3 Audio Machine: |
|
Multiple Commands |
These two buttons do a seach and play or loop all in one. WEBster's manual goes over them in
detail, and here is a
copy of the source code that makes each of the buttons work. Note
that each button is surrounded in a form. All the buttons on this
page are based on the sendstring command. In the source code
you can see the required inputs, like form, string,
and synfile, and optional inputs like dispresult,
responsestring in red. Their
corresponding values, which we have configured for communication with an
MP3AM are in green. <form
ACTION="/form" METHOD=POST> |
Single Commands | |
For more granular control, use these buttons, which break up the commands into pieces.
You can right-click on this page and select View Source to see the
specific code for each button, but here is the code for the Loop button
below <form ACTION="/form"
METHOD=POST> |
Feedback | |
The feedback from the unit is displayed below. To do this you insert a
tilde (~) character
sequence in an HTML comment.<-- ~!--> where
ever you want the response to go. So below, we have included it in
the cell just after "Response". Note that you don't have
to have any response from a product you are trying to control.
Simply remove the tilde in this page, and it no longer gives a
status. When you do this you can also remove the optional dispresult
and responsestring values from your buttons
above. The resulting code would look like this: <form
ACTION="/form" METHOD=POST> |
|
Response: |