Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional wave/oscillator sample formats #354

Open
olofson opened this issue Oct 11, 2022 · 0 comments
Open

Additional wave/oscillator sample formats #354

olofson opened this issue Oct 11, 2022 · 0 comments
Labels
enhancement Minor features, and improvements on existing functionality feature Entirely new features

Comments

@olofson
Copy link
Owner

olofson commented Oct 11, 2022

Currently, waves are hardcoded to 16 bit integer mono, with 10 mipmap levels. (This will soon change to 32 bit float; see #351.)

This is probably a good starting point for simplicity and flexibility, especially for the original intended use case: Short looping oscillator and "granule" waveforms. Wave data matches internal DSP sample format, and any channel configuration is built on one or more mono channels.

However, we may want to use interleaved multichannel formats for stereo, 5.1 and whatnot, for a smaller CPU cache footprint, and for longer duration sounds (as in, imported samples/audio tracks), it's also highly desirable to have the option of using alternative sample formats (16 bit, ADPCM, ...), and to reduce or disable mipmapping.

@olofson olofson added enhancement Minor features, and improvements on existing functionality feature Entirely new features labels Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Minor features, and improvements on existing functionality feature Entirely new features
Projects
None yet
Development

No branches or pull requests

1 participant