Skip to content

grigoart/fel-iim-iimdm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Drum machine

Basic drum machine written in C++ using iimavlib library.

Compile and build

Prepare

Add to examples/CMakeLists.txt file inside IF (BUILD_EXAMPLES) IF(SDL_FOUND) block:

add_executable(app app.cpp)
target_link_libraries ( app  ${EX_LIBS} )
install(TARGETS app RUNTIME DESTINATION bin)

Copy app.cpp file to examples/.

Configure

./prepare_linux.sh

Make

cd build
make

Binaries

./bin/app

How to use

These instructions will show you how to start and use this program.

Synopsis

Device id has to be specified as first argument. If you want to use default device, use "DEFAULT" keyword.

./app <device id|DEFAULT> [wav files or directories]

Wav files should have sample rate 44.1 kHz with 16 bits per sample.

Examples

Launch with default device and without any wav file:

./app DEFAULT

Launch with device having id = "hw:0,0" and with two wav files:

./app "hw:0,0" ./wav/kick.wav ./wav/snare.wav

Launch with default device and with directory, containing several wav files:

./app DEFAULT ./wav

GUI

Screenshot

Control panel

  1. Stop / Play button
  2. Hotkeys
  3. Color schemes
  4. Paginator
  5. Master volume controller
  6. Tempo controller

Grid layout (sequence editor)

  1. Track name
  2. Blue button - reverse playback, green button - toggle mute
  3. Active grid cells
  4. Inactive grid cells
  5. Per track volume controller

About

Basic drum machine using iimavlib library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages