• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List
  • File Members

GUIDO2Midi.h

Go to the documentation of this file.
00001 #ifndef __GUIDO2MIDI__
00002 #define __GUIDO2MIDI__
00003 
00004 /*
00005   GUIDO Library
00006   Copyright (C) 2011  Grame
00007 
00008   This Source Code Form is subject to the terms of the Mozilla Public
00009   License, v. 2.0. If a copy of the MPL was not distributed with this
00010   file, You can obtain one at http://mozilla.org/MPL/2.0/.
00011 
00012   Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
00013   research@grame.fr
00014 
00015 */
00016 
00017 #include "GUIDOEngine.h"
00018 
00019 #include <map>
00020 
00031 typedef struct Guido2MidiParams
00032 {
00033     int     fTempo;             
00034     int     fTicks;             
00035     int     fChan;              
00036 
00037     float   fIntensity;         
00038     float   fAccentFactor;      
00039     float   fMarcatoFactor;     
00040 
00041     float   fDFactor;           
00042     float   fStaccatoFactor;    
00043     float   fSlurFactor;        
00044     float   fTenutoFactor;      
00045     float   fFermataFactor;     
00046     
00047     std::map<int, int> fVChans; 
00048 
00049 } Guido2MidiParams;
00050 
00051 #ifdef __cplusplus
00052 extern "C" {
00053 #endif
00054 
00055 
00063     GUIDOAPI(GuidoErrCode) GuidoAR2MIDIFile(const ARHandler ar, const char* filename, const Guido2MidiParams* params);
00064 
00065 #ifdef __cplusplus
00066 }
00067 #endif
00068 
00071 #endif

Generated on Mon Jan 5 2015 11:16:24 for GUIDOLib by doxygen 1.7.2 - © Grame Research Lab.