iterator sound trigger difficulty

cDixRun's picture

Hello all,

I have a motion tracking step sequencer in development. I currently have a nested iterator creating the sprites and I am doing some funky stuff that allows the user to use space bar + motion tracking to select the sprite and toggle it 'on'.

The problem is that the Kineme audio file player's "trig" input will not play within an iterator.

I assume this is because of the normal iterator problems.

The other option is to output my conditional result to the root and trigger the sound files this way. My main conditional checks the x,y position of the tracked point against the iterated structure of all possible sprite x,y positions to determine which sprite the tracked point is currently over.

The problem is that outside of the iterator the output of the conditional is never true.

I assume this is because the bool is determined by the iterated structure within the iterator.

I am stuck on this problem and have little to no idea on how to solve it. Any leads would be much appreciated.

I have posted the composition, let me know if anything can be further clarified.

  • note * must be opened in snow leopard because I am outputting from an iterator
PreviewAttachmentSize
_dixonTogglingSpaceXclears.qtz163.46 KB

cybero's picture
Re: iterator sound trigger difficulty

set the file player to the correct path for the file resource - check, flag trig - check, connect from a toggle to the enable on the file player - check. press to enable and the file should just play. I am currently finding that I need to enable, disable, then re-enable for the file player to play audio in 10.6.x. should be no problem as such with working within an iterator that I know of.

cDixRun's picture
Re: iterator sound trigger difficulty

Cybero, So all I would need to do is enable, then disable, then re-enable at run-time (or via the inspector)?

Thanks for the response btw.

~/cDix

cybero's picture
Re: iterator sound trigger difficulty

As per this brief attached example, cDix. It's just a simple keyboard stroke - :-) - I have included both a Toggled and a non - Toggled version [includes a very small .aif file].

PreviewAttachmentSize
AudioinIterator609.95 KB

cDixRun's picture
Re: iterator sound trigger difficulty

I will not be able to test on a snow leopard machine for a day or two, but I will post as soon as I get a chance.

Thanks again for the help.

I hope to have an interesting setup by the end of it.