/[svn]/linuxsampler/trunk/src/engines/Engine.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/Engine.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2447 by schoenebeck, Sat Feb 2 18:52:15 2013 UTC revision 2448 by schoenebeck, Fri May 3 14:26:32 2013 UTC
# Line 2  Line 2 
2   *                                                                         *   *                                                                         *
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck    *
6   *   Copyright (C) 2005-2008 Christian Schoenebeck                        *   *   Copyright (C) 2005-2013 Christian Schoenebeck                         *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 82  namespace LinuxSampler { Line 82  namespace LinuxSampler {
82               * max. samples per cycle changed.               * max. samples per cycle changed.
83               */               */
84              virtual void ReconnectAudioOutputDevice() = 0;              virtual void ReconnectAudioOutputDevice() = 0;
85                
86                /**
87                 * Modifies the scale tuning from standard well tempered chromatic
88                 * scaling to any other kind of scaling.
89                 *
90                 * ScaleTunes - detune factors (-64..+63 cents) for all 12
91                 *              semitones of an octave
92                 */
93                virtual void AdjustScaleTuning(const int8_t ScaleTunes[12]) = 0;
94                
95                /**
96                 * Expects a byte array with 12 elements as argument @a pScaleTunes,
97                 * where the currently effectve scale tuning setup is written to.
98                 *
99                 * pScaleTunes - output: detune factors (-64..+63 cents) for all 12
100                 *               semitones of an octave
101                 */
102                virtual void GetScaleTuning(int8_t* pScaleTunes) = 0;
103                
104                /**
105                 * Reset to standard well tempered chromatic scaling, i.e. after
106                 * being altered with AdjustScaleTuning() or after having sent the
107                 * respective standard scale tuning SysEx MIDI message.
108                 */
109                virtual void ResetScaleTuning() = 0;
110    
111          protected:          protected:
112              virtual ~Engine() {}; // MUST only be destroyed by EngineFactory              virtual ~Engine() {}; // MUST only be destroyed by EngineFactory

Legend:
Removed from v.2447  
changed lines
  Added in v.2448

  ViewVC Help
Powered by ViewVC