Sztakler / sound-synthesizer

Simple 88-keys 8-bit piano

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

8-bit Grand Piano

This is my dubious attempt to create a simple 8-bit piano in C++/SFML. Key feature of this piano is that it doesn't play prerecorded samples but calculates them during compilation.

Features

  • active key highlighting,
  • polyphonic,
  • sine and square waveforms,
  • 88 keys,
  • poor coding

Some screenshots

How to play

First, You need SFML library installed. If you're a Linux user, it can be simply done by entering your terminal via Ctrl+Alt+T and typing

sudo apt-get install libsfml-dev

You'll need the program itself, so don't forget to

git clone https://github.com/Sztakler/sound-synthesizer

Then you can make and execute this program typing

make && ./sound-synthesizer

Otherwise simple

g++ src/*.cpp -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio && ./a.out

should do the work.

Important note

I strongly recommend not playing any other sounds on your computer while using this synthesizer nor recording anything. It may lead to some serious issues with sampling (earrape warning).

About

Simple 88-keys 8-bit piano


Languages

Language:C++ 97.7%Language:Makefile 2.3%