[Clam-devel] sinks and sources ordering...

Natanael Olaiz nolaiz at gmail.com
Sun Jan 4 06:24:33 PST 2009


Just the same patch, without forgotten testing calls to getOrdered... on 
NE MainWindow.

El 01/04/2009 03:15 PM, Natanael Olaiz escribió:
> Hi,
>
> 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! :)
> Natanael.
>
>
> 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:
>>
>>         Hi!,
>>
>>         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
>>         unpredictable...
>>         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,
>> Natanael
>>
>>  
>>
>>
>>     Ciao!
>>     P
>>
>>
>>     _______________________________________________
>>     Clam-devel mailing list
>>     Clam-devel at llistes.projectes.lafarga.org
>>     <mailto:Clam-devel at llistes.projectes.lafarga.org>
>>     
>> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel 
>>
>>
>>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: orderin_sources_and_sinks.patch
Type: text/x-diff
Size: 12077 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20090104/f72c4726/attachment-0004.patch>


More information about the clam-devel mailing list