LMMS
Loading...
Searching...
No Matches
Dump.h
Go to the documentation of this file.
1/*
2 ZynAddSubFX - a software synthesizer
3
4 Dump.h - It dumps the notes to a text file
5
6 Copyright (C) 2002-2005 Nasca Octavian Paul
7 Author: Nasca Octavian Paul
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of version 2 of the GNU General Public License
11 as published by the Free Software Foundation.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License (version 2 or later) for more details.
17
18 You should have received a copy of the GNU General Public License (version 2)
19 along with this program; if not, write to the Free Software Foundation,
20 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21*/
22#ifndef DUMP_H
23#define DUMP_H
24
25#include <stdio.h>
26
31class Dump
32{
33 public:
35 Dump();
38 ~Dump();
41 void startnow();
43 void inctick();
48 void dumpnote(char chan, char note, char vel);
54 void dumpcontroller(char chan, unsigned int type, int par);
55
56 private:
57 FILE *file;
58 int tick;
59 int k; //This appears to be a constant used to flush the file
60 //periodically when JACK is used
62};
63#endif
CAdPlugDatabase::CRecord::RecordType type
Definition adplugdb.cpp:93
int keyspressed
Definition Dump.h:61
void dumpcontroller(char chan, unsigned int type, int par)
Definition Dump.cpp:103
void dumpnote(char chan, char note, char vel)
Definition Dump.cpp:82
void startnow()
Definition Dump.cpp:50
int tick
Definition Dump.h:58
FILE * file
Definition Dump.h:57
void inctick()
Definition Dump.cpp:76
int k
Definition Dump.h:59
~Dump()
Definition Dump.cpp:37
Dump()
Definition Dump.cpp:29