c# - Embed metadata in wave-files saved with NAudio -
i working on software able generate "single cycle waveforms" based on basic waveforms, , operations performed on these (simplified). of have added abillity import wavefiles (as "hand-drawn" waveform) , simple play-back feature (using naudio), let user listen waveforms being generated.
the purpose of generating these waveforms, export them external/separate wavefiles ("single cycle waveforms" and/or wave-tables), can loaded synthesizers/samplers , used music-production.
however beside raw-data (the waveforms) embed loop-markers (loop-start/end) along root-key , on. know if possible naudio, , if how?
wave files consist of series of riff chunks. there 2 must present - format chunk , data chunk, more can added, , there standard ones might suit needs. naudio doesn't have built in support writing arbitrary chunks, wavefilewriter
can overridden include writing custom chunks. example of cuewavefilewriter
class might useful loop markers.
an alternative creating .sfz files supported many samplers, , simple text format describes how wav samples used.
Comments
Post a Comment