So, if anyone has the full documentation for this extension I would be most grateful if you could post a link to it somewhere so that I can have a look at it. Failing that, maybe someone can help provide an alternative solution by posting a little code that would maybe help.
I have very little documentation with D-Sam too
You can use my Extension Examiner (available on Aminet
here) to find out the commands and the syntax, but alas it doesn't work miracles and can't tell you what they do
(It sometimes crashes when you exit too
I shall fix that soon, I promise)
Here's a command list found using my program mentioned above:
Andrew D Burton's Extension Examiner - Export File
**************************************************
Export Selection: Commands
Path: Amiga-HD:HD1-DEV_KIT/AMOSPro2X/D-Sam/
File: D-Sam.Lib
Commands & Functions
********************
Smp Reset
Smp Mode Minchip
Smp Mode Minproc
Smp Memory X,Y
Smp Disk Buffer X
Smp Dma Buffer X
Smp Priority X
Smp Load X,Y$
Smp Open X,Y$
Smp Close X
Smp Assign Left X To Y
Smp Assign Right X To Y
Smp Assign X To Y
Smp Assign X,Y To Z
Smp Cue X
Smp Free X
Smp Start X
Smp Stop X
X=Smp Playing(Y)
Smp Play X,Y,Z,A,B
Smp Play X,Y,Z,A
Smp Play X,Y,Z
Smp Play X,Y
Smp Range X,Y To Z
Smp Loop Range X,Y To Z
Smp Speed X,Y
X=Smp Speed(Y)
Smp Volume X,Y
X=Smp Volume(Y)
Smp Repeat On X
Smp Repeat Off X
Smp Sequence On X
Smp Sequence Off X
Smp Fade On X
Smp Fade Off X
Smp Oversample On
Smp Oversample On X
Smp Oversample Off
Smp Oversample Off X
Smp Decompress On
Smp Decompress Off
X=Smp Base
X$=Smp Name(Y)
X=Smp Size(Y)
X=Smp Length(Y)
X=Smp Loop Start(Y,Z)
X=Smp Loop End(Y,Z)
X=Smp Loops(Y)
X=Smp Data(Y)
X=Smp Left Data(Y)
X=Smp Right Data(Y)
X=Smp Stereo(Y)
X=Smp Info(Y)
X=Smp Status(Y)
X=Smp Sequence(Y)
X=Smp Fade(Y)
X=Smp Disk Error
Smp Version
*** End Of File **
You can also view the translation from AMOS raw syntax to the readable syntax above in my program