2 float arrays to stereo mem?

For general discussion related FlowStone
Post Reply
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

2 float arrays to stereo mem?

Post by nix »

heya, going over this old problem.
I can't figure out how to convert 2 float arrays into a stereo mem,
without rendering with a 'stereo write'.
Does anyone know how to?
the stereo mem is interleaved, with left on even samples, and right on odd
- but how do I tell the mem it is stereo?
Is it something to do with the .riff header?
Cheers and nJoy!
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: 2 float arrays to stereo mem?

Post by nix »

..so I have been trying to find the right hack,
I can create a mem in code with 'memrefin' or 'memin item[8]',
but how can I get mems out of the code blocks?
these things work backwards sometimes, but the code doesn't seem to to start
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: 2 float arrays to stereo mem?

Post by nix »

looks like 'analyzer' is the prim I needed

-got it working now,
will tidy and up
Post Reply