~ubuntu-branches/ubuntu/precise/lmms/precise-updates

« back to all changes in this revision

Viewing changes to include/note.h

  • Committer: Bazaar Package Importer
  • Author(s): Артём Попов
  • Date: 2011-02-14 20:58:36 UTC
  • mfrom: (1.1.10 upstream) (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20110214205836-2u41xus1d2mj8nfz
Tags: 0.4.10-1ubuntu1
* Merge from debian unstable (LP: #718801).  Remaining changes:
  - Replace build-dep on libwine-dev with wine1.2-dev to build
    against the newer Wine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * note.h - declaration of class note which contains all informations about a
3
3
 *          note + definitions of several constants and enums
4
4
 *
5
 
 * Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
6
 
 * 
 
5
 * Copyright (c) 2004-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
 
6
 *
7
7
 * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
8
8
 *
9
9
 * This program is free software; you can redistribute it and/or
23
23
 *
24
24
 */
25
25
 
26
 
 
27
26
#ifndef _NOTE_H
28
27
#define _NOTE_H
29
28
 
34
33
#include "midi_time.h"
35
34
#include "SerializingObject.h"
36
35
 
37
 
class detuningHelper;
 
36
class DetuningHelper;
38
37
 
39
38
 
40
39
enum Keys
87
86
                int key = DefaultKey,
88
87
                volume_t _volume = DefaultVolume,
89
88
                panning_t _panning = DefaultPanning,
90
 
                detuningHelper * _detuning = NULL );
 
89
                DetuningHelper * _detuning = NULL );
91
90
        note( const note & _note );
92
91
        virtual ~note();
93
92
        
194
193
 
195
194
        static midiTime quantized( const midiTime & _m, const int _q_grid );
196
195
 
197
 
        detuningHelper * detuning() const
 
196
        DetuningHelper * detuning() const
198
197
        {
199
198
                return m_detuning;
200
199
        }
236
235
        panning_t m_panning;
237
236
        midiTime m_length;
238
237
        midiTime m_pos;
239
 
        detuningHelper * m_detuning;
 
238
        DetuningHelper * m_detuning;
240
239
 
241
240
        void createDetuning();
242
241