en:sound [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:sound

## Sound (Statement)

### Format

sound frequency, duration
sound ( frequency, duration )
sound numeric_array
sound ( numeric_array )
sound { frequency1, duration1, frequency2, duration2, … }

### Description

Play a sound from the computer's speakers.Frequency is expressed in Hz and duration is expressed in milliseconds (1000 in a second). An array or list containing frequency and durations may also be passed. This eliminates any clicking between sounds when more than one is being output sequentially.

### See Also

Say, Sound, Volume, WAVlength, WAVpause, WAVplay, WAVpos, WAVseek, WAVstate, WAVstop, WAVwait

### History

0.9.5g | Sound support for LINUX systems was added
0.9.5h | Windows sound was changed to use the default sound device

en/sound.txt · Last modified: 2014/02/10 03:14 by admin