Sampled Instrument Player with static and monolithic design. All instruments are built-in.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Nils ece26074a0 new cbox 11 months ago
..
drvjunk new qt toggle button widget and one more calfbox debug print 2 years ago
experiments new qt toggle button widget and one more calfbox debug print 2 years ago
py new cbox 11 months ago
.gitignore update template 1 year ago
API new qt toggle button widget and one more calfbox debug print 2 years ago
AUTHORS new qt toggle button widget and one more calfbox debug print 2 years ago
COPYING new qt toggle button widget and one more calfbox debug print 2 years ago
ChangeLog new qt toggle button widget and one more calfbox debug print 2 years ago
INSTALL new qt toggle button widget and one more calfbox debug print 2 years ago
Makefile.am new qt toggle button widget and one more calfbox debug print 2 years ago
NEWS new qt toggle button widget and one more calfbox debug print 2 years ago
README new qt toggle button widget and one more calfbox debug print 2 years ago
README.md new qt toggle button widget and one more calfbox debug print 2 years ago
adhoc_example.py new qt toggle button widget and one more calfbox debug print 2 years ago
app.c new qt toggle button widget and one more calfbox debug print 2 years ago
app.h new qt toggle button widget and one more calfbox debug print 2 years ago
appmenu.c new qt toggle button widget and one more calfbox debug print 2 years ago
autogen.sh new qt toggle button widget and one more calfbox debug print 2 years ago
auxbus.c new qt toggle button widget and one more calfbox debug print 2 years ago
auxbus.h new qt toggle button widget and one more calfbox debug print 2 years ago
background_example.py new qt toggle button widget and one more calfbox debug print 2 years ago
biquad-float.h new qt toggle button widget and one more calfbox debug print 2 years ago
blob.c new qt toggle button widget and one more calfbox debug print 2 years ago
blob.h new qt toggle button widget and one more calfbox debug print 2 years ago
cboxrc-example new qt toggle button widget and one more calfbox debug print 2 years ago
chorus.c new qt toggle button widget and one more calfbox debug print 2 years ago
cleanpythonbuild.sh cbox update and out support in the template 1 year ago
cmd.c new qt toggle button widget and one more calfbox debug print 2 years ago
cmd.h new qt toggle button widget and one more calfbox debug print 2 years ago
compressor.c new qt toggle button widget and one more calfbox debug print 2 years ago
config-api.c new qt toggle button widget and one more calfbox debug print 2 years ago
config-api.h new qt toggle button widget and one more calfbox debug print 2 years ago
configure.ac update template 1 year ago
delay.c new qt toggle button widget and one more calfbox debug print 2 years ago
distortion.c new qt toggle button widget and one more calfbox debug print 2 years ago
dom.c new qt toggle button widget and one more calfbox debug print 2 years ago
dom.h new qt toggle button widget and one more calfbox debug print 2 years ago
dspmath.h Update calfbox 1 year ago
engine.c new qt toggle button widget and one more calfbox debug print 2 years ago
engine.h new qt toggle button widget and one more calfbox debug print 2 years ago
envelope.h new qt toggle button widget and one more calfbox debug print 2 years ago
eq.c new qt toggle button widget and one more calfbox debug print 2 years ago
eq.h update template 1 year ago
errors.c new qt toggle button widget and one more calfbox debug print 2 years ago
errors.h new qt toggle button widget and one more calfbox debug print 2 years ago
example.py new qt toggle button widget and one more calfbox debug print 2 years ago
fbr.c new qt toggle button widget and one more calfbox debug print 2 years ago
fifo.c new qt toggle button widget and one more calfbox debug print 2 years ago
fifo.h new qt toggle button widget and one more calfbox debug print 2 years ago
fluid.c Update calfbox 1 year ago
fuzz.c new qt toggle button widget and one more calfbox debug print 2 years ago
fxchain.c new qt toggle button widget and one more calfbox debug print 2 years ago
gate.c new qt toggle button widget and one more calfbox debug print 2 years ago
hwcfg.c new qt toggle button widget and one more calfbox debug print 2 years ago
hwcfg.h new qt toggle button widget and one more calfbox debug print 2 years ago
instr.c new qt toggle button widget and one more calfbox debug print 2 years ago
instr.h new qt toggle button widget and one more calfbox debug print 2 years ago
io.c new qt toggle button widget and one more calfbox debug print 2 years ago
io.h new qt toggle button widget and one more calfbox debug print 2 years ago
ioenv.h new qt toggle button widget and one more calfbox debug print 2 years ago
jack_api_example.py new qt toggle button widget and one more calfbox debug print 2 years ago
jack_audio_routing.py new qt toggle button widget and one more calfbox debug print 2 years ago
jack_output_routing.py new qt toggle button widget and one more calfbox debug print 2 years ago
jack_scene_routing.py new qt toggle button widget and one more calfbox debug print 2 years ago
jackinput.c new qt toggle button widget and one more calfbox debug print 2 years ago
jackio.c update template 1 year ago
layer.c new qt toggle button widget and one more calfbox debug print 2 years ago
layer.h new qt toggle button widget and one more calfbox debug print 2 years ago
limiter.c new qt toggle button widget and one more calfbox debug print 2 years ago
main.c new qt toggle button widget and one more calfbox debug print 2 years ago
master.c new qt toggle button widget and one more calfbox debug print 2 years ago
master.h new qt toggle button widget and one more calfbox debug print 2 years ago
menu.c new qt toggle button widget and one more calfbox debug print 2 years ago
menu.h new qt toggle button widget and one more calfbox debug print 2 years ago
menuitem.c new qt toggle button widget and one more calfbox debug print 2 years ago
menuitem.h new qt toggle button widget and one more calfbox debug print 2 years ago
meter.c new qt toggle button widget and one more calfbox debug print 2 years ago
meter.h new qt toggle button widget and one more calfbox debug print 2 years ago
midi.c new qt toggle button widget and one more calfbox debug print 2 years ago
midi.h new qt toggle button widget and one more calfbox debug print 2 years ago
mididest.c new qt toggle button widget and one more calfbox debug print 2 years ago
mididest.h new qt toggle button widget and one more calfbox debug print 2 years ago
module.c new qt toggle button widget and one more calfbox debug print 2 years ago
module.h new qt toggle button widget and one more calfbox debug print 2 years ago
novabox.py new qt toggle button widget and one more calfbox debug print 2 years ago
onepole-float.h new qt toggle button widget and one more calfbox debug print 2 years ago
onepole-int.h new qt toggle button widget and one more calfbox debug print 2 years ago
pattern-maker.c new qt toggle button widget and one more calfbox debug print 2 years ago
pattern-maker.h new qt toggle button widget and one more calfbox debug print 2 years ago
pattern.c new qt toggle button widget and one more calfbox debug print 2 years ago
pattern.h new qt toggle button widget and one more calfbox debug print 2 years ago
phaser.c new qt toggle button widget and one more calfbox debug print 2 years ago
prefetch_pipe.c new qt toggle button widget and one more calfbox debug print 2 years ago
prefetch_pipe.h new qt toggle button widget and one more calfbox debug print 2 years ago
recsrc.c new qt toggle button widget and one more calfbox debug print 2 years ago
recsrc.h new qt toggle button widget and one more calfbox debug print 2 years ago
reverb.c new qt toggle button widget and one more calfbox debug print 2 years ago
rt.c new qt toggle button widget and one more calfbox debug print 2 years ago
rt.h new qt toggle button widget and one more calfbox debug print 2 years ago
sampler.c update template 1 year ago
sampler.h update template 1 year ago
sampler_api_example.py new qt toggle button widget and one more calfbox debug print 2 years ago
sampler_api_example2.py update template 1 year ago
sampler_api_example4.py new qt toggle button widget and one more calfbox debug print 2 years ago
sampler_api_example5.py update template 1 year ago
sampler_api_load_stress_test.py cbox update and out support in the template 1 year ago
sampler_api_test.py new qt toggle button widget and one more calfbox debug print 2 years ago
sampler_channel.c update template 1 year ago
sampler_gen.c new qt toggle button widget and one more calfbox debug print 2 years ago
sampler_impl.h new qt toggle button widget and one more calfbox debug print 2 years ago
sampler_layer.c support key labels. prepare cc labels, no GUI for that yet 11 months ago
sampler_layer.h new qt toggle button widget and one more calfbox debug print 2 years ago
sampler_nif.c new qt toggle button widget and one more calfbox debug print 2 years ago
sampler_prevoice.c new qt toggle button widget and one more calfbox debug print 2 years ago
sampler_prg.c new cbox 11 months ago
sampler_prg.h new cbox 11 months ago
sampler_rll.c update template 1 year ago
sampler_voice.c new qt toggle button widget and one more calfbox debug print 2 years ago
scene.c new qt toggle button widget and one more calfbox debug print 2 years ago
scene.h new qt toggle button widget and one more calfbox debug print 2 years ago
scripting.c new qt toggle button widget and one more calfbox debug print 2 years ago
scripting.h new qt toggle button widget and one more calfbox debug print 2 years ago
send_pattern_to_midi_out_example.py cbox update and out support in the template 1 year ago
seq-adhoc.c new qt toggle button widget and one more calfbox debug print 2 years ago
seq.c new qt toggle button widget and one more calfbox debug print 2 years ago
seq.h new qt toggle button widget and one more calfbox debug print 2 years ago
setup.py update template 1 year ago
sfzloader.c new cbox 11 months ago
sfzloader.h new qt toggle button widget and one more calfbox debug print 2 years ago
sfzparser.c Just a pre-release code dump 1 year ago
sfzparser.h new qt toggle button widget and one more calfbox debug print 2 years ago
skel.c new qt toggle button widget and one more calfbox debug print 2 years ago
song.c new qt toggle button widget and one more calfbox debug print 2 years ago
song.h new qt toggle button widget and one more calfbox debug print 2 years ago
song_api_example.py new qt toggle button widget and one more calfbox debug print 2 years ago
song_api_example2.py new qt toggle button widget and one more calfbox debug print 2 years ago
stm.h new qt toggle button widget and one more calfbox debug print 2 years ago
streamplay.c new qt toggle button widget and one more calfbox debug print 2 years ago
streamrec.c new qt toggle button widget and one more calfbox debug print 2 years ago
synthbass.sfz new qt toggle button widget and one more calfbox debug print 2 years ago
tarfile.c New cbox 11 months ago
tarfile.h trying to find the default path in tars 2 years ago
test.py new qt toggle button widget and one more calfbox debug print 2 years ago
tests.c new qt toggle button widget and one more calfbox debug print 2 years ago
tests.h new qt toggle button widget and one more calfbox debug print 2 years ago
tonectl.c new qt toggle button widget and one more calfbox debug print 2 years ago
tonewheel.c new qt toggle button widget and one more calfbox debug print 2 years ago
track.c new qt toggle button widget and one more calfbox debug print 2 years ago
track.h new qt toggle button widget and one more calfbox debug print 2 years ago
ui.c new qt toggle button widget and one more calfbox debug print 2 years ago
ui.h new qt toggle button widget and one more calfbox debug print 2 years ago
usb_api_example.py new qt toggle button widget and one more calfbox debug print 2 years ago
usbaudio.c new qt toggle button widget and one more calfbox debug print 2 years ago
usbio.c new qt toggle button widget and one more calfbox debug print 2 years ago
usbio_impl.h new qt toggle button widget and one more calfbox debug print 2 years ago
usbmidi.c new qt toggle button widget and one more calfbox debug print 2 years ago
usbprobe.c new qt toggle button widget and one more calfbox debug print 2 years ago
wavebank.c New cbox 11 months ago
wavebank.h new qt toggle button widget and one more calfbox debug print 2 years ago

README.md

Calfbox

Website: https://github.com/kfoltman/calfbox

Calfbox, the "open source musical instrument", offers assorted music-related code.

Originally intended as a standalone instrument for Linux and embedded devices (USB TV Sticks) it can be used as Python module as well.

Packaging

If you are a packager and want to create a binary package for your distribution please package only the python module. The binary executable is not maintained and untested at the moment. It should not be used by anyone.

Calfbox as Python Module

Calfbox can be used as a Python module that can be imported to create short scripts or full fledged programs ( https://www.laborejo.org/software ).

Most notably it features a midi sequencer and an audio sampler (for sfz files and sf2 via fluidsynth).

Building

A convenience script cleanpythonbuild.py has been supplied to quickly build and install the cbox python module.

make clean
rm build -rf
sh autogen.sh
./configure
make
python3 setup.py build
sudo python3 setup.py install

How to write programs with cbox

You can find several .py files in the main directory, such as sampler_api_example.py or song_api_example.py.

Also there is a directory /experiments which contains a small example framework.

Using Calfbox as standalone instrument

Using Calfbox as standalone instrument requires a .cfg config file.

This part of the program is currently unmaintained and untested. Please do not use it.

License

This code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

For the full license see the file COPYING