CLAM-Development
1.4.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Tools
MIDIIO
File
MIDISong.hxx
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2001-2004 MUSIC TECHNOLOGY GROUP (MTG)
3
* UNIVERSITAT POMPEU FABRA
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
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.
14
*
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*
19
* MIDIFileReader C++ classes
20
* This code is part of the CLAM library, but also usable stand-alone.
21
* Maarten de Boer <mdeboer@iua.upf.es>
22
*
23
*/
24
#ifndef __MIDISong__
25
#define __MIDISong__
26
27
namespace
MIDI
28
{
29
30
class
Track;
31
32
class
Song
33
/* a midi song is a collection of tracks */
34
{
35
private
:
36
class
SongImpl* mImpl;
/* hide implementation */
37
public
:
38
Song
(
void
);
39
~Song
(
void
);
40
41
int
Tracks
(
void
)
const
;
42
Track
*
GetTrack
(
int
i)
const
;
43
void
AddTrack
(
Track
* t);
44
unsigned
short
GetTicksPerQ
(
void
)
const
;
45
void
SetTicksPerQ
(
unsigned
int
v);
46
};
47
48
}
49
50
#endif
51
Generated by
1.8.1