Prof.Dr.Godfried-Willem RAES

<GMT> Reference Manual: Global Hyperlink Index to our public domain real time interactive composition software

This reference covers all functions and procedures in our public dll libraries: g_lib.dll, g_file.dll, g_mus.dll, g_indep.dll, g_nih.dll, g_noh.dll, g_ftp.dll.

EXIT <GMT> website <Introduction to the harmony functions> <General harmony Functions> <Midi Functions> <Math Support>
<Fuzzy Functions for harmony <Harmony Analysis Functions> <Acoustical Functions for harmony> <Audio Functions> <F.A.Q.'s>
<Visualisation Functions> <File Management> <GMT-Manual> <Rhythm functions> <User Interface>

 INDEX

Alfabetical hyperlinked list of all procedures and functions enclosed in HarmLib and GMT.

[A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z]

Entries that are grayed have been removed from the library. Entries that are in green color, are internal procedures that should not (or cannot) be called by users. They are just mentioned here, because their names are reserved.

proctype procname & parameters library reference

A

FUNCTION AbsDifHar$ (H1 AS HarmType, H2 AS HarmType) PSY
FUNCTION AddChords% (crd1%, crd2%) GEN
SUB AddCnr2Har (H AS HarmType, cnr%, low%, high%, velo%) PSY
SUB AddNote2Har (H AS HarmType, note%, velo%) PSY
FUNCTION AddNoteInChord% (ChordNum%, note%) GEN
SUB AddShNo2Har (H AS HarmType, note%, velo%) PSY
SUB AfterTouch (kanaal AS WORD, value?) MIDI
SUB AllNotesOff(k AS WORD) MIDI
FUNCTION AmplitudeModulate(tracknr&,fl!,fr!,d1!,dr!)AS LONG DLL
SUB AppendAudioTrack (track0, track1) DLL
manual Audio CD procedures and functions WAVE
SUB AuxFaders () GMT_WAVE

B

Sub Bend (kanaal AS WORD,lsb?, msb?) MIDI
SUB BlankAudioBuffer (w AS WAVEHDR) DLL
SUB BlockSysExReception (LONG) DLL
SUB ButnSwHandler() GMT
SUB ButnOsHandler() GMT
Sub BypassTSR24 (k AS WORD) MIDI

C

FUNCTION CalcNrOfGrains ( tracknr AS LONG, Grainlength AS DWORD) AS DWORD G_wave.DLL
manual CD related functions and procedures GMT_DLL
SUB CenterWindow (hWnd AS LONG) GMT
SUB CheckAudio (BYREF A AS AudioType,BYREF App AS ApplicationType) G_WAVE DLL
SUB CheckHardware () GMT
FUNCTION CheckTimerResolution LIB "gmt_harm.dll" () AS WORD GMT_DLL
SUB CornerWindow(hWnd AS LONG, place$) GMT
SUB CleanUp () GMT
SUB ClearCockpitOneShots (ButnOS() AS OneshotController) GMT_user interface
SUB ClearCockpitSwitches (ButnSW() AS SwitchController) GMT_user interface
SUB ClearDelayArrays () MIDI_DLL
SUB ClearMiBuf(port AS WORD) MIDI
SUB ClearScreenBlock (hDC as LONG,h%,v%,b%,hg%) GMT_DLL
SUB CloseCD () GMT_dll
SUB CloseMCIDevice (devID AS LONG) GMT_dll
FUNCTION Cnr2Ctp& (crd%, Tc%) GEN
Interface Cockpit GMT_user interface
FUNCTION ComChords% (crd1%, crd2%) GEN
FUNCTION CommonHar$ (H1 AS HarmType, H2 AS HarmType) PSY
FUNCTION ComplementHar$ (H AS HarmType, low AS BYTE, high AS BYTE) PSY
FUNCTION Cons% (crd%) FUZ
FUNCTION ConvergeHar$ (H AS HarmType, refnote%, factor!) PSY
FUNCTION CopyAudioTrack (track AS LONG, duur AS LONG) G_WAVE DLL
FUNCTION CorrelateNoteToWave (BYVAL noot AS SINGLE, Sp() AS SINGLE) AS SINGLE Math-dll
FUNCTION Cosc (a AS SINGLE) AS SINGLE gmt_DLL - math
FUNCTION CreateDefaultIniFile () AS LONG DLL
sub Crossmodulate (WAVEHDR) gmt_dll
sub CrossTimeModulate (BYREF Wavebufferheader AS WAVEHDR) gmt_dll
FUNCTION Ctp2Cnr% (Chordtype&, tc%) GEN
SUB CueCD (Seekpoint AS DWORD) GMT_dll

D

SUBS Debugging tasks in GMT GMT
SUB DeglitchStart (WAVEHDR) Audio_DLL
SUB DeglitchTail (WAVEHDR) Audio_DLL
SUB DeglitchTrack (Tracknr AS LONG) Audio_DLL
SUB DeleteIfEmpty (filenaam$) FIL
SUB DelNote2Har (H AS HarmType, note%) PSY
FUNCTION DelNoteInChord% (ChordNum%, note%) GEN
SUB DelShNo2Har (H AS HarmType, note%) PSY
SUB DFT (Samp!(),Spectrum!()) MATH- DLL
FUNCTION DifChords% (crd1%, crd2%) GEN
FUNCTION DifHar$ (H1 AS HarmType, H2 AS HarmType) PSY
FUNCTION DifTone! (n1%, n2%) AKU
FUNCTION DimIntInHar$ (H AS HarmType, tc%, modus%, degree%, sign%) PSY
FUNCTION DiminuteHar$ (H AS HarmType, tc%, modus%, steps%) PSY
FUNCTION Dishar! (i%, j%) FUZ
FUNCTION Dishar3! (i%, j%, k%) FUZ
FUNCTION Dismel! (i%, j%) FUZ
  Display(adres AS DWORD,VALUE AS integer,dot1 AS byte,dot2 AS byte,dot3 AS byte) GMT_DLL
SUB DrawClef (s AS STAFTYPE, hDC AS LONG, BYVAL horpos AS WORD) VIZ_DLL
SUB DrawBarline (s AS STAFFTYPE,hDC AS LONG, horpos AS WORD) VIZ_DLL
  DrawBlankBar VIZ_DLL
SUB DrawChordNumber (s AS STAFFTYPE, hDC AS LONG, BYVAL crd%, block AS WORD) VIZ_DLL
SUB DrawFlat (s AS STAFFTYPE,hDC AS LONG, lineposition AS INTEGER, horpos AS WORD) VIZ_DLL
SUB DrawNote (s AS STAFFTYPE, hDC AS LONG, lineposition AS INTEGER, horpos AS WORD) VIZ_DLL
SUB DrawSharp (s AS STAFFTYPE, hDC AS LONG, lineposition AS INTEGER, horpos AS WORD) VIZ_DLL
SUB DrawStaff VIZ_DLL

E

SUB EjectCD () GMT_dll
Tasks Examples for user tasks in GMT GMT
FUNCTION Existfile (f$) AS BYTE FILl
FUNCTION ExportSeqPtr GMT_DLL

F

FUNCTION F2N (frequency!) AS INTEGER AKU
FUNCTION F2NF (frequency!) AS SINGLE AKU
SUB FadeTrack (Tracknr AS LONG, fadeInTime AS DWORD, fadeoutTime AS DWORD) Audio_DLL
FUNCTION Flue(b1%, b2%, b3%) AS SINGLE FUZ
SUB FillHarType (H AS HarmType) PSY
FUNCTION Fit2Mode$ (H AS HarmType, modus%, tc%) PSY
  FreeAudioBuffer DLL
SUB FunctionKeyHandler () GMT
FUNCTION FuzFrameVar! (crd%(), size%) FUZ

G

FUNCTION GenerateFMdiadWave(f1!,f2!,level!,pan!,d as dword) AS LONG DLL
FUNCTION GenerateHarmWave(H AS HarmType,pan?,d as dword) AS LONG DLL
FUNCTION GenerateSineWave(Note?,Velo?,Pan?,d as dword) AS LONG DLL
FUNCTION Get3Kadens! (cn1%, cn2%, cn3%, cn4%) GEN
FUNCTION GetAkuCons! (Har AS HarmType) AKU
FUNCTION GetAkuDis! (Har AS HarmType) AKU
FUNCTION GetAudioFormat () AS DWORD WAVE
SUB GetAuxPorts (BYREF mp() AS STRING) DLL
FUNCTION GetAvailableAuxDevs$() DLL
FUNCTION GetAvailableWaveInputDevs$ () DLL
FUNCTION GetAvailableWaveOutputDevs$ () DLL
FUNCTION GetConPsy! (Har AS HarmType) PSY
FUNCTION GetConsonance! (crd%) GEN
SUB GetCDDeviceCaps () GMT_dll
FUNCTION GetCDDuration () AS DWORD GMT_dll
FUNCTION GetCDTrackDuration (TrackNr AS BYTE) AS DWORD GMT_dll
FUNCTION GetDisPsy! (Har AS HarmType) PSY
FUNCTION GetDipAkuDis! (n1%,v1%,n2%,v2%) AKU
FUNCTION GetDipoleDis! (f1%,v1%,f2%,v2%) AKU
FUNCTION GetDissonance! (crd%) GEN
FUNCTION GetFreeAudioBuffer () AS LONG internal
FUNCTION GetFreeAudioTrack () AS LONG GMT_WAVE
SUB GetFuzzyData (FuzInt!()) FUZ
     
SUB GetFuzzyMelo (FuzMel!()) FUZ
FUNCTION GetHighestNote (h AS Harmtype, lowlimit as byte, highlimit as byte) AS INTEGER PSY
SUB GetInstrumentParams (Ins AS Musician, id AS DWORD) gmt_midi/DLL
SUB GetIntProp (Har AS HarmType) PSY
FUNCTION GetPitchBend%(k AS WORD,flags%) midi
FUNCTION GetPitchBendRaw%(k AS WORD,flags%) midi
FUNCTION GetPressure(k AS WORD,flags%) midi
FUNCTION GetProgChange(k AS WORD,flags%) midi
FUNCTION GetSysEx (h AS LONG, flags AS INTEGER) AS STRING gmt_midi/DLL
FUNCTION GetMidiNote(k AS WORD,flags%) midi
FUNCTION GetAfterTouch(k AS WORD,%Flags%) midi
FUNCTION GetController(k AS WORD,c?flags%) midi
FUNCTION GetNrInt% (Har AS HarmType, Interval%, Norm!) PSY
FUNCTION GetNrNotes% (k%) GEN
FUNCTION GetNrTicks (tasknr AS LONG) GMT_DLL
FUNCTION GetPromil%() GMT
SUB GetPsiChord (Har AS HarmType) PSY
FUNCTION GetRitme (r as RitmeType, byval param as dword, byval style as single) as single g_mus.dll
FUNCTION GetRndNote% (modus%, tc%) GEN
FUNCTION GetScaleCnr% (modus%, tc%) GEN
FUNCTION GetScaleHar$ (modus%, tc%, vel%) PSY
FUNCTION GetShepVal! (note%) PSY
SUB GetSpecData (Spec!()) AKU
SUB GetSpecDefault (Spec!(), nrharmonics%) AKU
FUNCTION GetStrongest% (Har AS HarmType, n%) PSY
FUNCTION GetTc% (k%) GEN
SUB GetWaveInPorts (mp() AS STRING) WAVE-DLL
SUB GetWaveOutPorts (mp() AS STRING) WAVE-DLL
SUB GetWaveProperties (BYREF Sp() AS SINGLE, BYREF WavProp AS WaveProperties) MATH-DLL
PROGRAM <GMT> Multitasker
FUNCTION GMTCockpit (h AS LONG, wM AS LONG, wP AS LONG, lP AS LONG) DLL Callback

[internal]

FUNCTION GranPitchShift (track AS LONG, interval AS SINGLE) AS LONG GMT_DLL
TXT Granular Synthesis manual
SUB GranulateTrack (track AS LONG, Env AS DWORD, BYREF GranAr() AS INTEGER) GMT_DLL
FUNCTION GranuSynth (BYREF GranAr() AS INTEGER, stap AS DWORD, stretch AS SINGLE) AS LONG GMT_DLL
FUNCTION GranuSynth2 (BYREF GranAr() AS INTEGER, overlapfactor AS SINGLE, duration AS DWORD) AS LONG GMT_DLL

H

SUB HanningWindow (Spectrum!()) AKU
FUNCTION Har2Cnr% (H AS HarmType, norm!) PSY
SUB Har2LinSpec (H AS HarmType, Spectrum!()) AKU
FUNCTION Har2Mel (nInst AS BYTE, h AS harmtype,lt AS BYTE, ht AS BYTE) AS WORD PSY
FUNCTION Har2MelAr (h AS harmtype, m() as WORD) AS LONG PSY
SUB Har2Samp (H AS HarmType, Samp!()) AKU
FUNCTION HarForce (n1%, n2%) FUZ
MODULE Harm_Aku.BAS AKU
MODULE Harm_Gen.BAS GEN
MODULE Harm_Ana.BAS ANA
MODULE Harm_Fil.BAS FIL
MODULE Harm_Fuz.BAS FUZ
MODULE Harm_Psy.BAS PSY
MODULE Harm_Tst.BAS TST
MODULE Harm_Viz.BAS VIZ
FUNCTION HarmFrameQual! (ch%(), size%) FUZ
FILE Harmonic Spectrum Data File format AKU
FUNCTION HarmQual! (ch%()) FUZ
     
     

I

SUB Iprop2Rit(h AS HarmTyoe,BYVAL tasknr AS LONG,ritbase AS BYTE) GMT_DLL
FUNCTION InBetweenHar$ (H1 AS HarmType, H2 AS HarmType) GMT_DLL - PSY
FUNCTION InBetweenHarDown$ (H1 AS HarmType, H2 AS HarmType) GMT_DLL - PSY
FUNCTION InBetweenHarUp$ (H1 AS HarmType, H2 AS HarmType) GMT_DLL - PSY
SUB InitButtons() G_MAIN DLL
SUB InitFK() GMT
SUB InitFunctionKeys () GMT
SUB InitGlobalVariables() GMT
SUB InitMidi() GMT
SUB InitMT() GMT
SUB InitP2M (p2m$,k?) midi
SUB InitTasks() GMT
SUB InstrumAllNotesOff (BYREF instrument AS musician, h AS LONG) gmt_midi/dll
SUB InstrumPlay (BYREF instrument AS musician, h AS LONG) gmt_midi/dll
TEXT INTRODUCTION MANUAL
SUB InvDFT (Spectrum!(), Samp!()) Math-AKU-dll
FUNCTION IsChordClassic(Chordtype&) AS INTEGER ANA
FUNCTION IsNoteInChord(Crd%, note%) AS INTEGER GEN
FUNCTION IsolateSinglePeriod (BYVAL Track AS LONG, Sp() AS SINGLE, BYVAL param AS DWORD) AS SINGLE Math-dll
FUNCTION IsolateSingleWave (BYREF Sp() AS SINGLE ,BYREF Sw() AS SINGLE) AS SINGLE Math-dll
FUNCTION IsPrime (BYVAL n AS DWORD) AS DWORD g_indep.dll

J

     

K

SUB KeyBoardHandler() GMT
SUB -task KeyHandler() GMT_OBSOLETE
SUB KeyPress (kanaal?, noot?, value?) MIDI
FUNCTION Kummer (x!,y!,z!,mu!) AS SINGLE Math_dll

L

FUNCTION Lemniskaat (hoek AS SINGLE) AS SINGLE GMT_MATH/dll
SUB LinSpec2Har (Spectrum!(), H AS HarmType) AKU
FUNCTION LoadMixerSettings(fn as string) AS LONG GMT_WMIX/DLL
SUB LowPass (BYREF Sp() AS SINGLE, BYVAL faktor AS SINGLE) Math-DLL
FUNCTION LTrimWave (WAVEHDR,noiselevel) GMT_/dll

M

FUNCTION Make3ChordNum (n1%, n2%, n3%) AS INTEGER GEN
FUNCTION Make4ChordNum (n1%, n2%, n3%, n4%) AS INTEGER GEN
FUNCTION MakeChordNum (n1%, n2%, n3%, n4%, n5%, n6%, n7%, n8%, n9%, n10%, n11%, n12%) AS INTEGER GEN
FUNCTION MakeHarmChord% (cnr%, modus%, harmtype%) GEN
SUB MakeMCIWindow () GMT_dll
SUB MakeTaskParameterDialog (nr%,nrsliders?,nrUpDowns?,TaskParamLabels() AS ASCIIZ * 8) G_MAIN DLL
FUNCTION MatchAudioTrackWithBuffer (LONG) AS LONG internal
FUNCTION MCI_MAKE_TMSF (track AS BYTE, minutes AS BYTE, seconds AS BYTE, frames AS BYTE) AS DWORD GMT_dll
FUNCTION MCIproc (hWnd AS LONG, wMsg AS LONG, wParam AS LONG, lParam AS LONG) AS LONG GMT_dll
FUNCTION MelForce (n1%, n2%) AS SINGLE FUZ
FUNCTION MelFrameQual! (Ml%(), size%) FUZ
TASK MelodyPatternrecognize() midi
FUNCTION MeloQual! (Ml%()) FUZ
FUNCTION MelQualWeight! (Ml%()) FUZ
Manual Midi MIDI
SUB MidiAllNotesOffToggle() G_MAIN DLL
SUB MidiGear (selection AS DWORD) GMT
Callback MidiProc(long,long,dword,long,long) AS long midi-dll
SUB MidiThruToggle () G_MAIN DLL
FUNCTION Midi2NormVol! (v%) AKU
FUNCTION MirCnr% (crd%, n%) GEN
FUNCTION MirHar$ (H AS HarmType) PSY
FUNCTION Mix2Tracks (track1 AS LONG, track2 AS LONG) WAVE_DLL
SUB MixChunk (long) internal
FUNCTION mmioFOURcc (a$,b$,d$,c$) AKU/Win32api
SUB ModeMess (kanaal AS WORD,ctrl?, value?) MIDI
FUNCTION MorfHar$ (H1 AS HarmType, H2 AS HarmType, modus%, tc%, db%) PSY

N

function N2F% (n%) aku
function NF2F% (n!) aku
function Name3Chord$ (crd%) ana
function NameChord$ (crd%) ana
function Neg% (crd%) gen
FUNCTION NextPrime (BYVAL n AS DWORD) AS DWORD g_indep.dll
function NormalizeWave (wh AS WAVEHDR, procent AS DWORD) AS LONG g_wave DLL
function NormVol2Midi% (v!) aku
sub NoteCentOff (kanaal AS WORD,noot!) midi
sub NoteCentOn (kanaal AS WORD, noot!, velo?) midi
sub NoteOff ( kanaal AS WORD,noot?) midi
function NxNt% (mode%, tc%, note%, sign%) gen
     

O

FUNCTION OmegF# (f#) g_math dll
FUNCTION OpenAudioInputDevice (n AS LONG, BYREF TrackStatus as AudioTrackstatus) AS LONG  
FUNCTION OpenAudioInputDevice (n AS LONG, BYREF TrackStatus as AudioTrackstatus) AS LONG  
FUNCTION OpenmidiInputDevice (dnr AS LONG) AS LONG midi-dll
FUNCTION OpenMidiOutputDevice (dnr AS LONG) AS LONG MIDI-dll
SUB Oxalis (hoek AS SINGLE, G AS Complex) GMT- MATH DLL

P

SUB P2Har (H AS HarmType, i&, P%()) PSY
FUNCTION ParaChord% (tonic%, d!, c!, tolerance!) GEN
FUNCTION ParConChord% (tonic%, c!, tolerance!) GEN
FUNCTION ParDisChord% (tonic%, d!, tolerance!) GEN
SUB PauseCD () GMT_dll
SUB Play (kanaal AS WORD, noot?, velo?) MIDI
thread PlayAudioMix (LONG) AS LONG internal
FUNCTION PlayAudioTrack (TrackNr AS LONG, flags AS DWORD) AS LONG GMT_dll
SUB PlayCDChunk (StartPoint AS DWORD, StopPoint AS DWORD) GMT_dll
SUB PlayCDTrack (Track AS BYTE) GMT_dll
SUB PlayHar (H as HarmonyType, k AS WORD) MIDI
TASK PlaySeq () GMT_DLL
FUNCTION PlayWaveFile (filenaam as ASCIIZ, flags AS WORD) AS LONG GMT_WAVE
     
FUNCTION PortIn (adres&) GMT_DLL
SUB PortOut (adres&, byte?) GMT_DLL
SUB PositRitm (Ritm!(), nrticks%) AKU
sub PrepareMenu () GMT
SUB PrepareWaveFunctions (WavHdr AS WAVEHDR, TrackStatus AS Audiotrackstatus) internal
SUB PrepareWaveletTables (BYREF WaveLets AS WaveLetData) MATH_DLL
FUNCTION PrevPrime (BYVAL n AS DWORD) g_indep.dll
  ProcWaveInCallback() internal
  ProcWaveInCallback() internal
SUB ProgChange(kanaal AS WORD,value?) MIDI_DLL
SUB ProgChangeEx (k AS WORD, msblsb AS WORD, value?) MIDI_DLL
SUB Proteuspatch (kanaal AS WORD, patchnumber AS WORD) MIDI_DLL
SUB ProteusTuning (Mq AS MidiEquipment, k AS WORD, patch AS WORD, tuningnumber AS BYTE) MIDI_DLL
SUB ProtOFF (k AS WORD) MIDI_DLL
SUB ProtON (k AS WORD) MIDI_DLL
FUNCTION Pwm2BitStream$ (Pwm%(),bit%) AKU

Q

SUB Qsine (BYVAL samplingrate AS DWORD, BYVAL noot AS SINGLE, BYREF WavLet() AS SINGLE) AS DWORD MATH-DLL
FUNCTION QuestTcCnr (cnr AS INTEGER) AS INTEGER ANA - DLL
FUNCTION QuestTcHar (cnr AS INTEGER, norm AS SINGLE) AS INTEGER ANA - DLL

R

FUNCTION ReadAppDataFromFile (f AS STRING, App AS ApplicationType) AS LONG DLL
FUNCTION ReadAudioDataFromFile (f AS STRING,AudioFader() AS AudioFaderType) AS LONG DLL
FUNCTION ReadCockpitControlDataFromFile (f AS STRING, App AS ApplicationType) AS LONG DLL
SUB ReadCockpitLabelsFromFile (h AS LONG, Filenaam AS STRING, CockpitLayo AS CockpitLabels) DLL
FUNCTION ReadDaqParamsFromFile (f AS STRING, DAQparams AS DataAcquisitionParameters) AS LONG DLL
FUNCTION ReadDelayLine (n?, t??,s!) GMT_midi_dll
FUNCTION ReadDiapasonFromFile (f AS STRING) AS SINGLE DLL
FUNCTION ReadFlagDataFromFile (f AS STRING, App AS ApplicationType) AS LONG DLL
FUNCTION ReadHarFile& (Har AS HarmType, track%, filenr%) FIL
SUB ReadIniFile() GMT_BAS
FUNCTION ReadKeyFromFile (f AS STRING, keyword AS STRING) AS WORD DLL
FUNCTION ReadSeqFile$ (tracknumber%,Speedfactor!) GMT_midi
SUB ReadMidiEquipmentChoices (f AS STRING, BYREF Meq() AS MidiEquipment) GMT_MIDI_DLL
FUNCTION ReadMidiFlagsFromFile (f as STRING, Sx AS GMT_SYSEX_THREAD) -

(second ref)

DLL
SUB ReadMidiGroups (f AS STRING, BYREF MidiGearGroups() AS ASCIIZ * 15) GMT_MIDI_DLL
SUB ReadPatternSequencesFromFile (f AS STRING, BYREF PatternSeq() AS PatternSequenceType) DLL
FUNCTION ReadTaskDataFromFile (f AS STRING, App AS ApplicationType) AS LONG DLL
FUNCTION ReadWaveData (filenaam AS ASCIIZ) AS LONG gmt_wave
SUB ReadWaveFileListFromFile (f AS STRING, SampleList() AS ASCIIZ * 50) DLL
FUNCTION RecognizeNoteDur% (nv%,dur&,tokennote?,tolerance?) gmt-midi
FUNCTION RecordAudioSample (msduration AS DWORD) AS LONG GMT_WAVE
SUB RemoveDC (WAVEHDR) Audio_DLL
SUB ReportError (id AS INTEGER) DLL
SUB ReportWaveInError (id AS INTEGER, device AS LONG)  
SUB ReportWaveOutError(id AS INTEGER, device AS LONG)  
SUB ReportMCIError (dwError AS LONG) GMT_ DLL
SUB ResetTime (a$) GMT
SUB ResetStaff () VIZ
FUNCTION ReSizeAudioTrack (TrackNr AS LONG, d AS WORD) AS LONG g_wave
FUNCTION RetrieveSample (duur AS DWORD) AS LONG g_wave dll
FUNCTION RetrieveInputWave (param AS DWORD, Sp() AS SINGLE) AS LONG g_wave dll
     
     
     
SUB Reverse (BYREF WaveIbufferheader AS WAVEHDR, BYREF WaveObufferheader AS WAVEHDR) gmt_wave/ dll
FUNCTION Richt% (i%, j%) GEN
SUB Ringmodulate (WAVEHDR,freqleft!,freqright!) G_WAVE
SUB RingmodulateTrack (tracknr, freqleft!,freqright!) G_WAVE DLL
SUB RitmeProtoType (tasknr%) GMT_DEMO
FUNCTION RitmSigma!(Ritm AS RitmeType) GMT_DLL
SUB RMouseMessageHandler (msg AS TAGMSG) GMT
FUNCTION Rol% (k%, n%) GEN
FUNCTION Ror% (k%, n%) GEN
FUNCTION RTrimWave (WAVEHDR,noiselevel) G_WAVE / DLL

S

FUNCTION SameChord (BYVAL Cnr1 AS INTEGER, BYVAL Cnr2 AS INTEGER) AS WORD GEN-DLL
SUB Samp2Har (Samp!(), H AS Harmtype) AKU
FUNCTION SaveAudioTrack (filenaam AS ASCIIZ, tracknumber as LONG) AS LONG G_WAVE
FUNCTION SaveMixerSettings(fn as string) AS LONG GMT_WMIX/DLL
Task ScaleUP () GMT
Task ScaleDOWN() GMT
FUNCTION SecSolveQual! (crd1%, crd2%) FUZ
TEXT SEQ-File format standards
SUB SetAudio (Au AS Audiotype) g_wave.dll
SUB SetMCI (BYREF MCIiD AS MCIdevicetype, BYREF AudioCD AS AudioCDtype) GMT_DLL
SUB SetPitchBendRange (Mq AS MidiEquipment,channel AS WORD, range AS BYTE) Midi_DLL
SUB SetStaff (S AS StaffType) GMT_GRAF
FUNCTION SetTc% (ChrNum%, k%) GEN
SUB Shape2Pwm (Shape!(),Pwm%(),NrTicks%) AKU
SUB Shape2Time (Shape!(), Ar!(), NrTicks%) AKU
SUB ShepChord2Rit ( h AS HarmType,tasknr AS LONG, ritbase AS BYTE, tc AS INTEGER) GMT_DLL
SUB ShiftDownStrongest (h1 AS HarmType, h2 AS HarmType) AKU
SUB ShiftHar (h1 AS HarmType, h2 AS HarmType, v%) AKU
SUB ShiftLeftOnZero () GMT_DLL
SUB ShowCrd (crd%, v%, h%) VIZ
SUB ShowHar (h AS HarmType, hor%, ver%, s!) VIZ
SUB ShowHarmFuz (b%) VIZ
SUB ShowIntroScreen (h AS LONG) GMT_DLL
SUB ShowMelFuz (b%) VIZ
SUB ShowMenuSelections (h AS LONG,_
App AS ApplicationType, Meq() AS MidiEquipment,_
DAQparams AS DataAcquisitionParameters)
GMT_DLL
SUB -task ShowMiBuf() [obsolete] GMT
SUB -task ShowMTspeed () G_MAIN DLL
SUB -task ShowMuis () GMT
SUB ShowNormArray (hW, Ar() AS SINGLE) GMT_DLL
SUB -task ShowNrTasks () [obsolete] GMT
FUNCTION ShowNote (hDC AS LONG, midinote AS BYTE, horpos AS WORD) AS WORD VIZ
SUB -task ShowPromil () G_MAIN DLL
SUB ShowPsiChord (h AS HarmType, hor%, ver%, hs%, vs%) VIZ
SUB -task ShowRSI()[obsolete] GMT OBSOLETE
SUB -task ShowTime () G_MAIN DLL
FUNCTION Sinc (a AS SINGLE) AS SINGLE DLL- G_MATH
FUNCTION SizeAudioTrack (tracknumber AS LONG, duur) AS LONG G_WAVE
SUB SliderMessageHandler (wP AS LONG,lP AS LONG) G-MAIN DLL

internal

FUNCTION SolveCnr (Cnr AS INTEGER, tc AS INTEGER) AS INTEGER DLL
FUNCTION SolveHar$ (Har AS HarmType, note%, Norm!) PSY
FUNCTION SolveMaj2$ (Har AS HarmType, note%, Norm!) PSY
FUNCTION SolveMin2$ (Har AS HarmType, note%, Norm!) PSY
FUNCTION SolveTrit$ (Har AS HarmType, note%, Norm!) PSY
SUB SortChordsOnConsonance (BYREF Akk() AS INTEGER, param AS WORD, velo AS BYTE) DLL
SUB SortChordsOnDissonance (BYREF Akk() AS INTEGER, param AS WORD, velo AS BYTE) DLL
FUNCTION SpectralNote(basenote%,number&,factor!) as INTEGER DLL
FUNCTION SpectralNoteF(basenote!,number&,factor!) AS SINGLE DLL
STRUCTURE STAFFTYPE TYPES
FUNCTION StartApplication () AS LONG GMT
  StartAudioOutStreamThread () AS LONG internal
SUB StartStopToggle() G_MAIN DLL
SUB StartSysExThread (BYREF SxThread AS GMT_SYSEX_THREAD) DLL-internal
SUB StartTask (tasknumber%) GMT
FUNCTION StartWaveInStream (param as dword) AS LONG DLL
FUNCTION StartWaveOutStream (param AS DWORD) AS LONG DLL
FUNCTION StealNoteFromHar% (H AS HarmType, oldnoot%, lowtes%,hightes%) PSY
SUB StopCD () GMT_DLL
SUB StopTask (tasknumber%) GMT
FUNCTION StretchTrack (track AS LONG, Grainlength AS DWORD, stretch AS SINGLE) AS LONG GMT_DLL
SUB SubstNtInHar (Har AS HarmType, note1%, note2%) PSY
FUNCTION SumHar$ (H1 AS HarmType, H2 AS HarmType) PSY
FUNCTION Sumvelo% (v1%, v2%) PSY
THREAD SxIn (BYVAL x AS LONG) AS LONG DLL-internal
FUNCTION SymDimHar$ (H AS HarmType, tc%) PSY PSY
SUB SysEx (BYVAL hMidiOut AS LONG, SysExString AS STRING) DLL-MIDI

T

FUNCTION Tang!(k%) GMT
FUNCTION TaskParameterHandler (h AS LONG,mW AS LONG, wP AS LONG, lp AS LONG) AS LONG G_MAIN DLL callback
FUNCTION Tonality$ (noot%, ton%) ANA
FUNCTION Tprop!(k%) GMT
FUNCTION Track2Seq (track AS LONG, lr AS LONG) AS STRING GMT_WAVE/dll
FUNCTION Track2Seq (track AS LONG, lr AS LONG, granul as single, NrNotes AS LONG, lfreq AS LONG hifreq AS LONG) AS STRING GMT_WAVE/dll
SUB TrackDuration (TrackNr AS LONG) GMT_WAVE/dll
FUNCTION TransChordNum% (crd%, n%) GEN
FUNCTION TransChordType& (Crt&, n%) GEN
SUB TransHarm (h AS Harmtype, BYVAL n AS INTEGER) PSY
FUNCTION TriangleMath (t AS TriangleType) AS DWORD g_indep
SUB TriangleWindow (Spectrum!()) AKU
SUB TrimTrack (TrackNr AS LONG, noiselevel) GMT_WAVE/dll
SUB TrimWave (WAVEHDR, noiselevel) GMT_WAVE/dll
FUNCTION TritSolveQual! (crd1%, crd2%) FUZ
     

U

SUB UpdateCockpit GMT
TEXT Users guide for GMT GMT manual

V

FUNCTION VarChord% (crd%) GEN
SUB VariSpeed (WavHDR, WavHDR) GMT_WAVE
Manual Visualisation procedures and functions VIZ

W

SUB Warning (msg AS STRING, dur AS DWORD) DLL
SUB Wave2Enveloppe (BYREF Wh AS WAVEHDR, Env() AS SINGLE, factorial AS STRING *4, ch AS STRING * 1, linlog AS STRING *3) GMT_Wave /DLL
SUB Wave2Ritm (Spectrum!(),Ritm!(),nrticks%) AKU
SUB WaveAddReverb (BYREF Wb AS WAVEHDR, NulT AS DWORD, faktor AS SINGLE) GMT_Wave/dll
SUB WaveOutFaders () GMT_WAVE
SUB wPrint (param, BYREF glist() AS STRING * 80) DLL
SUB WriteDelayLine (n?, v?) GMT_MIDI_DLL
SUB WaveDFT (Track AS LONG,offset AS DWORD,channel AS DWORD, Sp!())  
SUB WaveDFTHiRes (Track AS LONG,offset AS DWORD,channel AS DWORD, Sp!(), lb as long, ub as long)  
FUNCTION WaveDuration (BYREF Wavebufferheader AS WAVEHDR) AS DWORD GMT_WAVE/dll
SUB WindowsMessageHandler (msg AS TAGMSG) GMT
FUNCTION WinMix_GetMute (BYVAL hMix AS DWORD, BYVAL componenttype AS DWORD) AS LONG GMT_WMIX/DLL
FUNCTION WinMix_GetVolume (BYVAL hMix AS DWORD, componenttype AS DWORD, BYREF  l  AS WORD, BYREF  r  AS WORD) AS LONG GMT_WMIX/DLL
FUNCTION WinMix_Mute (BYVAL hMix AS DWORD, BYVAL componenttype AS DWORD, BYVAL mute AS LONG) AS LONG GMT_WMIX/DLL
FUNCTION WinMix_Rec_GetSelect (BYVAL hMix AS DWORD) AS STRING GMT_WMIX/DLL
FUNCTION WinMix_Rec_GetVolume (BYVAL hMix AS DWORD, componenttype AS DWORD, BYREF  l  AS WORD, BYREF  r  AS WORD) AS LONG GMT_WMIX/DLL
FUNCTION WinMix_Rec_Select (BYVAL hMix AS DWORD, BYVAL componenttype AS STRING) AS LONG GMT_WMIX/DLL
FUNCTION WinMix_Rec_SetVolume (BYVAL hMix AS DWORD, componenttype AS DWORD, BYVAL  l  AS WORD, BYVAL  r  AS WORD) AS LONG GMT_WMIX/DLL
FUNCTION WinMix_SetVolume (BYVAL hMix AS DWORD, componenttype AS DWORD, BYVAL  l  AS WORD, BYVAL  r  AS WORD) AS LONG GMT_WMIX/DLL
FUNCTION WndProc (h AS LONG,wm AS LONG, wP AS LONG, lP AS LONG) AS LONG GMT
FUNCTION WriteAudioTrack (f AS ASCIIZ, Wh AS WAVEHDR) AS LONG DLL
SUB WriteHar2File (Har AS HarmType, track%, filenr%) FIL
SUB -task WriteSeqScore () GMT
FUNCTION WriteWaveData (filename AS ASCIIZ, WaveData AS LONG, dwWaveDataSize AS DWORD) GMT_AKU/WAVE removed from library, replaced by WriteAudioTrack

X

SUB XcCar (C#, f#, G AS Complex) g_math DLL
SUB XcPol (C#, f#, G AS Polar) g_math DLL
FUNCTION XLAT_TMSF_2_MS (TMFS AS DWORD) AS DWORD GMT DLL
SUB XlCar (L#, f#, G AS Complex) g_math DLL
SUB XlPol (L#, f#, G AS Polar) g_math DLL

Y

TEXT    

Z

TEXT    

TOP OF PAGE <Introduction> <General Functions>
<Fuzzy Functions> <Analysis Functions> <Acoustical & Audio Functions>
<Visualisation Functions> <File Management> <GMT-Manual>

Visit Godfried-Willem Raes' homepage for more information and software… 


First published on the web in hypertext html format on July 30th 1997 by Godfried-Willem Raes

Last Update 04-11-02,  Version 7.68

EXIT our <GMT> Website