def sg.neg
import emerging-ezaudio@0.4.0.0/src/mp3_syn.bend as Mp3Synimport Base
462# negate the sample just read
463def sg.neg(got: Dx, +at: U32) -> Array<F32>:
464 match got:
465 case Dx{acc, v}:
466 Array.set(F32, acc, at, F32.neg(v))
import emerging-ezaudio@0.4.0.0/src/mp3_syn.bend as Mp3Synimport Base
462# negate the sample just read
463def sg.neg(got: Dx, +at: U32) -> Array<F32>:
464 match got:
465 case Dx{acc, v}:
466 Array.set(F32, acc, at, F32.neg(v))