Skip to content

Commit c0fe88f

Browse files
committed
Developed for C++
2 parents 5553c7c + 209aaa3 commit c0fe88f

17 files changed

+376
-998
lines changed

README.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,45 @@ Using this library, you can create simple wave file quickly.
33

44
## Description
55

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++.
6+
With this, you can write code to create audio files quickly.:dash: And you can create audio files without struggle with binary files!:ok_hand:
7+
Even if you are not good at file operations, you can write code intuitively!:smile:
8+
9+
This library was originally developed for C#, but now, it is developed for C++.
10+
This project has been reborn for C++!:clap:
11+
It means this library doesn't depend on .NET framework!:relaxed:
12+
If you want to use this on C#, you can download C# edition in the release page but it maybe not latest version.
913

1014
## Requirement
1115

12-
C# library depends on .NET framework.
16+
This project depends on nothing.
1317

1418
## Usage
1519

20+
If you want to make wavefile, you can do only following code with WaveFileManager.
1621
```C++
17-
//#include "WaveFileManager.h"
22+
//#include "wavefile_manager.h"
23+
24+
//Declare variables
1825
WaveFileManager waveFile;
1926
MusicPropertyMonaural16bit prop16bit;
2027
short soundData[44100 * 2];
28+
2129
//Generate sound data (440Hz)
2230
GenerateSoundMonaural16bits(soundData, 440);
2331
prop16bit = GenerateMonaural16bits(soundData, 44100 * 2);
32+
33+
//Create WaveFile
2434
waveFile.CreateFile("C:\\capra.wav", prop16bit);
2535
```
2636
2737
## Install
2838
29-
Go to [ReleasePage](https://github.com/capra314cabra/WaveFileManagerLibrary/releases) or Download [Code](https://github.com/capra314cabra/WaveFileManagerLibrary)
39+
1. Go to [ReleasePage](https://github.com/capra314cabra/WaveFileManagerLibrary/releases) and
40+
download the files.
41+
(or go to [GitHome](https://github.com/capra314cabra/WaveFileManagerLibrary)and download the zipfile)
42+
2. Include the files to your project.
43+
44+
Only this.
3045
3146
## Contribution
3247

WaveFileManager.sln

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.27428.2043
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WaveFileManager", "WaveFileManager\WaveFileManager.csproj", "{73248112-9ED2-4305-9133-9259E3C78CB4}"
7-
EndProject
86
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WaveFileManagerCPP", "WaveFileManagerCPP\WaveFileManagerCPP.vcxproj", "{B6D0C2CA-B876-47DE-84FB-AAA07E546E4B}"
97
EndProject
108
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WaveFileTester", "WaveFileTester\WaveFileTester.vcxproj", "{222A08F3-968F-4FB5-91EC-832B53025EE5}"
@@ -19,18 +17,6 @@ Global
1917
Release|x86 = Release|x86
2018
EndGlobalSection
2119
GlobalSection(ProjectConfigurationPlatforms) = postSolution
22-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Debug|Any CPU.Build.0 = Debug|Any CPU
24-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Debug|x64.ActiveCfg = Debug|Any CPU
25-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Debug|x64.Build.0 = Debug|Any CPU
26-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Debug|x86.ActiveCfg = Debug|Any CPU
27-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Debug|x86.Build.0 = Debug|Any CPU
28-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Release|Any CPU.ActiveCfg = Release|Any CPU
29-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Release|Any CPU.Build.0 = Release|Any CPU
30-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Release|x64.ActiveCfg = Release|Any CPU
31-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Release|x64.Build.0 = Release|Any CPU
32-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Release|x86.ActiveCfg = Release|Any CPU
33-
{73248112-9ED2-4305-9133-9259E3C78CB4}.Release|x86.Build.0 = Release|Any CPU
3420
{B6D0C2CA-B876-47DE-84FB-AAA07E546E4B}.Debug|Any CPU.ActiveCfg = Debug|Win32
3521
{B6D0C2CA-B876-47DE-84FB-AAA07E546E4B}.Debug|x64.ActiveCfg = Debug|x64
3622
{B6D0C2CA-B876-47DE-84FB-AAA07E546E4B}.Debug|x64.Build.0 = Debug|x64

WaveFileManager/AssistantFunc.cs

Lines changed: 0 additions & 28 deletions
This file was deleted.

WaveFileManager/CreateInstance.cs

Lines changed: 0 additions & 41 deletions
This file was deleted.

WaveFileManager/DefineDataType.cs

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)