Sourcetype instrument = {name : string;finetune : int;volume : int;loop_start : int;loop_length : int;data : string;
} Sourcetype cell = {instrument : int;period : int;fx : int;param : int;
} Sourcetype song = {title : string;instruments : instrument array;restart : int;positions : int array;patterns : cell array array array;tag : string;
} Sourceval channels_of_tag : string -> int option Sourceval note_name : int -> string Sourceval period_of_name : string -> int option Sourceval data_of_floats : float array -> string