create a cpp test file with each of the examples as a function. Generate a sample pack. NOTE: This should be separate from the main catch2 unit tests.
Think of some way to link the audio files back to the documentation? Perhaps a plugin for the documentation generator, or perhaps a we use a link (or embedded audio file) to determine the write path of the example files.
sounds like a faff but could be easier enough.
``example {FILENAME}
Perhaps a convention that the last line of the example is an expression for the signal to record.