💾 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
=================
- ------------------------------------------------------------
- HyperStudio(R) Digitized Audio File formats
- ------------------------------------------------------------
- Audio Interchange File Format: "AIFF" (Audio IFF)
- Version: 1.1 January 21, 1988 Apple Computer, Inc.
- Revised per File Type note: $D8, auxtype $0000 March 1989
- ------------------------------------------------------------
- Adapted for SOUND SHOPtm and HyperStudio(R) use by Dave Klimas.
- Version: 0.1 April 2, 1989
- Version: 0.2 May 13, 1989
- Version: 0.3 July 3, 1989
- ------------------------------------------------------------
- NOTE: All data is stored in Motorola 68xxx format, ie.
- the most significant byte is stored before the
- least significant byte (msb - - lsb), with the
- following exception:
- All data between 'SSDK1'-'SSND' is in 65xxx format,
- i.e. least significant byte first (lsb - - msb).
- Total header length = 96 bytes.
- ============================================================
- HyperStudio(R) Audio IFF file format
- ------ Form chunk ------------------------------------------
ASC 'FORM' ;FormID
ChnkSize DB 0,0,0,88 ;[REV.LONG] 88 + size of SoundData
ASC 'AIFF' ;FormType
- ------ Common chunk ----------------------------------------
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)
- ------ Application specific chunk --------------------------
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)
- ------ Sound data chunk ------------------------------------
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...
- ============================================================
- HyperStudio(R) standard sound file header.
- FileType = $D8, AuxType = $8001
- NOTE: All data is stored in 65xxx format.
- i.e. least significant byte first (lsb - - msb).
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...
- ============================================================