Reply to topic  [ 1 post ] 
Main library function list (note, these names are outdated) 
Author Message
Administrator

Joined: 31. May 2005 05:23
Posts: 70
Location: Liège
Post Main library function list (note, these names are outdated)
Code:
; Miscellanous functions (they're mainly for coder support)
AllocPMem(byteSize)(D0)
FreePMem(memoryBlock,byteSize)(A1/D0)
InsertNode(NodeList,Node,PredNode)(A0,A1,A2)
AddNodeHead(NodeList,Node)(A0,A1)
AddNodeTail(NodeList,Node)(A0,A1)
RemoveNode(Node)(A1)
RemNodeHead(NodeList)(A0)
RemNodeTail(NodeList)(A0)
EnqueueNode(NodeList,Node)(A0,A1)
DupNodeList(SourceList,DestList,NodeSize)(A0,A1/D0)
ReMapNodeList(SourceList,DestList)(A0,A1)
AllocNameStr(String)(A0)
FreeNameStr(NameStr)(A0)
SetString(StructPos,String)(A0,A1)
SetNameStr(StructPos,NameStr)(A0,A1)
Sin(Degrees,Amplify)(D0,D1)
Cos(Degrees,Amplify)(D0,D1)
Tan(Degrees,Amplify)(D0,D1)
*DoPlayerIRQ(TuCBase)(A0)
AddPlayExecHandler(PlayExecStr)(A0)
RemPlayExecHandler(PlayExecStr)(A0)
SetPlayExecHandlerPri(PlayExecStr, Pri)(A0/D0)
Stamp2Date(StampDateStr,DateStamp)(A0,A1)
AllocSimulateMix(SongStr)(A0)
FreeSimulateMix(PseudoTuCBase)(A0)
AllocUnknownChunk(PreFillData,ChunkName,ChunkLen)(A0/D0,D1)
FreeUnknownChunk(UnknownChunkStr)(A0)
DeleteUnknownChunk(UnknownChunkStr)(A0)
Randomize(Seed)(D0)
Rnd(UpperBound)(D0)

; Sound device related routines
AllocSoundDevice(ExtLibStr,FlagPassStr)(A0,A1)
FreeSoundDevice(ExtLibStr)(A0)
PlaySoundDevice(ExtLibStr,MixAllocStr,FlagPassStr)(A0,A1,A2)
StopSoundDevice(ExtLibStr)(A0)
CheckSoundDeviceRate(ExtLibStr,SmpRate)(A0/D0)
CheckSoundDeviceRateFraction(ExtLibStr,SmpRate)(A0/D0)
UpdateSoundDeviceRate(ExtLibStr,SmpRate)(A0/D0)

; Mixing related routines
AllocMixer(ExtLibStr)(A0)
FreeMixer(MixAllocStr)(A0)
InitMixer(MixAllocStr,ExtSoundDevStr,FlagPassStr)(A0,A1,A2)
ChangeMixerRate(MixAllocStr,NewMixRate)(A0/D0)
ChangeMixerTempo(MixAllocStr,NewTempo)(A0/D0)
ChangeMixerVolTable(MixAllocStr,Amplify,LeftVol,RightVol,NumChannels)(A0/D0,D1,D2,D3)
GetMixChannel(MixAllocStr,MixStr,Channel)(A1,A0/D0)
SetMixChannel(MixAllocStr,MixStr,Channel)(A1,A0/D0)
SetMixChannelVolPanPitch(MixAllocStr,MixStr,Channel)(A1,A0/D0)
SetMixChannelPosRepFlags(MixAllocStr,MixStr,Channel)(A1,A0/D0)
DoMix(MixAllocStr,MixBuffer)(A0,A1)
; Post processor related functions
AllocPostProcessor(ExtLibStr,MixAllocStr)(A0,A1)
FreePostProcessor(PostAllocStr)(A0)
InitPostProcessor(PostAllocStr,FlagPassStr)(A0,A1)
ChangePostProcessor(PostAllocStr,MixAllocStr)(A0,A1)
DoPostProcessorMix(PostAllocStr,MixBuffer)(A0,A2)
AddPostProcessor(MixAllocStr,PostAllocStr)(A0,A1)
RemPostProcessor(PostAllocStr)(A0)
SetPostProcessorPri(PostAllocStr,Pri)(A0/D0)

; Module related functions
AllocTCModule(Channels)(D0)
FreeTCModule(ModuleStr)(A0)
AddTCModule(ModuleStr)(A0)
RemTCModule(ModuleStr)(A0)
DupTCModule(ModuleStr)(A0)
ReMapTCModule(ModuleStr,NewModuleStr)(A0,A1)
LoadTCModule(CFHandle,ModuleStr,ExtLibStr,FlagPassStr,NumModule)(A0,A1,A2,A3/D0)
SaveTCModule(CFHandle,ModuleStr,ExtLibStr,FlagPassStr)(A0,A1,A2,A3)
IdentifyTCModule(CFHandle)(A0)
GetTCModuleInfo(CFHandle,ExtLibStr,NumModule)(A0,A1/D0)
FreeTCModuleInfo(ModuleInfoStr)(A0)
GetTCModules(CFHandle,ExtLibStr)(A0,A1)
PushTCModule(ModuleStr)(A0)
PopTCModule(ModuleBuf)(A0)
CutTCModule(ModuleStr,ModuleBuf)(A0,A1)
CopyTCModule(ModuleStr,ModuleBuf)(A0,A1)
PasteTCModule(ModuleBuf,ModuleStr)(A0,A1)
SwapTCModule(ModuleBuf,ModuleStr)(A0,A1)
ClearTCModule(ModuleStr)(A0)
AddTCModuleUnknownChunk(ModuleStr,UnknownChunkStr)(A0,A1)
RemTCModuleUnknownChunk(ModuleStr)(A0)
InsertTCModuleUnknownChunk(ModuleStr,UnknownChunkStr,UnknownChunkPos)(A0,A1,A2)
AllocPlayTCModule()()
FreePlayTCModule()()
PlayTCModule(ModuleStr)(A0)
StopTCModule(ModuleStr)(A0)
SetTCMChannels(ModuleStr,Channels)(A0/D0)
CalcTCMPlayTime(ModuleStr,PlayExecStr)(A0,A1)
GetOptimalVChannels(ModuleStr)(A0)

; Song related functions
AllocSong(Channels,GoSubStack,LoopStack)(D0,D1,D2)
FreeSong(SongStr)(A0)
AddSong(ModuleStr,SongStr)(A0,A1)
RemSong(ModuleStr)(A0)
InsertSong(ModuleStr,SongStr,SongPos)(A0,A1,A2)
DeleteSong(SongStr)(A0)
DupSong(SongStr)(A0)
;ReMapSong(SongStr,NewSongStr)(A0,A1)
GetNumSongs(ModuleStr)(A0)
GetSongNum(ModuleStr,SongStr)(A0,A1)
GetSongAddr(ModuleStr,Num)(A0/D0)
LoadSong(CFHandle,SongStr,ExtLibStr,FlagPassStr,NumSong)(A0,A1,A2,A3/D0)
SaveSong(CFHandle,SongStr,ExtLibStr,FlagPassStr)(A0,A1,A2,A3)
IdentifySong(CFHandle)(A0)
GetSongInfo(CFHandle,ExtLibStr,NumSong)(A0,A1/D0)
FreeSongInfo(SongInfoStr)(A0)
GetSongs(CFHandle,ExtLibStr)(A0,A1)
PushSong(SongStr)(A0)
PopSong(SongBuf)(A0)
CutSong(SongStr,SongBuf)(A0,A1)
CopySong(SongStr,SongBuf)(A0,A1)
PasteSong(SongBuf,SongStr)(A0,A1)
SwapSong(SongBuf,SongStr)(A0,A1)
ClearSong(SongStr)(A0)
AddSongUnknownChunk(SongStr,UnknownChunkStr)(A0,A1)
RemSongUnknownChunk(SongStr)(A0)
InsertSongUnknownChunk(SongStr,UnknownChunkStr,UnknownChunkPos)(A0,A1,A2)
GetSongInstrs(SongStr)(A0)
FreeSongInstrs(InstrList)(A0)
GetSongEnvelopes(SongStr)(A0)
FreeSongEnvelopes(EnvList)(A0)
GetSongKeyboards(SongStr)(A0)
FreeSongKeyboards(KeybrdList)(A0)
GetSongArpeggios(SongStr)(A0)
FreeSongArpeggios(ArpList)(A0)
ReMapSongInstrs(SongStr,TrackStr,SongList)(A0,A1,A2)
SetBaseSongInstrs(SongStr,TrackStr,FirstInsNum)(A0,A1/D0)
SetSongChannels(SongStr,Channels)(A0/D0)
SetStack(SongStr,GoSubStack,LoopStack)(A0/D0,D1)
CalcSongPlayTime(SongStr,PlayExecStr)(A0,A1)
GetOptimalChannels(SongStr)(A0)
ResetSong(SongStr)(A0)
CalcPlayerSpeed(SongStr)(A0)

; Position/order list related functions
AllocPosition(Channels)(D0)
FreePosition(PosStr,Channels)(A0/D0)
SwapPosition(PosStr,Channel,SwapChannel)(A0/D0,D1)
SetPosition(SongStr,PosStr)(A0,A1)
DupPosition(PosStr,Channels)(A0/D0)
GetPositionNum(PosStr,PosListStr,Channel)(A0,A1/D0)
GetPositionAddr(PosStr,Channel,Num)(A0/D0,D1)
ClearPosition(PosStr,Channels)(A0/D0)
PlayPosition(PosStr,FlagPassStr,Order,Row)(A0/A1,D0/D1)
DupPositionChannel(SrcPosStr,DestPosStr,SrcChannel,DestChannel)(A0,A1/D0,D1)
ClearPositionChannel(PosStr,Channel)(A0/D0)
AllocPositionList()()
FreePositionList(PosListStr)(A0)
AddPositionList(PosStr,PosListStr,Channel)(A0,A1/D0)
RemPositionList(PosStr,Channel)(A0/D0)
InsertPositionList(PosStr,PosListStr,PosListPos,Channel)(A0,A1,A2/D0)
DeletePositionList(PosListStr)(A0)
DupPositionList(PosListStr)(A0)
SwapPositionList(PosListStr,SwapPosListStr)(A0,A1)
ClearPositionList(PosListStr)(A0)

; Track related functions
AllocTrack(DefLength)(D0)
FreeTrack(TrackStr)(A0)
AddTrack(SongStr,TrackStr)(A0,A1)
RemTrack(SongStr)(A0)
InsertTrack(SongStr,TrackStr,TrackPos)(A0,A1,A2)
DeleteTrack(TrackStr)(A0)
ClearTrack(TrackStr)(A0)
DupTrack(TrackStr)(A0)
ReMapTrack(SongStr,TrackStr,NewTrackStr)(A0,A1,A2)
ReSizeTrack(TrackStr,NewLen)(A0/D0)
AddTrackUnknownChunk(TrackStr,UnknownChunkStr)(A0,A1)
RemTrackUnknownChunk(TrackStr)(A0)
InsertTrackUnknownChunk(TrackStr,UnknownChunkStr,UnknownChunkPos)(A0,A1,A2)
GetNumTracks(SongStr)(A0)
GetTrackNum(SongStr,TrackStr)(A0,A1)
GetTrackAddr(SongStr,Num)(A0/D0)
GetNoteStr(StrBuf,Octave,Note,Flags)(A0/D0,D1,D2)
GetIndexNoteStr(StrBuf,IndexNote,Flags)(A0,D0,D1)
NoteToIndex(Octave,Note)(D0,D1)
IndexToNote(IndexNote)(D0)
;GetTrackRowStr(TrackStr,StrBuf,EffStr,Row,Flags,SpcChar)(A0,A1,A2/D0,D1,D2)
AllocEffect(EffectByte,DataWord)(D0,D1)
FreeEffect(EffStr)(A0)
AddEffect(TrackStr,EffStr,Row)(A0,A1/D0)
RemEffect(TrackStr,Row)(A0)
InsertEffect(TrackStr,EffStr,EffPos,Row)(A0,A1,A2/D0)
DeleteEffect(EffStr)(A0)
ClearEffects(TrackStr,Row,NumRows)(A0/D0,D1)
ReMapEffects(SrcTrackStr,DestTrackStr,SrcRow,DestRow,NumRows)(A0,A1/D0,D1,D2)
AllocTrackData(Length)(D0)
FreeTrackData(TrackData,Length)(A0/D0)
AddRows(TrackStr,NumRows)(A0/D0)
RemRows(TrackStr,NumRows)(A0/D0)
InsertRows(TrackStr,Row,NumRows,Flags)(A0/D0,D1,D2)
DeleteRows(TrackStr,Row,NumRows,Flags)(A0/D0,D1,D2)
ClearRows(TrackStr,Row,NumRows)(A0/D0,D1)
ReMapRows(SrcTrackStr,DestTrackStr,SrcRow,DestRow,NumRows)(A0,A1/D0,D1,D2)
CopyRows(SrcTrackStr,DestTrackStr,SrcRow,DestRow,NumRows)(A0,A1/D0,D1,D2)
SwapRows(SrcTrackStr,DestTrackStr,SrcRow,DestRow,NumRows)(A0,A1/D0,D1,D2)
PlayRow(TrackStr,FlagPassStr,Row)(A0,A1/D0)
CmpTracks(SrcTrackStr,DestTrackStr)(A0,A1)
PackTrack(TrackStr)(A0)
UnPackTrack(PackedTrackStr,TrackStr)(A0,A1)
FreePackedTrack(PackedTrackStr)(A0)
LoadTrack(CFHandle,TrackStr,ExtLibStr,FlagPassStr,NumTrack)(A0,A1,A2,A3/D0)
SaveTrack(CFHandle,TrackStr,ExtLibStr,FlagPassStr)(A0,A1,A2,A3)
IdentifyTrack(CFHandle)(A0)
GetTrackInfo(CFHandle,ExtLibStr,NumTrack)(A0,A1/D0)
FreeTrackInfo(TrackInfoStr)(A0)
GetTracks(CFHandle,ExtLibStr)(A0,A1)
PushTrack(TrackStr)(A0)
PopTrack(TrackBuf)(A0)
CutTrack(TrackStr,TrackBuf)(A0,A1)
CopyTrack(TrackStr,TrackBuf)(A0,A1)
PasteTrack(TrackBuf,TrackStr)(A0,A1)
SwapTrack(TrackBuf,TrackStr)(A0,A1)
SwapTrackInSong(TrackBuf,TrackStr,Flags)(A0,A1/D0)
ShrinkTrack(TrackStr,Scale)(A0/D0)
ExpandTrack(TrackStr,Scale)(A0/D0)
HalveTrack(TrackStr,Scale)(A0/D0)
DoubleTrack(TrackStr,Scale)(A0/D0)
SplitTrack(SrcTrackStr,DestTrackStr,Row)(A0,A1/D0)
JoinTrack(SrcTrackStr,DestTrackStr)(A0,A1)
PlayTrack(Order,Channel,Row)(D0/D1/D2)
TrackNoteShift(TrackStr,HalfNotes,StartRow,EndRow)(A0,D0/D1/D2)
ScrollTrack(TrackStr,Rows,StartRow,EndRow)(A0/D0,D1,D2)
RotateTrack(TrackStr,Rows,StartRow,EndRow)(A0/D0,D1,D2)
FlipTrack(TrackStr,Scale,StartRow,EndRow)(A0/D0,D1,D2)

; Instrument related functions
AllocInstr(NumSamples)(D0)
FreeInstr(InstrStr)(A0)
AddInstr(ModuleStr,InstrStr)(A0,A1)
RemInstr(ModuleStr)(A0)
InsertInstr(ModuleStr,InstrStr,InstrPos)(A0,A1,A2)
DeleteInstr(InstrStr)(A0)
ClearInstr(InstrStr)(A0)
DupInstr(InstrStr)(A0)
ReMapInstr(InstrStr,NewInstrStr)(A0,A1)
AddInstrUnknownChunk(InstrStr,UnknownChunkStr)(A0,A1)
RemInstrUnknownChunk(InstrStr)(A0)
InsertInstrUnknownChunk(InstrStr,UnknownChunkStr,UnknownChunkPos)(A0,A1,A2)
GetNumInstrs(ModuleStr)(A0)
GetInstrNum(ModuleStr,InstrStr)(A0,A1)
GetInstrAddr(ModuleStr,Num)(A0/D0)
LoadInstr(CFHandle,InstrStr,ExtLibStr,FlagPassStr,NumInstr)(A0,A1,A2,A3/D0)
SaveInstr(CFHandle,InstrStr,ExtLibStr,FlagPassStr)(A0,A1,A2,A3)
IdentifyInstr(CFHandle)(A0)
GetInstrInfo(CFHandle,ExtLibStr,NumInstr)(A0,A1/D0)
FreeInstrInfo(InstrInfoStr)(A0)
GetInstrs(CFHandle,ExtLibStr)(A0,A1)
PushInstr(InstrStr)(A0)
PopInstr(InstrBuf)(A0)
CutInstr(InstrStr,InstrBuf)(A0)
CopyInstr(InstrStr,InstrBuf)(A0,A1)
PasteInstr(InstrBuf,InstrStr)(A0,A1)
SwapInstr(InstrBuf,InstrStr)(A0,A1)
SwapInstrInModule(InstrBuf,InstrStr,Flags)(A0,A1/D0)
PlayInstr(FlagPassStr,InstrStr,Channel,Note,Volume)(A0,A1/D0,D1,D2)
CmpInstrs(SrcInstrStr,DestInstrStr)(A0,A1)
GetInstrEnvelopes(InstrStr)(A0)
FreeInstrEnvelopes(InstrEnvStr)(A0)
AddInstrEnvelopes(InstrStr,Flags)(A0/D0)
GetInstrKeyboard(InstrStr)(A0)
GetInstrSamples(InstrStr)(A0)
FreeInstrSamples(InstrSmpStr)(A0)

;Envelope (volume, panning, slide, vibrato, etc.) related functions
CreateEnvelope(NumPoints,Type,Scale,YOffset,Nodes)(D0,D1,D2,D3,D4)
FreeEnvelope(EnvStr)(A0)
AddEnvelope(ModuleStr,EnvStr)(A0,A1)
RemEnvelope(ModuleStr)(A0)
InsertEnvelope(ModuleStr,EnvStr,EnvPos)(A0,A1,A2)
DeleteEnvelope(EnvStr)(A0)
ClearEnvelope(EnvStr,Type,Scale,YOffset)(A0/D0,D1,D2)
DupEnvelope(EnvStr)(A0)
ReMapEnvelope(EnvStr,NewEnvStr)(A0,A1)
ReSizeEnvelope(EnvStr,Entries)(A0/D0)
ValidateEnvNodes(EnvStr)(A0)
AddEnvelopeUnknownChunk(EnvStr,UnknownChunkStr)(A0,A1)
RemEnvelopeUnknownChunk(EnvStr)(A0)
InsertEnvelopeUnknownChunk(EnvStr,UnknownChunkStr,UnknownChunkPos)(A0,A1,A2)
GetNumEnvelopes(ModuleStr)(A0)
GetEnvelopeNum(ModuleStr,EnvStr)(A0,A1)
GetEnvelopeAddr(ModuleStr,Num)(A0/D0)
SwapEnvelopeInModule(EnvBuf,EnvStr,Flags)(A0,A1/D0)
LoadEnvelope(CFHandle,EnvStr,NumEnv)(A0,A1/D0)
SaveEnvelope(CFHandle,EnvStr)(A0,A1)
ShrinkEnvelope(EnvStr,Scale)(A0/D0)
ExpandEnvelope(EnvStr,Scale)(A0/D0)
HalveEnvelope(EnvStr,Scale)(A0/D0)
DoubleEnvelope(EnvStr,Scale)(A0/D0)
SplitEnvelope(SrcEnvStr,DestEnvStr,Point)(A0,A1/D0)
JoinEnvelope(SrcEnvStr,DestEnvStr)(A0,A1)
ScrollEnvelope(EnvStr,Points,StartPoint,EndPoint)(A0/D0,D1,D2)
RotateEnvelope(EnvStr,Points,StartPoint,EndPoint)(A0/D0,D1,D2)
FlipEnvelope(EnvStr,Scale,StartPoint,EndPoint)(A0/D0,D1,D2)
AddEnvPoint(EnvStr,Points)(A0/D0)
RemEnvPoint(EnvStr,Points)(A0/D0)
InsertEnvPoint(EnvStr,Point,Points,Flags)(A0/D0,D1,D2)
DeleteEnvPoint(EnvStr,Point,Points,Flags)(A0/D0,D1,D2)
CmpEnvelopes(SrcEnvStr,DestEnvStr)(A0,A1)

; Keyboard definitions related functions
AllocKeyboard()()
FreeKeyboard(KeybrdStr)(A0)
AddKeyboard(ModuleStr,KeybrdStr)(A0,A1)
RemKeyboard(ModuleStr)(A0)
InsertKeyboard(ModuleStr,KeybrdStr,KeybrdPos)(A0,A1,A2)
DeleteKeyboard(KeybrdStr)(A0)
ClearKeyboard(KeybrdStr)(A0)
DupKeyboard(KeybrdStr)(A0)
ReMapKeyboard(KeybrdStr,NewKeybrdStr)(A0,A1)
GetNumKeyboards(ModuleStr)(A0)
GetKeyboardNum(ModuleStr,KeybrdStr)(A0,A1)
GetKeyboardAddr(ModuleStr,Num)(A0/D0)
SwapKeyboardInModule(KeybrfBuf,KeybrdStr,Flags)(A0,A1/D0)
SetKeyboard(KeybrdStr,SampleNum,Octave,Note,NewOctave,NewNote)(A0/D0,D1,D2,D3,D4)
CheckKeyboard(KeybrdStr)(A0)
CmpKeyboards(SrcKeybrdStr,DestKeybrdStr)(A0,A1)

; Arpeggio editing related functions
AllocArpeggio(NumEntries)(D0)
FreeArpeggio(ArpStr)(A0)
AddArpeggio(ModuleStr,ArpStr)(A0,A1)
RemArpeggio(ModuleStr)(A0)
InsertArpeggio(ModuleStr,ArpStr,ArpPos)(A0,A1,A2)
DeleteArpeggio(ArpStr)(A0)
ClearArpeggio(ArpStr)(A0)
DupArpeggio(ArpStr)(A0)
ReMapArpeggio(ArpStr,NewArpStr)(A0,A1)
ReSizeArpeggio(ArpStr,Entries)(A0/D0)
GetNumArpeggios(ModuleStr)(A0)
GetArpeggioNum(ModuleStr,ArpStr)(A0,A1)
GetArpeggioAddr(ModuleStr,Num)(A0/D0)
SwapArpeggioInModule(ArpBuf,ArpStr,Flags)(A0,A1/D0)
ShrinkArpeggio(ArpStr,Scale)(A0/D0)
ExpandArpeggio(ArpStr,Scale)(A0/D0)
HalveArpeggio(ArpStr,Scale)(A0/D0)
DoubleArpeggio(ArpStr,Scale)(A0/D0)
SplitArpeggio(SrcArpStr,DestArpStr,Tick)(A0,A1/D0)
JoinArpeggio(SrcArpStr,DestArpStr)(A0,A1)
ScrollArpeggio(ArpStr,Ticks,StartTick,EndTick)(A0/D0,D1,D2)
RotateArpeggio(ArpStr,Ticks,StartTick,EndTick)(A0/D0,D1,D2)
FlipArpeggio(ArpStr,Scale,StartTick,EndTick)(A0/D0,D1,D2)
AddArpeggioTick(ArpStr,Ticks)(A0/D0)
RemArpeggioTick(ArpStr,Ticks)(A0/D0)
InsertArpeggioTick(ArpStr,Tick,Ticks,Flags)(A0/D0,D1,D2)
DeleteArpeggioTick(ArpStr,Tick,Ticks,Flags)(A0/D0,D1,D2)
CmpArpeggios(SrcArpStr,DestArpStr)(A0,A1)

; Sample related functions
AllocSample(SampleData,Length)(A0/D0)
FreeSample(SampleStr)(A0)
AddSample(InstrStr,SampleStr)(A0,A1)
RemSample(InstrStr)(A0)
InsertSample(InstrStr,SampleStr,SamplePos)(A0,A1,A2)
DeleteSample(SampleStr)(A0)
ClearSample(SampleStr)(A0)
DupSample(SampleStr)(A0)
ReSizeSample(SampleStr,NewSamples)(A0/D0)
AddSampleUnknownChunk(SampleStr,UnknownChunkStr)(A0,A1)
RemSampleUnknownChunk(SampleStr)(A0)
InsertSampleUnknownChunk(SampleStr,UnknownChunkStr,UnknownChunkPos)(A0,A1,A2)
GetNumSamples(ModuleStr)(A0)
GetSampleNum(ModuleStr,SampleStr)(A0,A1)
GetSampleAddr(ModuleStr,Num)(A0/D0)
PushSample(SampleStr)(A0)
PopSample(SampleBuf)(A0)
CutSample(SampleStr,SampleBuf)(A0,A1)
CopySample(SampleStr,SampleBuf)(A0,A1)
PasteSample(SampleBuf,SampleStr)(A0,A1)
SwapSample(SampleBuf,SampleStr)(A0,A1)
SwapSampleInInstr(SampleBuf,SampleStr,Flags)(A0,A1/D0)
PlaySample(SampleStr,FlagPassStr,Channel,Frequency,Volume)(A0,A1/D0,D1,D2)
LoadSample(CFHandle,SampleStr,ExtLibStr,FlagPassStr,NumSample)(A0,A1,A2,A3/D0)
SaveSample(CFHandle,SampleStr,ExtLibStr,FlagPassStr)(A0,A1,A2,A3)
IdentifySample(CFHandle)(A0)
GetSampleInfo(CFHandle,ExtLibStr,NumSample)(A0,A1/D0)
FreeSampleInfo(SampleInfoStr)(A0)
GetSamples(CFHandle,ExtLibStr)(A0,A1)
CalcSamplePlayFreq(SampleStr,Octave,Note)(A0/D0,D1)
CalcFineTune(Note,FineTune)(D0,D1)
ConvertSampleFrequency(Period)(D0)
CalcLinearFrequency(SampleFreq,SlideValue)(D0,D1)
AllocSampleData(Length)(D0)
FreeSampleData(SampleData,Length)(A0/D0)
SetSampleData(SampleStr,SampleData,Length)(A0,A1/D0)
AddSampleData(SampleStr,NumSamples)(A0/D0)
RemSampleData(SampleStr,NumSamples)(A0/D0)
InsertSampleData(SampleStr,SamplePos,NumSamples)(A0/D0,D1)
DeleteSampleData(SampleStr,SamplePos,NumSamples)(A0/D0,D1)
ClearSampleData(SampleStr,FirstSmp,LastSmp)(A0/D0,D1)
DupSampleData(SampleStr)(A0)
CutSampleData(SampleStr,SampleBuf,FirstSmp,LastSmp)(A0,A1/D0,D1)
CopySampleData(SampleStr,SampleBuf,FirstSmp,LastSmp)(A0,A1/D0,D1)
PasteSampleData(SampleBuf,SampleStr,PasteSmp,Flags)(A0,A1/D0,D1)
CropSampleData(SampleStr,SampleBuf,FirstSmp,LastSmp)(A0,A1/D0,D1)
LoadSampleData(CFHandle,SampleStr,NumBytes)(A0,A1/D0)
SaveSampleData(CFHandle,SampleStr,FirstSmp,LastSmp)(A0,A1/D0,D1)
ConvertBits(SampleStr,DestBitDepth,Flags)(A0/D0,D1)
;GetOptimalBits(SampleStr,Flags)(A0/D0)
ConvertSigned(SampleStr)(A0)
ConvertWord(SampleStr)(A0)
DecrunchSample(SampleStr,DeltaBitDepth)(A0/D0)
Backwards(SampleStr,StartSmp,LastSmp)(A0/D0,D1)
MixSamples(SrcSampleStr,DestSampleStr,SrcStartSmp,SrcLastSmp,DestStartSmp)(A0,A1/D0,D1,D2)
;Sample(SampleStr,InpDevStr,Buffer,Frequency,BitDepth,BufLen,Flags)(A0,A1,A2/D0,D1,D2,D3)
OctaveUp(SampleStr)(A0)
OctaveDown(SampleStr)(A0)
ReSample(SampleStr,NewFrequency,OldFrequency,Flags)(A0/D0,D1,D2)
InvertSample(SampleStr)(A0)
;XFadeSample(SampleStr)(A0)
AmplifySample(SampleStr,StartAmplify,EndAmplify,StartSmp,LastSmp)(A0/D0,D1,D2,D3)
GetBiggestAmplify(SampleStr,StartSmp,LastSmp)(A0/D0,D1)
GetLowestAmplify(SampleStr,StartSmp,LastSmp)(A0/D0,D1)
;CreateEcho(SampleStr)(A0)
;BoostSample(SampleStr)(A0)
;FilterSample(SampleStr)(A0)
;MorphSamples(SampleStr)(A0)
MinimizeSample(SampleStr)(A0)
;FindOriginSample(SampleStr)(A0)
GetSampleValue(SampleStr,Sample)(A0/D0)
GetSampleValueArray(SampleStr,ArrayPtr,StartSmp,ArrayEntries)(A0,A1/D0,D1)

; Synth/Hybrid related functions
AllocSynth(CodeLen,Waveforms,WaveLen)(D0,D1,D2)
FreeSynth(SynthStr)(A0)
AssignSynth(SampleStr,SynthStr)(A0,A1)
ClearSynth(SynthStr)(A0)
DupSynth(SynthStr)(A0)
ReMapSynth(SynthStr,NewSynthStr)(A0,A1)
AddSynthUnknownChunk(SynthStr,UnknownChunkStr)(A0,A1)
RemSynthUnknownChunk(SynthStr)(A0)
InsertSynthUnknownChunk(SynthStr,UnknownChunkStr,UnknownChunkPos)(A0,A1,A2)
GetNumSynths(ModuleStr)(A0)
GetSynthNum(ModuleStr,SynthStr)(A0,A1)
GetSynthAddr(ModuleStr,SynthNum)(A0/D0)
PushSynth(SynthStr)(A0)
PopSynth(SynthBuf)(A0)
CutSynth(SynthStr,SynthBuf)(A0,A1)
CopySynth(SynthStr,SynthBuf)(A0,A1)
PasteSynth(SynthBuf,SynthStr)(A0,A1)
SwapSynth(SynthBuf,SynthStr)(A0,A1)
LoadSynth(CFHandle,SynthStr,ExtLibStr,FlagPassStr,NumSynth)(A0,A1,A2,A3/D0)
SaveSynth(CFHandle,SynthStr,ExtLibStr,FlagPassStr)(A0,A1,A2,A3)
IdentifySynth(CFHandle)(A0)
GetSynthInfo(CFHandle,ExtLibStr,NumSynth)(A0,A1/D0)
FreeSynthInfo(SynthInfoStr)(A0)
GetSynths(CFHandle,ExtLibStr)(A0,A1)

; Synthetic waveform related functions
AllocWaveform(WaveLength)(D0)
FreeWaveform(WaveformStr)(A0)
AddWaveform(SynthStr,WaveformStr)(A0,A1)
RemWaveform(SynthStr)(A0)
InsertWaveform(SynthStr,WaveformStr,WaveformPos)(A0,A1,A2)
DeleteWaveform(WaveformStr)(A0)
ClearWaveform(WaveformStr)(A0)
DupWaveform(WaveformStr)(A0)
ReSizeWaveform(WaveformStr,NewLen)(A0/D0)
GetNumWaveforms(SynthStr)(A0)
GetWaveformNum(SynthStr,WaveformStr)(A0,A1)
GetWaveformAddr(SynthStr,WaveformNum)(A0/D0)
PushWaveform(WaveformStr)(A0)
PopWaveform(WaveformBuf)(A0)
CutWaveform(WaveformStr,WaveformBuf)(A0,A1)
CopyWaveform(WaveformStr,WaveformBuf)(A0.A1)
PasteWaveform(WaveformBuf,WaveformStr)(A0,A1)
SwapWaveform(WaveformBuf,WaveformStr)(A0,A1)
SwapWaveformInSynth(WaveformBuf,WaveformStr)(A0,A1)
;LoadWaveform(CFHandle,WaveformStr,NumBytes)(A0,A1/D0)
;SaveWaveform(CFHandle,WaveformStr,FirstSmp,LastSmp)(A0,A1/D0,D1)
;PlayWaveform(WaveformStr,FlagPassStr,Frequency)(A0,A1/D0)
AddWaveformPoint(WaveformStr,Points)(A0/D0)
RemWaveformPoint(WaveformStr,Points)(A0/D0)
InsertWaveformPoint(WaveformStr,Point,Points,Flags)(A0/D0,D1,D2)
DeleteWaveformPoint(WaveformStr,Point,Points,Flags)(A0/D0,D1,D2)
FillWaveform(WaveformStr,RepLen,Type,Scale,YOffset)(A0/D0,D1,D2,D3)
ConvertWaveform(WaveformStr,DestBitDepth,Flags)(A0/D0,D1)
;ConvertWaveformSigned(WaveformStr)(A0)
;ConvertWaveformWord(WaveformStr)(A0)
;BackwardsWaveform(WaveformStr)(A0)
;MixWaveforms(SrcWaveformStr,DestWaveformStr)(A0,A1)
;HalveWaveform(WaveformStr)(A0)
;DoubleWaveform(WaveformStr)(A0)
;ScaleWaveformSize(WaveformStr,NewLength,OldLength,Flags)(A0/D0,D1,D2)
;InvertWaveform(WaveformStr)(A0)
;AmplifyWaveform(WaveformStr,Amplify)(A0/D0)
;GetMaxWaveformAmplify(WaveformStr)(A0)
;GetMinWaveformAmplify(WaveformStr)(A0)
;CopySample2Waveform(SampleStr,WaveformStr)(A0,A1)
;CopyWaveform2Sample(WaveformStr,SampleStr)(A0,A1)
;CopyEnvelope2Waveform(EnvelopeStr,WaveformStr)(A0,A1)
;CopyWaveform2Envelope(WaveformStr,EnvelopeStr)(A0,A1)
;TransformWaveform(SrcWaveformStr,DestWaveformStr)(A0,A1)

; Synth programming related functions
AllocSynthCode(Lines)(D0)
FreeSynthCode(SynthCodeStr,Lines)(A0/D0)
AssignSynthCode(SynthStr,SynthCodeStr,Lines)(A0,A1/D0)
ClearSynthCode(SynthStr)(A0)
DupSynthCode(SynthStr)(A0)
ReSizeSynthCode(WaveformStr,NewLen)(A0/D0)
PushSynthCode(SynthStr)(A0)
PopSynthCode(SynthBuf)(A0)
CutSynthCode(SynthStr,SynthBuf)(A0,A1)
CopySynthCode(SynthStr,SynthBuf)(A0,A1)
PasteSynthCode(SyntheBuf,SynthStr)(A0,A1)
SwapSynthCode(SynthBuf,SynthStr)(A0,A1)
AddSynthCodeLine(SynthStr,Lines)(A0/D0)
RemSynthCodeLine(SynthStr,Lines)(A0/D0)
*InsertSynthCodeLine(SynthStr,Line,Lines,Flags)(A0/D0,D1,D2)
*DeleteSynthCodeLine(SynthStr,Line,Lines,Flags)(A0/D0,D1,D2)
;GetSynthCodeParams(Code)(D0)
AssembleCodeLine(AsmBuf,SynthStr,CodeLine,Flags)(A0,A1/D0,D1)
DisassembleCodeLine(AsmBuf,SynthStr,CodeLine,Flags)(A0,A1/D0,D1)

; Synth symbol support functions
AllocSymbol(Name)(A0)
FreeSymbol(SymbolStr)(A0)
AssignSymbol(SymbolStr,Name)(A0,A1)
DupSymbol(SymbolStr)(A0)
AddSymbol(SynthStr,SymbolStr)(A0,A1)
RemSymbol(SynthStr)(A0)
InsertSymbol(SynthStr,SymbolStr,SymbolPos)(A0,A1,A2)
DeleteSymbol(SSymbolStr)(A0)
GetNumSymbols(SynthStr)(A0)
GetSymbolNum(SynthStr,SymbolStr)(A0,A1)
GetSymbolAddr(SynthStr,SymbolNum)(A0/D0)
MatchSymbol(SymbolStr,Name,Line,Type)(A0,A1/D0,D1)

; External library support functions
AddExternalLib(ExtLibStr,Type)(A0/D0)
RemExternalLib(ExtLibStr)(A0)
OpenExternalLib(ExtLibStr)(A0)
CloseExternalLib(ExtLibStr)(A0)
GetExternalLibs(ExtLibPatStr)(A0)
AllocFlagStr(FlagStr)(A0)
;CIdentify(FileName)(D1)
COpen(FileName,Mode,ExtLibStr)(D1,D2,D3)
CClose(CFHandle)(D1)
CRead(CFHandle,Buffer,Length)(D1,D2,D3)
CWrite(CFHandle,Buffer,Length)(D1,D2,D3)
CSeek(CFHandle,Position,Relative)(D1,D2,D3)
CGetInfo(CFHandle,CInfoStr)(D1,D2)


1. June 2005 12:13
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.