Csound Csound-dev Csound-tekno Search About

Re: [Csnd] vbap family

Date2012-07-02 13:02
Fromjohn ffitch
SubjectRe: [Csnd] vbap family
> • a limit of 16 channels.  this seems to be due the the number of
> optional parameters hard-coded into vbaplsinit.

Nothing to do with vbaplsinit which allows oodles of arguments.  
> • the zak-channel version is awkward to code (at the moment i use
> python to write my orchestra for me!).  it seems like it would be
> nicer to have the opcode skip zak altogether and output an arbitrary

I have written new opcodes (vbap, vbapmoving) that take upto 64
channels, any number.  Currently in CS6, but could "easily" be
backported to cs5

> • most other implementations of vbap that i've used (max/pure data) do
> not output scaled audio signals but, rather, k-rate amplitude
> coefficients and which are then applied by the user.  this permits a
> more flexible usage: one is able to, for instance: use vbap's
> coefficients with different signals for each speaker; pan stereo
> sounds more elegantly; or do something else with the data altogether
> (like using vbap coefficients to drive filters, etc.).

This is is how Ville Pulkki wrote it.  Not sure I understand what you
mean -- no I know I do not know what you mean

==John ffitch

Date2012-07-04 02:29
Fromben hackbarth
SubjectRe: [Csnd] vbap family
thank you john, i look forward to trying it out.  if the code is in
git, i'll happily test it, though i'm still in csound5.

> This is is how Ville Pulkki wrote it.  Not sure I understand what you
> mean -- no I know I do not know what you mean

i'm referring to opcode's output.  in the current version, the opcode
yields N copies of a mono signal scaled according to azimuth, spread,
elevation, etc.  in other implementations of vbap i've used, the mono
audio signal isn't used by the vbap opcode at all -- rather, vbap's
outputs are k-rate time-varying amplitude scalars.  imo one can use
this panning data more robustly.  Peiman's solution (give vbapz an
a-rate "1" rather that the actual signal to be spatialized) is fine.
however, as far as i understand, the opcode is still doing a bunch of
unnecessary multiplications internally and i would assume that these
add up, especially with high channel counts and lots of overlapping
sounds.

--  ben


On Mon, Jul 2, 2012 at 5:02 AM, john ffitch  wrote:
>> • a limit of 16 channels.  this seems to be due the the number of
>> optional parameters hard-coded into vbaplsinit.
>
> Nothing to do with vbaplsinit which allows oodles of arguments.
>> • the zak-channel version is awkward to code (at the moment i use
>> python to write my orchestra for me!).  it seems like it would be
>> nicer to have the opcode skip zak altogether and output an arbitrary
>
> I have written new opcodes (vbap, vbapmoving) that take upto 64
> channels, any number.  Currently in CS6, but could "easily" be
> backported to cs5
>
>> • most other implementations of vbap that i've used (max/pure data) do
>> not output scaled audio signals but, rather, k-rate amplitude
>> coefficients and which are then applied by the user.  this permits a
>> more flexible usage: one is able to, for instance: use vbap's
>> coefficients with different signals for each speaker; pan stereo
>> sounds more elegantly; or do something else with the data altogether
>> (like using vbap coefficients to drive filters, etc.).
>
> This is is how Ville Pulkki wrote it.  Not sure I understand what you
> mean -- no I know I do not know what you mean
>
> ==John ffitch
>
>
> 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"
>