This GitLab instance reached the end of its service life. It won't be possible to create new users or projects.

Please read the deprecation notice for more information concerning the deprecation timeline

Visit migration.git.tu-berlin.de to import your old projects to the new GitLab platform 📥

Commit 66222a26 by Henrik von Coler

Added sample_trigger.dsp!

parent 1647a3dd
// sample_trigger.dsp
//
// Read files and make them playable with a trigger.
//
// - makes use of the
//
// Henrik von Coler
// 2020-05-28
import("stdfaust.lib");
// read a set of wav files
s = soundfile("label[url:{'../WAV/kick.wav'; '../WAV/cowbell.wav'; '../WAV/my_model.wav'}]", 1);
// a slider for controlling the level of all samples:
level = hslider("level",1,0,2,0.01);
// sample objects
kick = so.sound(s, 0);
bell = so.sound(s, 1);
process = kick.play( level, button("kick") ), bell.play( level, button("bell")) :> _ <: _,_ ;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment