h6. [[SoundChannels]] h6(. » [[SoundChannels SWI Calls|SWI Calls]] h6((. » Sound_SoundLog h2. Sound_SoundLog h5. (SWI &40181) |_<^{width:4em}. Entry | | |<^. R0 |<^. 32bit signed linear sample | |_<^{width:4em}. Exit | | |<^. R0 |<^. 8 bit mu-law logarithmic sample | h4. Use This SWI is used to convert a signed linear sample to the 8 bit logarithmic format that's used by the 8 bit sound system. The returned value will be scaled by the current volume (as set by [[Sound_Volume]]). h4. Notes Voice generators should avoid calling this SWI from within their buffer fill code - the overhead of calling a SWI for every sample to write will be too much for older systems to cope with. h4. See also * [[Sound_Volume]] * [[Sound_LogScale]]