| 1 | #cxx . . $ `<file>/LPC/Tube.h`/ifndef _Tube_h_ |
| 2 | #define _Tube_h_cxx . . $ `LPC/Tube.h:2:9`! |
| 3 | /* Tube.h |
| 4 | * |
| 5 | * Copyright (C) 1994-2018 David Weenink |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #include "Sampled.h"cxx . . $ `<file>/fon/Sampled.h`/ |
| 22 | |
| 23 | #include "Tube_def.h"cxx . . $ `<file>/LPC/Tube_def.h`/ |
| 24 | |
| 25 | /* |
| 26 | Tube's as a function of time. |
| 27 | Tube_frame: c [1] -> mouth |
| 28 | c [numberOfSegments] -> glottis. |
| 29 | */ |
| 30 | |
| 31 | void Tube_Frame_initcxx . . $ Tube_Frame_init(8c3bc4dceaf08dbf). (Tube_Framecxx . . $ Tube_Frame# me, integercxx . . $ integer# numberOfSegments, double length); |
| 32 | |
| 33 | void Tube_Frame_freecxx . . $ Tube_Frame_free(ea5d20bdc2b44285). (Tube_Framecxx . . $ Tube_Frame# me); |
| 34 | |
| 35 | void Tube_Frames_rc_into_areacxx . . $ Tube_Frames_rc_into_area(e5bdc26047605541). (Tube_Framecxx . . $ Tube_Frame# me, Tube_Framecxx . . $ Tube_Frame# thee); |
| 36 | |
| 37 | void Tube_initcxx . . $ Tube_init(529e368e2f863603). (Tubecxx . . $ Tube# me, double tmin, double tmax, integercxx . . $ integer# nt, double dt, double t1, integercxx . . $ integer# maxNumberOfSegments, double defaultLength); |
| 38 | |
| 39 | Thing_definecxx . . $ structArea# (Area, Tube) { |
| 40 | }; |
| 41 | |
| 42 | /* |
| 43 | Areas as a function of time. |
| 44 | units in m^2. |
| 45 | */ |
| 46 | |
| 47 | void Area_initcxx . . $ Area_init(e88a5f129697b1ed). (Areacxx . . $ Area# me, double tmin, double tmax, integercxx . . $ integer# nt, double dt, double t1, integercxx . . $ integer# maxNumberOfSegments, double defaultLength); |
| 48 | |
| 49 | autoAreacxx . . $ autoArea# Area_createcxx . . $ Area_create(9bb678d37c581f54). (double tmin, double tmax, integercxx . . $ integer# nt, double dt, double t1, integercxx . . $ integer# maxNumberOfSegments, double defaultLength); |
| 50 | |
| 51 | Thing_definecxx . . $ autoRC# (RC, Tube) { |
| 52 | }; |
| 53 | |
| 54 | // Reflection Coefficients as a function of time. |
| 55 | |
| 56 | void RC_initcxx . . $ RC_init(c67b52e74ecb9855). (RCcxx . . $ RC# me, double tmin, double tmax, integercxx . . $ integer# nt, double dt, double t1, integercxx . . $ integer# maxnCoefficients, double defaultLength); |
| 57 | |
| 58 | autoRCcxx . . $ autoRC# RC_createcxx . . $ RC_create(28a3d7f49ec33f91). (double tmin, double tmax, integercxx . . $ integer# nt, double dt, double t1, integercxx . . $ integer# maxnCoefficients, double defaultLength); |
| 59 | |
| 60 | #endif // _Tube_h_ |