Skip to content
/ PS Public
forked from Mr-Precise/PS

Single file synth + demo song

License

Notifications You must be signed in to change notification settings

DecuBan/PS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P.S. is a music track written from scratch using the C programming language. All sounds and notes were entered manually without using any music programs. One single source file contains synth code, patterns and player. No third party libraries are used except SDL2 to output the audio stream.


Added support cmake build system.

Linux - macOS build:

mkdir build && cd build
cmake -G "Unix Makefiles" ..
make

MinGW32 or MXE CrossCompiling:

mkdir build && cd build
cmake -G "Unix Makefiles" .. -DCMAKE_TOOLCHAIN_FILE=Your-CrossCompiling-Toolchain-file.cmake
make

Windows build:

cmake -G "Visual Studio 16 2019" -A x64 -B "build"

Open .sln in Visual Studio... etc...


Usage:

  • just play the song: ./ps
  • export to WAV: ./ps -o filename.wav

Press CTRL+C to exit

by NightRadio
https://warmplace.ru
[email protected]
2005 - 2021

About

Single file synth + demo song

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.5%
  • CMake 1.5%