How to Delay Audio Signal by Number of Samples?
-
I'd like to split the audio stream (easy enough), and then delay one of them by a fixed number of samples.
The delay needs to be rock-solid. @Christoph-Hart has done an amazing job in HISE keeping important things locked tightly, so I'm thinking there's probably a simple way to do this that I'm missing.
On another thread, people suggested modifying the sample-start position, or delaying the associated event, but neither will help in my situation.
Any ideas? Thanks and cheers.
-
@clevername27 scriptnode with a delay node?
-
@Christoph-Hart Thank you again - not sure how I missed "delay_cable". Cheers.
-
-
@clevername27 delay_cable is for delaying parameter changes, not the audio signal though.
Why you don't use a
core.fix_delay
and a converter?HiseSnippet 1087.3ocuW8riZaDFeLrd2.MsJQoO.bjHsBAoooUpGBKvRKpEVqXJJ8z1YGOrLB6YrFOd2kTUobL2Zula80n2x6P6qPuW0Wf1uwiAaCnsKnzBRHOe+Y7uuee+YFbjBBMJRHQVUFuHjhrtus6BtZV2YXFGMnGx5irGhiTTYMinNKBwQQTOjkU4uTKvpxAnjO+4y6f8wbBMSDBMQvHzugEvTYRcZ+0Le+9XO5XVPNqeZ6ADAuqvWDC3orcSTHlLGeIcDVaVIaj0gm5wTBoqBqnQfMcDdKbmItlareBKhcgOUunExE1HiXT2YLeOmkwZDBYcfSVjW1D4er8PlGak7LF3AIJpk4QdNvpzsAoV6.jrxAoCLP5g1tDIKTkoQimOvd.GRHSw.UmGJFaQVuytq.LfqZDfmS6KgEqbn9yZ173ZvOO9KlFyIJlfWSvGITzy30eb0enZkp+X0ZqqZ5zspS+ZjBeepbqp0YW4s4XcdbvET4w0tB6GSWYHD9E4zCuabJwD04LTvGvYpyBooq6K78zbk94My.nTZCd5aGzCqv5jRpLvtPpTwzvwpG8Jnp1jhpX2iFMWIBg55MxePkivK1GqJVNo6aRU.7QgbnNQwiXpE46q1gZrl2ZM1cEhOz1goHy1NFKsELBL0+EXLsy7CsOc5TJQkAvCr6+x8sMr4N2FVMsMDdm5W98SWVq+Kas0Fv2XmUrGJogXIcrvwGundDNHzm9B.iGW6BeAYtK6UzM6PBMPni1h5jYXNm5GsOMRG9dZ3D5EhXEie4PrRxtAYYOJNvEFSSncSQGHypjtGxrtodsttvkx8RV72vmTkszqsRU1ZoxbseinpqEx4IoizmQVGY39nDR97o2zBchuu35thfPVZUJjCRj4H7WDNSvYDsHiEKQ5IAhX3kjB2uBGMFy70k0twQvfBuy3tfwIGiYUdBUFkrwGY2rA7EJyGI7.U18wDfXW3fUyz8K5YOPwIU1frpHs.VyWmn2hkGyYXI.hA5PO4Ptx4F1XpG0qftsRlccPzDsVB1GMQmu0fGo2Ss4Kwm4fB.VWA1RknB38QI3EJbZjYv6M.dndhBcIzflkjZ9nmLDLNahxXr7RpJJcDKmRLIvD3OvSi8oraN2iBcMHGrDtA..RihdZgIWcHSiAHKWAfXHimhfrYTCw2TP1qeyez1UQC0Mg4m25NmdsguxKUGaGYa1fBay69qeuMp.smA8Bz9C.ZWRajocG37R447hwcobw8Q2k3F09mVOt+k291ecy396eTue64lPJizWa6+t1mDqDAv.ljCGP6ZR.g94cLIT0d0cGWamdc6BLCpiPLO.mLHY+NR++iwdAXhTbdZCoNeduDIPaFO4duUfKfCqq0Bc05bY.buzyIjha0FN9j80wOYec7o6qie5953y1WG+r80wO+e2Q8eaHs4PObCp8cNMoHzx5TNFN3MowG8O.OVqsJC
-
Thanks, mate - I was trying to figure out what I needed to modulate! Cheers!
@Christoph-Hart said in How to Delay Audio Signal by Number of Samples?:
HiseSnippet 1087.3ocuW8riZaDFeLrd2.MsJQoO.bjHsBAoooUpGBKvRKpEVqXJJ8z1YGOrLB6YrFOd2kTUobL2Zula80n2x6P6qPuW0Wf1uwiAaCnsKnzBRHOe+Y7uuee+YFbjBBMJRHQVUFuHjhrtus6BtZV2YXFGMnGx5irGhiTTYMinNKBwQQTOjkU4uTKvpxAnjO+4y6f8wbBMSDBMQvHzugEvTYRcZ+0Le+9XO5XVPNqeZ6ADAuqvWDC3orcSTHlLGeIcDVaVIaj0gm5wTBoqBqnQfMcDdKbmItlareBKhcgOUunExE1HiXT2YLeOmk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