[Clam-devel] sinks and sources ordering...
nolaiz at gmail.com
Sun Jan 4 06:15:07 PST 2009
Here is attached a new patch version. The NetworkEditor updates the
geometries map before the network Start () (on NE MainWindow play
trigger), which calls the (JACKNetwork)player, which ask the network to
calculate the order. Then the map is cleared.
Now I'll try to put it the routines that I added to JACKNetworkPlayer
directly on NetworkPlayer::GetAudioSources and GetAudioSinks, which are
used by the OfflinePlayer (and I think could be used for the
JACK...Player too then).
Pau: what do you think about this new method?
Best regards, and happy new year to all clam developers! :)
El 12/19/2008 09:52 AM, Natanael Olaiz escribió:
> On Fri, Dec 19, 2008 at 12:16 AM, Pau Arum'i <parumi at iua.upf.edu
> <mailto:parumi at iua.upf.edu>> wrote:
> En/na Natanael Olaiz ha escrit:
> Pau suggest me to try to keep some order on sources and sinks
> within the players. Now are using a map, so the order is
> The idea is to use the geometry positions on canvas(upper is
> first)... but the problem is that actually the only who knows
> that is the canvas, and for a while (on loading/pasting) the
> network, but not the OfflinePlayer...
> So... here is a patch with the actual state of my sandbox.
> Still with debug messages, and the players are not using the
> new ordered list..
> I send to the list to ask if someone have a better idea to
> implement it.. If not, later I will commit this (without the
> messages), and then I'll use that on the players..
> Nice! But I'd like to do more reviewing of the pach (ideally on
> monday) before commiting -- unless is very necessary for the
> recent ambisonics decoding plugins. I'd basically try to not store
> the orderedSources/Sinks but calculate them...
> If I don't store the order I would need to store the geometries on the
> network to calculate them...
> The geometries map used to copy and load the networks is cleared after
> get it from the canvas... OfflinePlayer doesn't get(/clear) it ...
> Maybe I can use that map: directly on OfflinePlayer (is updated on
> loading), updating it before a play event from NE MainWindow.... I
> will see..
> Best regards,
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> <mailto:Clam-devel at llistes.projectes.lafarga.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12142 bytes
Desc: not available
More information about the clam-devel