Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hoa-light object share the speaker definition #11

Open
chikashimiyama opened this issue Mar 29, 2021 · 4 comments
Open

hoa-light object share the speaker definition #11

chikashimiyama opened this issue Mar 29, 2021 · 4 comments
Assignees

Comments

@chikashimiyama
Copy link
Collaborator

chikashimiyama commented Mar 29, 2021

Speaker definition object holds the information of speaker setup. This object is currently only used for vbap but this can be theoretically used also by the hoa-light object

@chikashimiyama
Copy link
Collaborator Author

I imagine this may involve changes to the vbap code which allow for exporting and reading the speaker array. Maybe this needs to be done via some sort of getter/setter interface?
by @danomatika

@chikashimiyama
Copy link
Collaborator Author

chikashimiyama commented Mar 29, 2021

I thought [define_loudspeakers] object behaves as a source of truth for all vbap objects in the patch so that I don't have to send "define_loudspeakers" messages to all vbap objects (and eventually hoalight objects) but the help file of define_loudspeakers just confuses me.

Screenshot 2021-03-29 at 11 27 11

It looks like the purpose of [define_loudspeakers] object is to tweak the triangle selection.

In other words, how can I associate a [vbap] object and [define_loudspeakers] object properly?
Is that global scope like singleton (then that's a big problem)

@chikashimiyama
Copy link
Collaborator Author

@danomatika

I think now I understand how to use [define_loudspeakers] object.

Screenshot 2021-03-29 at 11 43 06

it outputs loudspeaker-matrices when I send a bang to it and vbap object accepts these matrices.
in this way, if I want to tweak the vbap algorithm using ls-triplets or ls-direction I just do it once, because loudspeaker-matrices also contain tweaking.

so sharing the speaker position between vbap and hoalight should be done in another way and probably it doesn't worth the effort.

@danomatika
Copy link
Contributor

Yeah, I was imagining that hoalight could use the loudspeaker-matrices output from [define_loudspeakers]. If it's too much work for now, then leave it as other things are more important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants