music.mix_many_with_offsets¶
- music.mix_many_with_offsets(*args)[source]¶
Mix any number of sonic vectors, each at its own offset.
Where
mix_with_offset()takes two sounds and one offset, this takes as many as it is given: each sound is mixed into the result built so far, delayed by the offset that follows it.- Parameters:
- *args
sonicvectors,eachoptionallyfollowedbyascalar A sequence of sonic vectors, each a sequence of PCM samples, or a sequence alternating the sonic vectors and their offsets in seconds. A vector with no scalar after it is mixed at offset 0.
- *args
- Parameters:
args (ArrayLike)
- Return type:
NDArray[float64]
See also
mix_with_offsettwo sounds and a single offset.
mix_manya list of sounds aligned at their starts or their ends.