💾 Archived View for mirrors.apple2.org.za › archive › apple.cabi.net › HyperStudio › HS.SoundShop.FO… captured on 2024-06-16 at 14:03:35.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Here it is!  This is the file format information for sound files as
stored by HyperStudio, Sound Shop, Sight 'n Sound, and Browser (all
parts of the HyperStudio software/hardware package).

This file format accomodates ACE data, digitized sound, multiple
channels and lots of other goodies.  This information may be duplicated
as desired.

Roger Wagner
=================




 ASC 'FORM' ;FormID
ChnkSize DB 0,0,0,88 ;[REV.LONG] 88 + size of SoundData
 ASC 'AIFF' ;FormType



 ASC 'COMM' ;CommonID
 DB 0,0,0,18 ;[REV.LONG] ChnkSize = 18 bytes of data
NumChannels DB 0,1 ;[REV.WORD] 1 = mono, 2 = stereo
NumSampFrames DB 0,0,0,0 ;[REV.LONG] sampleSize (bytes) times numChannels
 DB 0,8 ;[REV.WORD] 8-bit sampleSize
SampleRate DS 10 ;[REV.EXT] extended 80-bit IEEE standard (SANE)



 ASC 'APPL' ;ApplicationSpecificID
 DB 0,0,0,34 ;[REV.LONG] ChnkSize = 34 bytes of data
 ASC 'pdos' ;OSType
 STR ' SSDK' ;[PSTRING] applicationSignitureID

SSLength2 DW 0 ;[WORD] sample length in pages (channel 1)
SSPbRate2 DW 0 ;[WORD] playback rate  (channel 1)
SSVolume2 DW 0 ;[WORD] volume  (channel 1)
SSEcho2 DW 0 ;[WORD] echo value  (channel 1)
SSLength DW 0 ;[WORD] sample length in pages (channel 0)
SSAce DW 0 ;[WORD] ACE numBlks, ACE mode in bits 14,15
SSPbRate DW 0 ;[WORD] playback rate (channel 0)
SSVolume DW 0 ;[WORD] volume (channel 0)
SSStereo DW 0 ;[WORD] number of channels (0 = 1)
SSEcho DW 0 ;[WORD] echo value (channel 0)
SSReserved DW 0 ;reserved for future expansion = '0'
SSRepeat DW 0 ;[WORD] repeat count (both channels)



 ASC 'SSND' ;SoundDataID
ChnkSize2 DB 0,0,0,8 ;[REV.LONG] 8 + size of SoundData
 DB 0,0,0,0 ;[REV.LONG] Offset
 DB 0,0,0,0 ;[REV.LONG] BlockSize
SoundData ;[BYTE...] 8-bit sound data...


SSHeader
HFileID ASC 'SSHS' ;SOUND SHOP/HYPERSTUDIO fileID
HDataOffset ADRL Data-Header-8 ;[LONG] offset to start of sound data
HVersID ASC 'RWP ' ;version ID
HDataID ASC 'SSDK' ;start of data ID
HLength2 DW 0 ;[WORD] sample length in pages (channel 1)
HPbRate2 DW 0 ;[WORD] playback rate (channel 1)
HVolume2 DW 0 ;[WORD] volume (channel 1)
HEcho2 DW 0 ;[WORD] echo value (channel 1)
HLength DW 0 ;[WORD] sample length in pages (channel 0)
HAce DW 0 ;[WORD] numBlks, bits 14,15 = method
HPbRate DW 0 ;[WORD] playback rate (channel 0)
HVolume DW 0 ;[WORD] volume (channel 0)
HStereo DW 0 ;[WORD] number of channels (0 = 1)
HEcho DW 0 ;[WORD] echo value (channel 0)
HReserved DW 0 ;reserved for future expansion = '0'
HRepeat DW 0 ;[WORD] count (both channels)
HOffset1 ADRL 0 ;[LONG] offset to channel 1
HExtra DS 4 ;undefined = '0'
HFileName STR 'Untitled.sound.' ;[PSTRING] + padding to fill 16 bytes
Data ;[BYTE...] 8-bit sound data...