| hi all,
i've had a chance to compile and test vbapg. i cannot get it to work
-- the resulting panning coefficients are all zeroed out. below are
the test csd i used (modified from the git manual) and the console
output (i'm on osx 10.7, using git sources from this morning).
also, just a small error in the manual entry: "vbap1" is still used on
occasion, instead of vbapg.
-o vbap4.wav -W ;;; for file output any platform
sr = 44100
ksmps = 32
nchnls = 4 ;quad
0dbfs = 1
vbaplsinit 2.01, 4, 0, 90, 180, 270
instr 1
asig rand 0.01
kaz line 0, p3, p4 ;come from right rear speaker &
k1, k2, k3, k4 vbapg 180, 100, kaz, 1 ;change spread of soundsource
printks "vbap coeffs: %f %f %f %f\n", 1, k1, k2, k3, k4
printks "spread of source = %d\n", 1, kaz ;print spread value
outq asig*k1, asig*k2,asig*k3,asig*k4
endin
i 1 0 12 100
e
SECTION 1:
new alloc for instr 1:
WARNING: Warning: truncating elevation to 2-D plane
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 0
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 8
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 17
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 25
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 33
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 42
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 50
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 58
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 67
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 75
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 83
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 92
vbap coeffs: 0.000000 0.000000 0.000000 0.000000
spread of source = 100
B 0.000 .. 12.000 T 12.000 TT 12.000 M: 0.00000 0.00000 0.00000 0.00000
Score finished in csoundPerform().
inactive allocs returned to freespace
end of score. overall amps: 0.00000 0.00000 0.00000 0.00000
overall samples out of range: 0 0 0 0
regards,
-- ben
On Wed, Jul 18, 2012 at 9:42 AM, wrote:
>>
>> OK; will write documentation
>>
>
> Documented. I also renamed vbap1 to vbapg so as not to confuse with vbap4 etc
>
> ==John ff
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
|