/usr/include/libinstpatch-1.0/libinstpatch/IpatchUnit_SF2.h is in libinstpatch-dev 1.0.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | /*
* libInstPatch
* Copyright (C) 1999-2010 Joshua "Element" Green <jgreen@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; version 2.1
* of the License only.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA or on the web at http://www.gnu.org.
*/
/**
* SECTION: IpatchUnit_SF2
* @short_description: Unit types and conversions for SoundFont
* @see_also:
* @stability: Stable
*/
#ifndef __IPATCH_UNIT_SF2_H__
#define __IPATCH_UNIT_SF2_H__
#include <glib.h>
#include <glib-object.h>
int ipatch_unit_sf2_abs_pitch_to_dls_abs_pitch (int sf2_abs_pitch);
int ipatch_unit_dls_abs_pitch_to_sf2_abs_pitch (int dls_abs_pitch);
double ipatch_unit_sf2_abs_pitch_to_hertz (int sf2_abs_pitch);
int ipatch_unit_hertz_to_sf2_abs_pitch (double hz);
double ipatch_unit_sf2_ofs_pitch_to_multiplier (int sf2_ofs_pitch);
int ipatch_unit_multiplier_to_sf2_ofs_pitch (double multiplier);
int ipatch_unit_sf2_abs_time_to_dls_abs_time (int sf2_abs_time);
int ipatch_unit_dls_abs_time_to_sf2_abs_time (int dls_abs_time);
double ipatch_unit_sf2_abs_time_to_seconds (int sf2_abs_time);
int ipatch_unit_seconds_to_sf2_abs_time (double sec);
double ipatch_unit_sf2_ofs_time_to_multiplier (int sf2_ofs_time);
int ipatch_unit_multiplier_to_sf2_ofs_time (double multiplier);
int ipatch_unit_centibels_to_dls_gain (int centibel);
int ipatch_unit_dls_gain_to_centibels (int dls_gain);
double ipatch_unit_centibels_to_decibels (int cb);
int ipatch_unit_decibels_to_centibels (double db);
double ipatch_unit_tenth_percent_to_percent (int tenth_percent);
int ipatch_unit_percent_to_tenth_percent (double percent);
#endif
|