Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
epezent committed Feb 1, 2020
1 parent 51bc393 commit faf5c2a
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Open a Terminal in a directory of your choice and run the following commands:
> cd Syntacts
> mkdir build && cd build
> cmake .. -DCMAKE_BUILD_TYPE="Release"
> cmake --build .
> sudo cmake --build . --target install
```

This will build **Syntacts** in its entirety and it install them to your system (likely in `/user/local/...`).
Expand Down
6 changes: 3 additions & 3 deletions csharp/Example.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static void Main(string[] args)
Library.LoadSignal(out loaded, "csharp");

s.PlayAll(loaded);
Sleep(loaded.length)
Sleep(loaded.length);

Signal noise = new Noise();
Spatializer sp = new Spatializer(s);
Expand All @@ -51,8 +51,8 @@ static void Main(string[] args)
s.Dispose(); // important!
}

void Sleep(double seconds) {
Thread.Sleep((int)(seconds*1000))
static void Sleep(double seconds) {
Thread.Sleep((int)(seconds*1000));
}
}

4 changes: 3 additions & 1 deletion dll/syntacts-c.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,6 @@ EXPORT Handle Library_importSignal(const char* filePath, int format, int sampleR
// DEBUG
///////////////////////////////////////////////////////////////////////////////

EXPORT int Debug_sigMapSize();
EXPORT int Debug_sigMapSize();

///////////////////////////////////////////////////////////////////////////////
27 changes: 27 additions & 0 deletions unity/SyntactsDemo/Assets/Plugins/syntacts-c-d.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit faf5c2a

Please sign in to comment.