diff options
| author | Florian Jung <flo@thinkpad.(none)> | 2011-01-10 17:04:54 +0100 | 
|---|---|---|
| committer | Florian Jung <flo@thinkpad.(none)> | 2011-01-10 17:04:54 +0100 | 
| commit | eb81cf5820770c54d33facaf09f7f79a17e272ed (patch) | |
| tree | a87028cc6235d980e52a04e47ebadbc26320d4fa /synth/note_funcs.h | |
| parent | df97e0ebb7f6591c50f3a588cb2a74901d38ac4a (diff) | |
Implemented handler for soft-pedal
Controller 67 aka soft-pedal now can reduce the note's volume by half
TODO:
  - let the user set the percentage for the volume, either per
    controller (per channel) or per CLI (global)
Diffstat (limited to 'synth/note_funcs.h')
| -rw-r--r-- | synth/note_funcs.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/synth/note_funcs.h b/synth/note_funcs.h index 2a9d3c0..08ea7f9 100644 --- a/synth/note_funcs.h +++ b/synth/note_funcs.h @@ -14,7 +14,7 @@ struct program_t;  typedef void output_note_func_t(string s);  typedef string IntToStr_func_t(int i); -typedef NoteSkel* create_func_t (int, float, program_t&, jack_nframes_t, fixed_t, int); +typedef NoteSkel* create_func_t (int, float, program_t&, jack_nframes_t, fixed_t, int, float);  typedef void init_func_t(int sr, int fupfr, fixed_t **w, fixed_t **clfo, output_note_func_t* out_n, IntToStr_func_t* its);  #endif | 
