]> Joshua Wise's Git repositories - patchfork.git/blob - jorbis/src/com/jcraft/jorbis/PsyInfo.java
initial import from pitchfork-0.5.5
[patchfork.git] / jorbis / src / com / jcraft / jorbis / PsyInfo.java
1 /* JOrbis
2  * Copyright (C) 2000 ymnk, JCraft,Inc.
3  *  
4  * Written by: 2000 ymnk<ymnk@jcraft.com>
5  *   
6  * Many thanks to 
7  *   Monty <monty@xiph.org> and 
8  *   The XIPHOPHORUS Company http://www.xiph.org/ .
9  * JOrbis has been based on their awesome works, Vorbis codec.
10  *   
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Library General Public License
13  * as published by the Free Software Foundation; either version 2 of
14  * the License, or (at your option) any later version.
15    
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU Library General Public License for more details.
20  * 
21  * You should have received a copy of the GNU Library General Public
22  * License along with this program; if not, write to the Free Software
23  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24  */
25
26 package com.jcraft.jorbis;
27
28 // psychoacoustic setup
29 class PsyInfo{ 
30   int    athp;
31   int    decayp;
32   int    smoothp;
33   int    noisefitp;
34   int    noisefit_subblock;
35   float noisefit_threshdB;
36
37   float ath_att;
38
39   int tonemaskp;
40   float[] toneatt_125Hz=new float[5];
41   float[] toneatt_250Hz=new float[5];
42   float[] toneatt_500Hz=new float[5];
43   float[] toneatt_1000Hz=new float[5];
44   float[] toneatt_2000Hz=new float[5];
45   float[] toneatt_4000Hz=new float[5];
46   float[] toneatt_8000Hz=new float[5];
47
48   int peakattp;
49   float[] peakatt_125Hz=new float[5];
50   float[] peakatt_250Hz=new float[5];
51   float[] peakatt_500Hz=new float[5];
52   float[] peakatt_1000Hz=new float[5];
53   float[] peakatt_2000Hz=new float[5];
54   float[] peakatt_4000Hz=new float[5];
55   float[] peakatt_8000Hz=new float[5];
56
57   int noisemaskp;
58   float[] noiseatt_125Hz=new float[5];
59   float[] noiseatt_250Hz=new float[5];
60   float[] noiseatt_500Hz=new float[5];
61   float[] noiseatt_1000Hz=new float[5];
62   float[] noiseatt_2000Hz=new float[5];
63   float[] noiseatt_4000Hz=new float[5];
64   float[] noiseatt_8000Hz=new float[5];
65
66   float max_curve_dB;
67
68   float attack_coeff;
69   float decay_coeff;
70
71   void free(){}
72 }
This page took 0.025498 seconds and 4 git commands to generate.