Skip to content

Module_SoundChannels

Charles edited this page Aug 5, 2026 · 11 revisions

Module: SoundChannels

Status summary

Component Section 32-bit 64-bit Claimant Source Repo summary
SoundChannels ROM modules not built in repo, not tested in repo

Development status

Diagram from Module_SoundChannels

Completeness

Functionality Commands SWIs Services Uses Services TOTAL
0.00% 0.00% 0.00% 0.00% 0.00% 0.00%

Summary

SoundChannels is the Level 1 legacy sound synthesiser and mixer. It exposes the SOUND-style control SWIs, manages channel control blocks and attached voice generators, and is called by SoundDMA to fill each 8-bit mu-law buffer. It converts foreground Sound_Control requests into channel gate/update state, provides volume and pitch control, and publishes a Service_SoundControl interception point so another module can suppress or alter a requested note.

Relationships

Diagram from Module_SoundChannels

Diagram from Module_SoundChannels

Discovered features

  • Has nvram state
  • Has services
  • Has services fast
  • Has sound output
  • Has swis
  • Uses console output
  • Uses messagetrans

Provides

Functionality

In 32bit In 64 bit Interface
🔲 🔲 Supports registration of multiple voices
🔲 🔲 Supports mapping of voices to channels
🔲 🔲 Issues service when Sound_Control issued
🔲 🔲 Can enumerate installed voices
🔲 🔲 Can enumerate channel mappings
🔲 🔲 Registers with SoundDMA / SharedSound
🔲 🔲 Calls mapped channel voices on fill
🔲 🔲 Performs transformation of Log handler to Linear PCM
🔲 🔲 Provides lookup table for log/linear translation
🔲 🔲 Re-registers on SoundDMA start
🔲 🔲 Issues service on start and shutdown

Commands

In 32bit In 64 bit Interface
🔲 🔲 *ChannelVoice
🔲 🔲 *Configure SoundDefault
🔲 🔲 *Sound
🔲 🔲 *Tuning
🔲 🔲 *Voices

SWIs

In 32bit In 64 bit Interface
🔲 🔲 Sound_Volume (&40180)
🔲 🔲 Sound_SoundLog (&40181)
🔲 🔲 Sound_LogScale (&40182)
🔲 🔲 Sound_InstallVoice (&40183)
🔲 🔲 Sound_RemoveVoice (&40184)
🔲 🔲 Sound_AttachVoice (&40185)
🔲 🔲 Sound_ControlPacked (&40186)
🔲 🔲 Sound_Tuning (&40187)
🔲 🔲 Sound_Pitch (&40188)
🔲 🔲 Sound_Control (&40189)
🔲 🔲 Sound_AttachNamedVoice (&4018A)
🔲 🔲 Sound_ReadControlBlock (&4018B)
🔲 🔲 Sound_WriteControlBlock (&4018C)

Services

In 32bit In 64 bit Interface
🔲 🔲 Service_Reset
🔲 🔲 Service_Sound

Vectors

None

Events

None

UpCalls

None


Issues calls to

Services

In 32bit In 64 bit Interface
🔲 🔲 Service_Sound
🔲 🔲 Service_SoundControl

Vectors

None

Events

None

UpCalls

None

Modules

  • MessageTrans
  • Sound

Clone this wiki locally