Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Request- float arrays to stereo mem

For general discussion related FlowStone

Request- float arrays to stereo mem

Postby nix » Mon Jan 28, 2013 10:43 pm

Hey folk,
Back after a sucky summer where my house burnt down.
Anyway-
I manged to build a float array recorder that doesn't click--
taking 1 second float arrays with 'mono to graph' and appending them.
Ruby is suffient to give one second interval ticks.
The jury is still out as to how much RAM it is using.
I have different result on my desktop-- it use no RAM possibly.
As this is working,
I need to ask for a prim that will turn 2 float arrays into a stereo mem.
I don't want to render the data with
'wave write stereo',
it takes time, whereas the float array should be available immediately.
Cheers!
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Request- float arrays to stereo mem

Postby trogluddite » Mon Jan 28, 2013 11:16 pm

Hi nix, good to see you back.
nix wrote:Back after a sucky summer where my house burnt down.

Ouch, that sounds a bit beyond "sucky" - hope things are getting back on traclk OK.

Sounds like an interesting little project. I've been trying to use Ruby to do something similar direct to disk - but seems the IO access is just too slow to do it without ticks and crackles.
I'd like to see that primitive too - but in the meantime...
Presumably there are two things you might do with your stereo mem...
1) Play it back!
Could be worked around by using two mono wave reads with the same index, maybe?
2) Save it as a file.
That's the tricky one, because you have to have a single mem - but I may have a workaround soon. My Ruby 'live recorder' is too clunky to use, but it means that with a bit of tweaking, I have the file format nailed to make .wav file save that could work directly from the float arrays without 'mem' conversion. Just 16bit at the moment, but I'm working on the header format for 24bit and float.
How quick it would be, I don't know, as I can't try a big "off-line" save until I re-build it - but interleaving the left and right array can be achieved with two built in Ruby methods that are both compiled C routines, so I would think it would be faster than an real-time render, though maybe a bit of a CPU hog.
I'll let you know as soon as I have a working schematic to play with.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Request- float arrays to stereo mem

Postby nix » Tue Jan 29, 2013 6:19 am

Thanks a bundle trogs!

Yeah-we're all safe,
it was a beautiful house though--we were set up there.
If I can complete as many projects as possible,
I will be on track IMO.

The playback method will suffice for now-
but it makes saving so long if you have track length takes
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Request- float arrays to stereo mem

Postby nix » Sat Feb 02, 2013 9:46 pm

I'd like to bump this in the hope of a reply from support :?:
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am


Return to General

Who is online

Users browsing this forum: No registered users and 65 guests