8.2.2.3. High-level audiofile function
(packages/audiofile/audiofile.lsh)




8.2.2.3.0. (audiofile-read f)
(packages/audiofile/audiofile.lsh)


read a audio from file f and return the result in an IDX. The type of the idx (ubyte, short, int, float, double) depends on the content of the audiofile. Reading a WAV file can also be done using SDL.

8.2.2.4. Reading audio frames into IDXes.
(packages/audiofile/audiofile.lsh)




8.2.2.4.0. (afreadframes_idx-short s track mat framecount)
(packages/audiofile/audiofile.lsh)




8.2.2.4.1. (afreadframes_idx-int s track mat framecount)
(packages/audiofile/audiofile.lsh)




8.2.2.4.2. (afreadframes_idx-float s track mat framecount)
(packages/audiofile/audiofile.lsh)




8.2.2.4.3. (afreadframes_idx-double s track mat framecount)
(packages/audiofile/audiofile.lsh)




8.2.2.5. Individual Audiofile Function Prototypes
(packages/audiofile/audiofile.lsh)




8.2.2.5.0. (afseterrorhandler efunc)
(packages/audiofile/audiofile.lsh)




8.2.2.5.1. (afquery querytype arg1 arg2 arg3 arg4)
(packages/audiofile/audiofile.lsh)




8.2.2.5.2. (afquerylong querytype arg1 arg2 arg3 arg4)
(packages/audiofile/audiofile.lsh)




8.2.2.5.3. (afquerydouble querytype arg1 arg2 arg3 arg4)
(packages/audiofile/audiofile.lsh)




8.2.2.5.4. (afquerypointer querytype arg1 arg2 arg3 arg4)
(packages/audiofile/audiofile.lsh)




8.2.2.5.5. (afnewfilesetup)
(packages/audiofile/audiofile.lsh)




8.2.2.5.6. (affreefilesetup s)
(packages/audiofile/audiofile.lsh)




8.2.2.5.7. (afidentifyfd s)
(packages/audiofile/audiofile.lsh)




8.2.2.5.8. (afidentifynamedfd s filename implemented)
(packages/audiofile/audiofile.lsh)




8.2.2.5.9. (afopenfile filename mode setup)
(packages/audiofile/audiofile.lsh)




8.2.2.5.10. (afopenfd fd mode setup)
(packages/audiofile/audiofile.lsh)




8.2.2.5.11. (afopennamedfd fd mode setup filename)
(packages/audiofile/audiofile.lsh)




8.2.2.5.12. (afsyncfile file)
(packages/audiofile/audiofile.lsh)




8.2.2.5.13. (afclosefile file)
(packages/audiofile/audiofile.lsh)




8.2.2.5.14. (afinitfileformat s format)
(packages/audiofile/audiofile.lsh)




8.2.2.5.15. (afgetfileformat s version)
(packages/audiofile/audiofile.lsh)




8.2.2.5.16. (afinittrackids s trackids trackcount)
(packages/audiofile/audiofile.lsh)




8.2.2.5.17. (afgettrackids s trackids)
(packages/audiofile/audiofile.lsh)




8.2.2.5.18. (afreadframes s track buffer framecount)
(packages/audiofile/audiofile.lsh)




8.2.2.5.19. (afwriteframes s track buffer framecount)
(packages/audiofile/audiofile.lsh)




8.2.2.5.20. (afseekframe s track frameoffset)
(packages/audiofile/audiofile.lsh)




8.2.2.5.21. (aftellframe s track)
(packages/audiofile/audiofile.lsh)




8.2.2.5.22. (afgettrackbytes s track)
(packages/audiofile/audiofile.lsh)




8.2.2.5.23. (afgetframesize s track expand3to4)
(packages/audiofile/audiofile.lsh)




8.2.2.5.24. (afgetvirtualframesize s track expand3to4)
(packages/audiofile/audiofile.lsh)




8.2.2.5.25. (afinitaeschanneldatato s track willbedata)
(packages/audiofile/audiofile.lsh)




8.2.2.5.26. (afgetaeschanneldata s track buf)
(packages/audiofile/audiofile.lsh)




8.2.2.5.27. (afsetaeschanneldata s track buf)
(packages/audiofile/audiofile.lsh)




8.2.2.5.28. (afinitbyteorder s track byteorder)
(packages/audiofile/audiofile.lsh)




8.2.2.5.29. (afgetbyteorder s track)
(packages/audiofile/audiofile.lsh)




8.2.2.5.30. (afsetvirtualbyteorder s track byteorder)
(packages/audiofile/audiofile.lsh)




8.2.2.5.31. (afgetvirtualbyteorder s track)
(packages/audiofile/audiofile.lsh)




8.2.2.5.32. (afinitchannels s track nchannels)
(packages/audiofile/audiofile.lsh)




8.2.2.5.33. (afgetchannels s track)
(packages/audiofile/audiofile.lsh)




8.2.2.5.34. (afsetvirtualchannels s track channelcount)
(packages/audiofile/audiofile.lsh)




8.2.2.5.35. (afgetvirtualchannels s track)
(packages/audiofile/audiofile.lsh)




8.2.2.5.36. (afsetchannelmatrix s track matrix)
(packages/audiofile/audiofile.lsh)




8.2.2.5.37. (afinitsampleformat s track sampleformat samplewidth)
(packages/audiofile/audiofile.lsh)




8.2.2.5.38. (afgetsampleformat file track sampfmt sampwidth)
(packages/audiofile/audiofile.lsh)




8.2.2.5.39. (afgetvirtualsampleformat file track sampfmt sampwidth)
(packages/audiofile/audiofile.lsh)




8.2.2.5.40. (afsetvirtualsampleformat s track sampleformat samplewidth)
(packages/audiofile/audiofile.lsh)




8.2.2.5.41. (afinitrate s track rate)
(packages/audiofile/audiofile.lsh)




8.2.2.5.42. (afgetrate s track)
(packages/audiofile/audiofile.lsh)




8.2.2.5.43. (afinitcompression s track compression)
(packages/audiofile/audiofile.lsh)




8.2.2.5.44. (afgetcompression s track)
(packages/audiofile/audiofile.lsh)




8.2.2.5.45. (afinitpcmmapping filesetup track slope intercept minclip maxclip)
(packages/audiofile/audiofile.lsh)




8.2.2.5.46. (afgetpcmmapping file track slope intercept minclip maxclip)
(packages/audiofile/audiofile.lsh)




8.2.2.5.47. (afsettrackpcmmapping file track slope intercept minclip maxclip)
(packages/audiofile/audiofile.lsh)




8.2.2.5.48. (afsetvirtualpcmmapping file track slope intercept minclip maxclip)
(packages/audiofile/audiofile.lsh)




8.2.2.5.49. (afgetvirtualpcmmapping file track slope intercept minclip maxclip)
(packages/audiofile/audiofile.lsh)




8.2.2.5.50. (afinitdataoffset s track offset)
(packages/audiofile/audiofile.lsh)




8.2.2.5.51. (afgetdataoffset s track)
(packages/audiofile/audiofile.lsh)




8.2.2.5.52. (afinitframecount s track framecount)
(packages/audiofile/audiofile.lsh)




8.2.2.5.53. (afgetframecount file track)
(packages/audiofile/audiofile.lsh)




8.2.2.5.54. (afinitloopids s instid ids nids)
(packages/audiofile/audiofile.lsh)




8.2.2.5.55. (afgetloopids s instid loopids)
(packages/audiofile/audiofile.lsh)




8.2.2.5.56. (afsetloopmode s instid loop mode)
(packages/audiofile/audiofile.lsh)




8.2.2.5.57. (afgetloopmode s instid loopid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.58. (afsetloopcount s instid loop count)
(packages/audiofile/audiofile.lsh)




8.2.2.5.59. (afgetloopcount s instid loopid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.60. (afsetloopstart s instid loopid markerid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.61. (afgetloopstart s instid loopid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.62. (afsetloopend s instid loopid markerid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.63. (afgetloopend s instid loopid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.64. (afsetloopstartframe s instid loop startframe)
(packages/audiofile/audiofile.lsh)




8.2.2.5.65. (afgetloopstartframe s instid loop)
(packages/audiofile/audiofile.lsh)




8.2.2.5.66. (afsetloopendframe s instid loop startframe)
(packages/audiofile/audiofile.lsh)




8.2.2.5.67. (afgetloopendframe s instid loop)
(packages/audiofile/audiofile.lsh)




8.2.2.5.68. (afsetlooptrack s instid loopid trackid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.69. (afgetlooptrack s instid loopid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.70. (afinitmarkids s trackid ids nids)
(packages/audiofile/audiofile.lsh)




8.2.2.5.71. (afgetmarkids file trackid markids)
(packages/audiofile/audiofile.lsh)




8.2.2.5.72. (afsetmarkposition file trackid markid markpos)
(packages/audiofile/audiofile.lsh)




8.2.2.5.73. (afgetmarkposition file trackid markid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.74. (afinitmarkname s trackid marker name)
(packages/audiofile/audiofile.lsh)




8.2.2.5.75. (afinitmarkcomment s trackid marker comment)
(packages/audiofile/audiofile.lsh)




8.2.2.5.76. (afgetmarkname file trackid markid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.77. (afgetmarkcomment file trackid markid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.78. (afinitinstids s ids nids)
(packages/audiofile/audiofile.lsh)




8.2.2.5.79. (afgetinstids file instids)
(packages/audiofile/audiofile.lsh)




8.2.2.5.80. (afgetinstparams file instid pvlist nparams)
(packages/audiofile/audiofile.lsh)




8.2.2.5.81. (afsetinstparams file instid pvlist nparams)
(packages/audiofile/audiofile.lsh)




8.2.2.5.82. (afgetinstparamlong file instid param)
(packages/audiofile/audiofile.lsh)




8.2.2.5.83. (afsetinstparamlong file instid param value)
(packages/audiofile/audiofile.lsh)




8.2.2.5.84. (afinitmiscids s ids nids)
(packages/audiofile/audiofile.lsh)




8.2.2.5.85. (afgetmiscids s ids)
(packages/audiofile/audiofile.lsh)




8.2.2.5.86. (afinitmisctype s miscellaneousid type)
(packages/audiofile/audiofile.lsh)




8.2.2.5.87. (afgetmisctype s miscellaneousid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.88. (afinitmiscsize s miscellaneousid size)
(packages/audiofile/audiofile.lsh)




8.2.2.5.89. (afgetmiscsize s miscellaneousid)
(packages/audiofile/audiofile.lsh)




8.2.2.5.90. (afwritemisc s miscellaneousid buf bytes)
(packages/audiofile/audiofile.lsh)




8.2.2.5.91. (afreadmisc s miscellaneousid buf bytes)
(packages/audiofile/audiofile.lsh)




8.2.2.5.92. (afseekmisc s miscellaneousid offset)
(packages/audiofile/audiofile.lsh)


********************************************************