GUIDOLib  1.7.7
Guido Engine Internal Documentation
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
gmntools.h
1 /*
2  GUIDO Library
3  Copyright (C) 2002 Holger Hoos, Juergen Kilian, Kai Renz
4  Copyright (C) 2002-2017 Grame
5 
6  This Source Code Form is subject to the terms of the Mozilla Public
7  License, v. 2.0. If a copy of the MPL was not distributed with this
8  file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 
10  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
11  research@grame.fr
12 
13 */
14 /* guido tools - version 0.1 */
15 /* (c) 1998 by Holger H. Hoos */
16 /* for use in guido music notation import / export */
17 
18 typedef double T_REAL; /* per default, use double precision */
19 typedef char *T_STRING;
20 typedef const char *CONST_T_STRING;
21 
22 /* Conversion between units (advanced guido)
23  * Returns 1 is conversion is ok, 0 if not
24  * Result is in finalValue */
25 bool gd_convertUnits(T_REAL fromValue, CONST_T_STRING fromUnit,
26  CONST_T_STRING toUnit, double &toValue);

Guido Project Copyright © 2019 Grame-CNCM