Pywheels is an application for musicians who wants to create compositions based upon repeated phrases.
In configuration file settings.py, you can adjust size, color, and section of loops and level of sounds in loops.
This application is based upon pygame library and also uses pyaudio and wave libraries.
pygame, pyaudio, wave.
Installation and run
To run the application on linux you need to copy all files from the repository and run main.py. You probably should set execution permissions on for main.py.
How It works
In default configuration key B used for start record time of synchronization and play clicks of synchronization.
If you want to stop synchronization sound (beep) you need press B again.
To start record sound in current loop (it has bold border) you need press key C. And then you need press only this key (C), to start play current loop and record next loop.
If you want to start record new section of loops you need select next section ( press key V ).
After you decide all sections is ready you can toggle it pressing key X.
If you have a mistake in current record you can erase last loop pressing key Z.
To erase all loops in all sections you can press key Q.
To adjust level sound you can use wheel of mouse.
To mute and unmute sound use spacebar.
If you have thoughts how to make the code better I would be pleased to hear it.
This is a free software. You can use it for any purposes, but you should make a link to this repo.
Yaroslav Pisarev firstname.lastname@example.org