1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*****************************************************************************
4 * Copyright (C) 2007,2007,2008,2009 Nedko Arnaudov <nedko@arnaudov.name>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *****************************************************************************/
21 #ifndef LFO_PARAMETERS_H__79449D30_40FF_47EB_959A_F83B68A925FC__INCLUDED
22 #define LFO_PARAMETERS_H__79449D30_40FF_47EB_959A_F83B68A925FC__INCLUDED
24 struct zyn_lfo_parameters
26 float frequency
; /* 0.0 .. 1.0 */
27 float depth
; /* 0.0 .. 1.0 */
28 bool random_start_phase
;
29 float start_phase
; /* 0.0 .. 1.0 */
30 bool depth_randomness_enabled
;
31 float depth_randomness
; /* 0.0 .. 1.0 */
32 bool frequency_randomness_enabled
;
33 float frequency_randomness
; /* 0.0 .. 1.0 */
34 float delay
; /* 0.0 .. 4.0, seconds */
35 float stretch
; /* -1 .. 1, how the LFO is "stretched" according the note frequency (0=no stretch) */
36 unsigned int shape
; /* one of ZYN_LFO_SHAPE_TYPE_XXX */
39 #endif /* #ifndef LFO_PARAMETERS_H__79449D30_40FF_47EB_959A_F83B68A925FC__INCLUDED */