This library is still under development and has not reached v1.0.0 yet and is currently under preview.
Pronounced Castle, CASL is an acronym for (C)ross-platform (A)udio and (S)ound (L)ibrary
CASL is a simplistic cross-platform, .NET library for playing and managing sounds powered by OpenAL 1.1 using software rendering. This is accomplished by using low level bindings to the native OpenAL library.
This can be used for applications such as video games, sound players, and works on any .NET 5.0 compliant platform.
Currently this library can play .ogg and .mp3 file formats. There are plans to support .wav files in the future as well as other possible sound formats.
We strive for CASL to be a cross platform library by running under .NET v5.0. There are plans for this library to continually be updated as we approach .NET 6.0 and beyond.
We currently have the following maintainers:
- Goto the Table Of Contents for instructions on various things such as the branching, release process, environment setup and more.
CASL encourages and uses Early Pull Requests. Please don't wait until you're finished with your work before creating a PR.
- Fork the repository
- Create a feature branch following the feature branch section in the documentation here
- Add an empty commit to the new feature branch to start your work off.
- Use this git command:
git commit --allow-empty -m "start of [thing you're working on]"
- Use this git command:
- Once you've pushed a commit, open a draft pull request. Do this before you actually start working.
- Make your commits in small, incremental steps with clear descriptions.
- All unit tests must pass before a PR will be completed.
- Make sure that the code follows the the coding standards.
- Pay attention to the warnings in Visual Studio!!
- Refer to the .editorconfig files in the code base for rules
- Tag a maintainer when you're done and ask for a review!
If you have any questions, contact a project maintainer
- The code base is highly tested using unit testing with a high level of code coverage. When contributing, make sure to add or adjust the unit tests appropriately regarding your changes.
- We use a combination of StyleCop and Microsoft.CodeAnalysis.NetAnalyzers libraries for maintaining coding standards.
- We understand that there are some exceptions to the rule and not all coding standards fit every situation. In these scenarios, contact a maintainer and lets discuss it!! Warnings can always be suppressed if need be.
- We use semantic versioning 2.0 for versioning.
- A sample project CASLTesting can be found in the Testing Folder
- This project serves the purpose of a sample project as well as a simple way to do manual testing of the library
- Goto OpenAL for more information and documentation.
- Checkout NVorbis for dealing with .ogg data.
- Checkout MP3Sharp for dealing with .mp3 data.
CASL is distributed under the very permissive MIT license and all dependencies are distributed under MIT-compatible licenses. This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.