summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/sequencer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/midi/sequencer.c')
-rw-r--r--apps/plugins/midi/sequencer.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/midi/sequencer.c b/apps/plugins/midi/sequencer.c
index 68c29f35ad..473b7e4e2c 100644
--- a/apps/plugins/midi/sequencer.c
+++ b/apps/plugins/midi/sequencer.c
@@ -5,6 +5,7 @@
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < 5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ 6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/ 7 * \/ \/ \/ \/ \/
8 * $Id$
8 * 9 *
9 * Copyright (C) 2005 Stepan Moskovchenko 10 * Copyright (C) 2005 Stepan Moskovchenko
10 * 11 *
@@ -15,6 +16,9 @@
15 * KIND, either express or implied. 16 * KIND, either express or implied.
16 * 17 *
17 ****************************************************************************/ 18 ****************************************************************************/
19#include "plugin.h"
20#include "midiutil.h"
21#include "guspat.h"
18 22
19void setVolScale(int a); 23void setVolScale(int a);
20 24
@@ -22,7 +26,6 @@ extern struct plugin_api * rb;
22 26
23long tempo=375000; 27long tempo=375000;
24 28
25
26inline void setVol(int ch, int vol) 29inline void setVol(int ch, int vol)
27{ 30{
28 int a=0; 31 int a=0;
@@ -119,7 +122,6 @@ long pitchTbl[] ICONST_ATTR={
119 73297,73330,73363,73396,73429,73462,73495,73528 122 73297,73330,73363,73396,73429,73462,73495,73528
120}; 123};
121 124
122
123void findDelta(struct SynthObject * so, int ch, int note) 125void findDelta(struct SynthObject * so, int ch, int note)
124{ 126{
125 127
@@ -147,7 +149,6 @@ inline void setPW(int ch, int msb, int lsb)
147 } 149 }
148} 150}
149 151
150
151/* Sets the volume scaling by channel volume and note volume */ 152/* Sets the volume scaling by channel volume and note volume */
152/* This way we can do the multiplication/indexing once per */ 153/* This way we can do the multiplication/indexing once per */
153/* MIDI event at the most, instead of once per sample. */ 154/* MIDI event at the most, instead of once per sample. */
@@ -375,3 +376,4 @@ int tick(void)
375 else 376 else
376 return 0; 377 return 0;
377} 378}
379