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