SMP: Difference between revisions

From AtariForumWiki
Jump to navigation Jump to search
>Atari74user
No edit summary
>Atari74user
No edit summary
Line 50: Line 50:




??         02(DW)     RESERVED
{|
??         04(DD)     LOOP 1 START  USE SAMPLE COUNT NOT BYTE COUNT
| ??
??         04(DD)     LOOP 1 END
| 02(DW)
??         01(DB)     LOOP 1 TYPE  0=LOOP OFF,1=FORWARD,2=FORWARD/BACKWARD
| RESERVED
??         02(DW)     LOOP 1 COUNT  TIMES TO EXECUTE LOOP BEFORE NEXT LOOP
|-
|??
| 04(DD)
| LOOP 1 START  USE SAMPLE COUNT NOT BYTE COUNT
|-
| ??
| 04(DD)
| LOOP 1 END
|-
| ??
| 01(DB)
| LOOP 1 TYPE  0=LOOP OFF,1=FORWARD,2=FORWARD/BACKWARD
|-
| ??
| 02(DW)
| LOOP 1 COUNT  TIMES TO EXECUTE LOOP BEFORE NEXT LOOP
|}
 


THERE ARE SEVEN MORE IDENTICAL LOOP STRUCTURES FOR A TOTAL OF 8
THERE ARE SEVEN MORE IDENTICAL LOOP STRUCTURES FOR A TOTAL OF 8


??         10         MARKER 1 NAME ASCII MARKER NAME
|}
??         04(DD)     MARKER 1 POSITION  FFFF MEANS UNUSED
| ??
| 10
| MARKER 1 NAME ASCII MARKER NAME
|-
| ??
| 04(DD)
| MARKER 1 POSITION  FFFF MEANS UNUSED
|}
 
 
THERE ARE SEVEN MORE IDENTICAL MARKER STRUCTURES FOR A TOTAL OF 8


THER ARE SEVEN MORE IDENTICAL MARKER STRUCTURES FOR A TOTAL OF 8


??         01(DB)       MIDI UNITY PLAYBACK NOTE         MIDI NOTE TO PLAY
|}
                                                        THE SAMPLE AT ITS
| ??
                                                        ORIGINAL PITCH
| 01(DB)
??         04(DD)       SAMPLE RATE IN HERTZ
| MIDI UNITY PLAYBACK NOTE
??         04(DD)       SMPTE OFFSET IN SUBFRAMES
  MIDI NOTE TO PLAY
??         04(DD)      CYCLE SIZE         SAMPLE COUNT IN ONE CYCLE OF
  THE SAMPLE AT ITS
                                          THE SAMPLED SOUND. -1 IF UNKNOWN
  ORIGINAL PITCH
|-
| ??
| 04(DD)
| SAMPLE RATE IN HERTZ
|-
| ??
| 04(DD)
| SMPTE OFFSET IN SUBFRAMES
|-
| ??
| 04(DD)       
| CYCLE SIZE
| SAMPLE COUNT IN ONE CYCLE OF THE SAMPLED SOUND. -1 IF UNKNOWN
|-
| (DD)
| 4 BYTES, LS BYTE FIRST, LS WORD FIRST
| (DW) 2 BYTES, LS BYTE FIRST
| (DB) 1 BYTE


(DD) 4 BYTES, LS BYTE FIRST, LS WORD FIRST
(DW) 2 BYTES, LS BYTE FIRST
(DB) 1 BYTE


That's about it. One thing I have noticed is that Sample Vision only
Sample Vision only writes seven loop structures to file as opposed to the eight structures it claims are written.
writes seven loop structures to file as opposed to the eight
structures it claims are written.

Revision as of 18:38, 24 March 2016

The Sample Vision SMP File Format.


Sample Vision is a program used by professional musicians to send and receive samples via a MIDI interface to the PC. While on the PC, you can edit several parameters including loop points, pitch, time compression, normalize, sample rate, ect. The list of supported samplers include: AKAI {S700,X700,S900, S950,S612,S1000/1100}, Casio{FZ1,FZ10M,FZ20M}, Ensoniq{EPS,EPS16,ASR10,Mirage}, Emu{Emax,EmaxII}, Korg{DSS1,DSM1,T workstation}, Oberheim DPX-1, Peavey DPM-3, Roland {S10,MKS100,S220,S50,S330,S550}, Sequential Circuits Prophet 2000/2002, Sample Dump Standard devices, Yamaha TX16W.


The SMP format breaks down like this:

Offset Size Description
000 18 'SOUND SAMPLE DATA' ASCII FILE ID
0018 04 '2.1 ' ASCII FILE VERSION
0022 60 USER COMMENTS 60 ASCII CHARACTERS
0082 30 SAMPLE NAME LEFT JUSTIFIED 30 ASCII CHARACTERS
0112 04 SAMPLE SIZE SAMPLE DATA COUNT IN WORDS
0116 ?? SAMPLE DATA 1 WORD PER SAMPLE, LEAST SIGNIFICANT BYTE


FIRST, LSW FIRST; SIGNED 16 BIT INTEGERS


?? 02(DW) RESERVED
?? 04(DD) LOOP 1 START USE SAMPLE COUNT NOT BYTE COUNT
?? 04(DD) LOOP 1 END
?? 01(DB) LOOP 1 TYPE 0=LOOP OFF,1=FORWARD,2=FORWARD/BACKWARD
?? 02(DW) LOOP 1 COUNT TIMES TO EXECUTE LOOP BEFORE NEXT LOOP


THERE ARE SEVEN MORE IDENTICAL LOOP STRUCTURES FOR A TOTAL OF 8

|} | ?? | 10 | MARKER 1 NAME ASCII MARKER NAME |- | ?? | 04(DD) | MARKER 1 POSITION FFFF MEANS UNUSED |}


THERE ARE SEVEN MORE IDENTICAL MARKER STRUCTURES FOR A TOTAL OF 8


|} | ?? | 01(DB) | MIDI UNITY PLAYBACK NOTE

 MIDI NOTE TO PLAY
 THE SAMPLE AT ITS
 ORIGINAL PITCH

|- | ?? | 04(DD) | SAMPLE RATE IN HERTZ |- | ?? | 04(DD) | SMPTE OFFSET IN SUBFRAMES |- | ?? | 04(DD) | CYCLE SIZE | SAMPLE COUNT IN ONE CYCLE OF THE SAMPLED SOUND. -1 IF UNKNOWN |- | (DD) | 4 BYTES, LS BYTE FIRST, LS WORD FIRST | (DW) 2 BYTES, LS BYTE FIRST | (DB) 1 BYTE


Sample Vision only writes seven loop structures to file as opposed to the eight structures it claims are written.