Skip to content

Commit 9466caa

Browse files
committed
Add README.md
2 parents 339c7de + 5bab6dc commit 9466caa

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# WaveFileManagerLibrary
2+
Using this library, you can create simple wave file quickly.
3+
4+
## Description
5+
6+
With this you can write code to quickly create audio files. You can create audio files without struggle with binary files.
7+
Even if you are not good at file operations, you can write code intuitively.
8+
Since this library was originally developed for C#, there may be problems with the porting process to C++.
9+
10+
## Requirement
11+
12+
C# library depends on .NET framework.
13+
14+
## Usage
15+
16+
```C++
17+
//#include "WaveFileManager.h"
18+
WaveFileManager waveFile;
19+
MusicPropertyMonaural16bit prop16bit;
20+
short soundData[44100 * 2];
21+
//Generate sound data (440Hz)
22+
GenerateSoundMonaural16bits(soundData, 440);
23+
prop16bit = GenerateMonaural16bits(soundData, 44100 * 2);
24+
waveFile.CreateFile("C:\\capra.wav", prop16bit);
25+
```
26+
27+
## Install
28+
29+
Go to [ReleasePage](https://github.com/capra314cabra/WaveFileManagerLibrary/releases) or Download [Code](https://github.com/capra314cabra/WaveFileManagerLibrary)
30+
31+
## Contribution
32+
33+
1. Fork it
34+
2. Create your feature branch (git checkout -b my-new-feature)
35+
3. Commit your changes (git commit -am 'Add some feature')
36+
4. Push to the branch (git push origin my-new-feature)
37+
5. Create new Pull Request
38+
39+
## Licence
40+
41+
[MIT](https://github.com/capra314cabra/WaveFileManagerLibrary/blob/master/LICENSE)
42+
43+
## Author
44+
45+
[capra314cabra](https://github.com/capra314cabra)

0 commit comments

Comments
 (0)