Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Class: Stereo
#1
General Description

This thread is for discussion of the Stereo device class. Drivers that implement this device class provide the basic sorts of controls that stereos generally offer, which are bass, treble, and balance adjustments.

This is one of those 'fractional' device classes. I.e. it's unlikely any driver would just implement this one class. It will be implemented in addition to other things.

Fields Provided
[INDENT]The fields provided by this device class have pre-determined names, and these MUST be implemented as indicated here. They are all prefixed by the device class prefix in the form:

STREO#sub~fieldname

where STREO# indicates it is a field of this device class, and fieldname meets the general requirements of CQC field names. If the device provides more than one set of controls, then the sub~ part will be present and will indicate the specific source instances. The same sub-unit naming convention SHOULD be applied as are used with the other related sub-units of the driver.

The fields provided by this class are listed below:
  • Balance. This field allows for adjustment of the stereo balance
  • Bass. This field allows for adjustment of the bass presence
  • Treble. This field allows for adjustment of the treble presence
[/INDENT]

All of these fields MUST be of Int type, with a range limit of -100 to 100, where -100 represents the minimum value or the left-most balance, and 100 represents the maximum value or right-most balance. The actual range of the device MUST be mapped to this range. They MUST be readable and writeable since any really useful implementation will require display of current values for adjustment.

If the device does not implement one of these values, it MUST implement the field as read/write, default it to zero, accept writes to the field and just let written values become the current value, so that it will not cause errors, even if it doesn't function. This lacking MUST be documented in the driver docs.

Backdoor Commands/Queries

[INDENT]None are required at this time.[/INDENT]
Dean Roddey
Software Geek Extraordinaire
Reply
#2
(Reserved)
Dean Roddey
Software Geek Extraordinaire
Reply
#3
Took a shot at another pretty common possible fractional interface that might be useful. Does this one make reasonable sense? Anything else that might go in there which would be very broadly supported?
Dean Roddey
Software Geek Extraordinaire
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Class: Thermostat Dean Roddey 17 4,043 01-29-2016, 10:15 AM
Last Post: Dean Roddey
  Class: SceneCtrl Dean Roddey 20 2,516 03-31-2015, 12:38 PM
Last Post: Dean Roddey
  Class: Irrigation Dean Roddey 8 1,317 01-28-2015, 12:09 PM
Last Post: Dean Roddey
  Class: NowPlaying Dean Roddey 8 1,301 09-23-2014, 02:01 PM
Last Post: Dean Roddey
  Class: Switcher Dean Roddey 9 1,428 08-20-2014, 08:17 AM
Last Post: Dean Roddey
  Class: Security Dean Roddey 33 4,189 08-13-2014, 03:02 PM
Last Post: Dean Roddey
  Class: Projector Dean Roddey 29 3,085 08-11-2014, 08:56 AM
Last Post: Dean Roddey
  Class: Lock Dean Roddey 5 938 07-31-2014, 01:24 PM
Last Post: Dean Roddey
  Class: ContactClosure Dean Roddey 7 1,074 07-31-2014, 10:14 AM
Last Post: Dean Roddey
  Class: DIO Dean Roddey 7 1,295 07-31-2014, 10:08 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)