Nils
340a065dec
|
3 years ago | |
---|---|---|
.. | ||
drvjunk | 3 years ago | |
experiments | 3 years ago | |
py | 3 years ago | |
.gitignore | 3 years ago | |
API | 3 years ago | |
AUTHORS | 3 years ago | |
COPYING | 3 years ago | |
ChangeLog | 3 years ago | |
INSTALL | 3 years ago | |
Makefile.am | 3 years ago | |
NEWS | 3 years ago | |
README | 3 years ago | |
README.md | 3 years ago | |
adhoc_example.py | 3 years ago | |
app.c | 3 years ago | |
app.h | 3 years ago | |
appmenu.c | 3 years ago | |
autogen.sh | 3 years ago | |
auxbus.c | 3 years ago | |
auxbus.h | 3 years ago | |
background_example.py | 3 years ago | |
biquad-float.h | 3 years ago | |
blob.c | 3 years ago | |
blob.h | 3 years ago | |
cboxrc-example | 3 years ago | |
chorus.c | 3 years ago | |
cleanpythonbuild.sh | 3 years ago | |
cmd.c | 3 years ago | |
cmd.h | 3 years ago | |
compressor.c | 3 years ago | |
config-api.c | 3 years ago | |
config-api.h | 3 years ago | |
configure.ac | 3 years ago | |
delay.c | 3 years ago | |
distortion.c | 3 years ago | |
dom.c | 3 years ago | |
dom.h | 3 years ago | |
dspmath.h | 3 years ago | |
engine.c | 3 years ago | |
engine.h | 3 years ago | |
envelope.h | 3 years ago | |
eq.c | 3 years ago | |
eq.h | 3 years ago | |
errors.c | 3 years ago | |
errors.h | 3 years ago | |
example.py | 3 years ago | |
fbr.c | 3 years ago | |
fifo.c | 3 years ago | |
fifo.h | 3 years ago | |
fluid.c | 3 years ago | |
fuzz.c | 3 years ago | |
fxchain.c | 3 years ago | |
gate.c | 3 years ago | |
hwcfg.c | 3 years ago | |
hwcfg.h | 3 years ago | |
instr.c | 3 years ago | |
instr.h | 3 years ago | |
io.c | 3 years ago | |
io.h | 3 years ago | |
ioenv.h | 3 years ago | |
jack_api_example.py | 3 years ago | |
jack_audio_routing.py | 3 years ago | |
jack_output_routing.py | 3 years ago | |
jack_scene_routing.py | 3 years ago | |
jackinput.c | 3 years ago | |
jackio.c | 3 years ago | |
layer.c | 3 years ago | |
layer.h | 3 years ago | |
limiter.c | 3 years ago | |
main.c | 3 years ago | |
master.c | 3 years ago | |
master.h | 3 years ago | |
menu.c | 3 years ago | |
menu.h | 3 years ago | |
menuitem.c | 3 years ago | |
menuitem.h | 3 years ago | |
meter.c | 3 years ago | |
meter.h | 3 years ago | |
midi.c | 3 years ago | |
midi.h | 3 years ago | |
mididest.c | 3 years ago | |
mididest.h | 3 years ago | |
module.c | 3 years ago | |
module.h | 3 years ago | |
novabox.py | 3 years ago | |
onepole-float.h | 3 years ago | |
onepole-int.h | 3 years ago | |
pattern-maker.c | 3 years ago | |
pattern-maker.h | 3 years ago | |
pattern.c | 3 years ago | |
pattern.h | 3 years ago | |
phaser.c | 3 years ago | |
prefetch_pipe.c | 3 years ago | |
prefetch_pipe.h | 3 years ago | |
recsrc.c | 3 years ago | |
recsrc.h | 3 years ago | |
reverb.c | 3 years ago | |
rt.c | 3 years ago | |
rt.h | 3 years ago | |
sampler.c | 3 years ago | |
sampler.h | 3 years ago | |
sampler_api_example.py | 3 years ago | |
sampler_api_example2.py | 3 years ago | |
sampler_api_example4.py | 3 years ago | |
sampler_api_example5.py | 3 years ago | |
sampler_api_load_stress_test.py | 3 years ago | |
sampler_api_test.py | 3 years ago | |
sampler_channel.c | 3 years ago | |
sampler_gen.c | 3 years ago | |
sampler_impl.h | 3 years ago | |
sampler_layer.c | 3 years ago | |
sampler_layer.h | 3 years ago | |
sampler_nif.c | 3 years ago | |
sampler_prevoice.c | 3 years ago | |
sampler_prg.c | 3 years ago | |
sampler_prg.h | 3 years ago | |
sampler_rll.c | 3 years ago | |
sampler_voice.c | 3 years ago | |
scene.c | 3 years ago | |
scene.h | 3 years ago | |
scripting.c | 3 years ago | |
scripting.h | 3 years ago | |
send_pattern_to_midi_out_example.py | 3 years ago | |
seq-adhoc.c | 3 years ago | |
seq.c | 3 years ago | |
seq.h | 3 years ago | |
setup.py | 3 years ago | |
sfzloader.c | 3 years ago | |
sfzloader.h | 3 years ago | |
sfzparser.c | 3 years ago | |
sfzparser.h | 3 years ago | |
skel.c | 3 years ago | |
song.c | 3 years ago | |
song.h | 3 years ago | |
song_api_example.py | 3 years ago | |
song_api_example2.py | 3 years ago | |
stm.h | 3 years ago | |
streamplay.c | 3 years ago | |
streamrec.c | 3 years ago | |
synthbass.sfz | 3 years ago | |
tarfile.c | 3 years ago | |
tarfile.h | 3 years ago | |
test.py | 3 years ago | |
tests.c | 3 years ago | |
tests.h | 3 years ago | |
tonectl.c | 3 years ago | |
tonewheel.c | 3 years ago | |
track.c | 3 years ago | |
track.h | 3 years ago | |
ui.c | 3 years ago | |
ui.h | 3 years ago | |
usb_api_example.py | 3 years ago | |
usbaudio.c | 3 years ago | |
usbio.c | 3 years ago | |
usbio_impl.h | 3 years ago | |
usbmidi.c | 3 years ago | |
usbprobe.c | 3 years ago | |
wavebank.c | 3 years ago | |
wavebank.h | 3 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