~ubuntu-branches/ubuntu/utopic/jconvolver/utopic-proposed

« back to all changes in this revision

Viewing changes to config-files/uhjdec.conf

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-01-17 17:43:09 UTC
  • Revision ID: james.westby@ubuntu.com-20100117174309-hc5fbqk31xwi1aok
Tags: upstream-0.8.4
ImportĀ upstreamĀ versionĀ 0.8.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#  -----------------------------------------------------------------------------
 
2
#
 
3
#  Copyright (C) 2005-2009 Fons Adriaensen <fons@kokkinizita.net>
 
4
#  
 
5
#  This program is free software; you can redistribute it and/or modify
 
6
#  it under the terms of the GNU General Public License as published by
 
7
#  the Free Software Foundation; either version 2 of the License, or
 
8
#  (at your option) any later version.
 
9
#
 
10
#  This program is distributed in the hope that it will be useful,
 
11
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
#  GNU General Public License for more details.
 
14
#
 
15
#  You should have received a copy of the GNU General Public License
 
16
#  along with this program; if not, write to the Free Software
 
17
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
18
#
 
19
#  -----------------------------------------------------------------------------
 
20
#
 
21
#
 
22
# Jconv demo configuration
 
23
# ------------------------
 
24
#
 
25
# UHJ decoder using 4096 sample Hilbert transform IR and Dirac pulses.
 
26
# This is the matrix:
 
27
#
 
28
#      |         L                   R
 
29
#-----------------------------------------------
 
30
#  W   |   0.491 + 0.082j      0.491 - 0.082j
 
31
#  X   |   0.210 - 0.414j      0.210 + 0.414j
 
32
#  Y   |   0.382 + 0.193j     -0.382 + 0.193j
 
33
#
 
34
#
 
35
#                in  out   partition    maxsize
 
36
# -----------------------------------------------
 
37
/convolver/new    2    3        2048       4096
 
38
#
 
39
#
 
40
#              num   port name     connect to 
 
41
# -----------------------------------------------
 
42
/input/name      1     In.L
 
43
/input/name      2     In.R
 
44
#
 
45
/output/name     1     Out.W
 
46
/output/name     2     Out.X
 
47
/output/name     3     Out.Y
 
48
#
 
49
#
 
50
#               in  out    gain      delay    offset  length  chan      file  
 
51
# -----------------------------------------------------------------------------
 
52
# L -> W
 
53
/impulse/dirac   1   1     0.491     2048
 
54
/impulse/read    1   1     0.082        0       0       0     1   hilbert.wav
 
55
# R -> W
 
56
/impulse/dirac   2   1     0.491     2048
 
57
/impulse/read    2   1    -0.082        0       0       0     1   hilbert.wav
 
58
 
 
59
# L -> X
 
60
/impulse/dirac   1   2     0.210     2048
 
61
/impulse/read    1   2    -0.414        0       0       0     1   hilbert.wav
 
62
# R -> X
 
63
/impulse/dirac   2   2     0.210     2048
 
64
/impulse/read    2   2     0.414        0       0       0     1   hilbert.wav
 
65
 
 
66
# L -> Y
 
67
/impulse/dirac   1   3     0.382     2048
 
68
/impulse/read    1   3     0.193        0       0       0     1   hilbert.wav
 
69
# R -> Y
 
70
/impulse/dirac   2   3    -0.382     2048
 
71
/impulse/read    2   3     0.193        0       0       0     1   hilbert.wav
 
72