cienicera / cairo-wave

An implementation of the WAVE file format in Cairo
MIT License
6 stars 11 forks source link

Generalize wave generators to handle custom bit-depth #10

Closed tekkac closed 3 months ago

tekkac commented 4 months ago

ODHack

Description

Generalize all wave generators in utils.cairo with a custom bit_depth parameter so that they handle a custom bit-depth. Must handle at least: 4-bit, 8-bit (current), 16-bit, 24-bit

Wiki Resource on bit-depth

Additional Information

[Medium Difficulty - Cairo - Medium Priority]

Acceptance Criteria

silent-cipher commented 4 months ago

Hii @tekkac , I have went through the code and thought of handling this issue. If it's fine I would like to tackle this issue.