i’m in the phase of starting using the AudioSources and Transport classes, cause i would like to make a sort of basic multi track for wave files.
from what i’ve understood all i need is a series of AudioFormatReaders (with the playing wave buffers) that i’ll attach to a mixer, a mixer source attached to a transport source.
now taken that i need to play a subsection of each wave, and even not from the current start of the transport:
say i have wave1 that plays 1000 samples at 0 samples offset, and wave2 that plays 3000 samples at 2000 samples offset (from the start of the transport).
how would i specify to a positionable audio source (or the mixer or the transport) to not play from the beginning, but to wait when the wave start event offset is reached ?
i’ve tried to look at AudioSources code and at AudioDemo code, but i see that is not perfectly commented as other parts of the framework (maybe cause people can reverse engineer Tracktion?)
can anybody help here ?