W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y

<AUDIOSCOPE>

Description

Use this element to display the audioscope, the graphical display of the amplitude of the current sound over time. Note that since the WebTV Internet Terminal can play stereo sound, the audioscope traces both the left and right channels. If a web page plays sounds and displays the audioscope, the audioscope will create an animated, visual image of the sounds.

Attributes

W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
ALIGN
Use the align attribute to align the audioscope with the preceding text. The align attribute accepts any of nine values: top, middle, bottom, left, right, texttop, absmiddle, baseline, and absbottom. The default value for align is baseline.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2n
2.1y
BGCOLOR
Gives the audioscope a background color.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
BORDER
Use the border attribute to set the width of the audioscope border in pixels. Borders are drawn with anti-aliased bevels. The default value for border is 1 pixel.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
GAIN
Use the gain attribute to set a multiplier for the amplitude display of the audioscope. The default value for gain is 1.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
HEIGHT
Use the height attribute to set the height of the audioscope in pixels. The default value for height is 80 pixels.

The WebTV interface uses the height of the audioscope to reserve space for it on the screen as it loads in a web page. Once that space is reserved for the audioscope, the WebTV interface can draw the rest of the page. Use the height and width attributes so that viewers can access text and links on a page while the audioscope loads later.


W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
LEFTCOLOR
Use the leftcolor attribute to set the color of the line that displays the left audio channel in the audioscope. WebTV accepts color values in either #rrggbb or color name format. The default value for leftcolor is #8ece10.
See the page Using colors for a description on specifying colors.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
LEFTOFFSET
Use the leftoffset attribute to set the vertical offset for the display of the left audio channel. A positive value for leftoffset raises the line for the left audio channel above the center of the audioscope. A negative value lowers the line below the center. The default value for leftoffset is 0 pixels. The typical value is leftoffset="2".

By setting a positive value for leftoffset and a negative value for rightoffset (or vice versa), you can impose a separation between the lines for the two audio channels. This can give a good visual effect.


W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
MAXLEVEL
Use the maxlevel attribute to specify whether the audioscope should clip the sound according to the specified gain. The default value for maxlevel is false.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
RIGHTCOLOR
Use the rightcolor attribute to set the color of the line that displays the right audio channel in the audioscope. The WebTV HTML interface accepts color values in either #rrggbb or color name format. The default value for rightcolor is #ce8e10.
See the page Using colors for a description on specifying colors.
W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
RIGHTOFFSET
Use the rightoffset attribute to set the vertical offset for the display of the left audio channel. A positive value for rightoffset raises the line for the left audio channel above the center of the audioscope. A negative value lowers the line below the center. The default value for rightoffset is 1 pixel. The typical value is rightoffset="-2".

By setting a positive value for leftoffset and a negative value for rightoffset (or vice versa), you can impose a separation between the lines for the two audio channels. This can give a good visual effect.


W3 3.2n
4.0n
NS 3.0n
4.0n
IE 3.0n
4.0n
TV 1.2y
2.1y
WIDTH
Use the width attribute to set the width of the audioscope in pixels. The default value for width is 100 pixels.

The WebTV interface uses the width of the audioscope to reserve space for it on the screen as it loads in a web page. Once that space is reserved for the audioscope, the WebTV interface can draw the rest of the page. Use the height and width attributes so that viewers can access text and links on a page while the audioscope loads later.

Examples

Source
<audioscope height="100" width="200" gain="2">
 
Result
Statistics