radio.dll 1.0                                         radio.txt


General

radio.dll is a Litestep load-module that provides a few !bang-
commands to control a Gemtek Radio Card. It also provides a
window that displays the current frequency. If you have another
radiocard, please take a look at the section 'Other cards' at
the bottom.


Installation

Copy radio.dll to your Litestep directory and add a line like
the following to your step.rc file:

  LoadModule $LiteStepDir$radio.dll

After recycling Litestep you will have access to the bang-
commands and the frequency dipslay.


Bangs

!RadioSetFreq <float>
Sets the frequency (in MHz)

!RadioMute
Mutes the radiocard

!RadioUnmute
Unmutes the radiocard

!RadioToggle
Toggles the mute-state

!RadioUp
Changes the frequency, by default 0.1 MHz (can be changed, se
'RC commands' section)

!RadioDown
Same as above, but down

!RadioNext
Changes the frequency to the next preset (se 'Presets' section)

!RadioPrev
Previous preset

!RadioHide
Hides the frequency display

!RadioShow
Shows the frequency display

!RadioToggleDisp
Toggles the display

!RadioOnTop
Toggles the AlwaysOnTop of the display

!RadioMove <x> <y>
Moves the display to x y

!RadioSize <width> <height>
Resizes the display


RC commands

RadioStartMuted <bool>
If true, the card is muted when the module loads (default is
true)

RadioMuteOnExit <bool>
If true, the card is muted when the module is unloaded (default
is true)

RadioStartFreq <float>
Frequency to set when the module is loaded  (default 87.0)

RadioTuningStep <float>
The change in MHz applied with !RadioUp and !RadioDown

RadioAlwaysOnTop <bool>
Self explaining, I think (default: false)

RadioHidden <bool>
Self explaining (default: false)

RadioX <int>
Standard, relative to right if negative (default: 0)

RadioY <int>
Standard, relative to bottom if negative (default: 0)

RadioWidth <int>
Self explaining (default: 100)

RadioHeight <int>
Self explaining (default: 20)

RadioBorderSize <int>
No text will be drawn in the border, also the bitmap (if
there's any) will be streched in another way (default: 0)

RadioBorderTop <int>
Self explaining (default: RadioBorderSize)

RadioBorderLeft <int>
Self explaining (default: RadioBorderSize)

RadioBorderRight <int>
Self explaining (default: RadioBorderSize)

RadioBorderBottom <int>
Self explaining (default: RadioBorderSize)

RadioBorderColor <color>
Self explaining (default: 000000)

RadioFont <font>
Self explaining (default: Arial)

RadioFontSize <int>
Self explaining (default: 12)

RadioFontColor <color>
Self explaining (default: 000000)

RadioBackColor <color>
Self explaining (default: FFFFFF)

RadioBitmap <image>
Self explaining (default: none)

RadioBitmapTiled <bool>
Self explaining (default: false)


Presets

To have quick access to you favourite stations you can create
presets. A preset is created by adding a ine as the following
to your step.rc

  *Preset freq name

Use !RadioNext and !RadioPrev to navigate between presets. The
maximum number of presets is 100.


Changes

Date         Ver  Changes
06 mar 2001  1.0  First public release


To-do-list

I have some code that checks if the radio have got tuning on
the current frequency. I'm planning to use it.
Add support for more radio cards. If you have another card,
please take a look at the section 'Other cards' at the bottom.


Feedback

If you have a bug report, feature request, or any kind of feed-
back, feel free to email it to me at erik@alfafish.com.


Other radio cards

I would like to add support for a few more radiocards to the
module. But I need your help. I have info on how to control a
few more cards, but I need someone to test it before I release
it. If you have a radiocard, or information on how to control
one, just drop me a mail (erik@alfafish.com) and I'll try to
add support for your card.


_______________________________________________________________
Sci                                           erik@alfafish.com
