Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xstreck1 authored Jun 13, 2016
1 parent fd04219 commit d6f3487
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Use
---
When using from C++, include "libpyincpp.h". When using from C, include "libpyinc.h". In both cases link against LibPyin.

### Can I use LibPyin Source in My Code?
Absolutelly, just copy-paste the source folder to your project and add it to the include path.

Examples
--------
There is C, C++, and C# example present. Each example generates a short sine-wave of 440 hz and extracts the frequency from the wave.
Expand All @@ -31,7 +34,7 @@ For each example first compile the library.

### C++ example on Unix

gcc main.cpp -L"." -lLibPyin -std=c++11
g++ main.cpp -L"." -lLibPyin -std=c++11
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. // Add the current location to the path so the library is loaded
./a.out

Expand Down

0 comments on commit d6f3487

Please sign in to comment.