This is the official account for open source projects from WarmPlace.ru
pixicoder / ps Goto Github PK
View Code? Open in Web Editor NEWSingle file synth + demo song
License: MIT License
Single file synth + demo song
License: MIT License
This is the official account for open source projects from WarmPlace.ru
Hi, i've compiled this source on windows-32bit, but some modifications are needed:
Replacing the line:
#include <unistd.h>
with:
//header swap, using unistd.h in *n*x,
//windows users will use windows.h with sleep() function overrride
#ifdef __unix__
# include <unistd.h>
#elif defined _WIN32
# include <windows.h>
#define sleep(x) Sleep(1000 * (x))
#endif
And for compiling, i've used this config:
Instructions used for Dev-C++:
-IDE used: Dev-C++ Orwell 5.2.0.0 32bit
-Compiler parameters used: -std=gnu99
-Linker parameters used: -static-libstdc++ -static-libgcc -lmingw32 -lSDL2main -lSDL2
Instructions used for MinGW:
-Version: MinGW-w64 v8.1.0
-Command line used:
gcc ps.c ^
-Ic:\MinGW\mingw32\include ^
-IC:\MinGW\mingw32\i686-w64-mingw32\include ^
-Lc:\MinGW\mingw32\lib ^
-LC:\MinGW\mingw32\i686-w64-mingw32\lib ^
-static-libstdc++ ^
-static-libgcc ^
-lmingw32 ^
-lSDL2main ^
-lSDL2 ^
-Os ^
-o ps.exe
-Make sure SDL2 is placed correctly
P.D.: Tested the executable, and the exported wav and sounds identical to the youtube video about this project.
Some suggestions for basic repository settings:
Disable unused widgets ( Releases , Packages )
Disable unused tabs ( Actions , Projects )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.