AuFileFormats(3)

πŸ’– NAME πŸ’–

okay so bestie, this is AuFileFormats(3) from the audiolib library functions manual β€” and it's literally just the tea on audio file formats. which ones exist, what machines they came from, and which data formats each one can hold. that's it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

first things first, you gotta pull in the header, no cap:

#include <audio/audiolib.h>

and then β€” as of right now, bestie, currently β€” these are the file formats we support:

  • SoundFileFormatSnd
  • SoundFileFormatVoc
  • SoundFileFormatWave
  • SoundFileFormatAiff
  • SoundFileFormatSvx

that's the whole roster. five of them. icons only. πŸ‘‘


✨ DESCRIPTION ✨

so each of these little format constants is its own whole personality, and here's the breakdown πŸ¦‹

πŸŽ€ SoundFileFormatSnd

this one is the format used by Sun and NeXT machines β€” vintage, lowkey legendary, very much giving old-school workstation energy. it supports these data formats:

  • AuFormatULAW8
  • AuFormatLinearUnsigned8
  • AuFormatLinearSigned16MSB

πŸŽ€ SoundFileFormatVoc

this is the Creative Labs VOC file format. yes, that Creative Labs. it keeps it simple and supports exactly one data format:

  • AuFormatLinearUnsigned8

πŸŽ€ SoundFileFormatWave

the Microsoft WAVE file format, aka the one you've definitely seen a million times. it supports:

  • AuFormatLinearUnsigned8
  • AuFormatLinearSigned16LSB

πŸŽ€ SoundFileFormatAiff

this is the format used by Apple and SGI machines β€” cross-platform bestie behaviour, we love to see it. it supports:

  • AuFormatLinearSigned8
  • AuFormatLinearSigned16MSB

πŸŽ€ SoundFileFormatSvx

and this one is the format used on Amigas πŸ’œ retro girlies rise up. it supports just the one:

  • AuFormatLinearSigned8

πŸ‘€ SEE ALSO πŸ‘€

go read up on the data side of things too, they're the whole other half of the story:

  • AuDataFormats

and obviously:

  • audiolib β€” Network Audio System C Language Interface

lowkey a lil' reminder bestie: if you're mixing and matching formats, double-check which data format your chosen file format actually supports, because not every combo is a match. the list above is the whole guest list, fr fr. πŸ’…

and that's a wrap on AuFileFormats(3) from the audiolib 1.9.4 era β€” tysm for reading, mwah, go make something sound cute πŸ«Άβœ¨πŸ’–

πŸ“¦ where this page comes from