template "Dalet Sound File Format (SND)" description "Structure of Dalet soundfile header" applies_to file fixed_start 0x00 requires 0x00 "E3 C5" // Magic number // Template by Steven Scholte // This template can be used on Dalet .SND sound files. // This is the old format Dalet uses to store MPEG layer II audio. begin hex 2 "WORD wMagic (=0xC5E3)" char[16] "char szAlgorithm[16]" uint8 "BYTE bStereo (0=Mono, 1=Stereo, 2=Dualchannel, 3=JS)" uint16 "WORD wSampleRate" uint8 "BYTE bBitsPerSample" uint16 "WORD wPeriods (Samples per frame)" uint16 "WORD wSize (Tic length = Frame size)" uint32 "DWORD dwTics (Total frames)" uint32 "DWORD dwInfosPos (0=none)" UnixDateTime "DWORD dwDateTime" end