Author |
Message |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 24033 Location: The Netherlands, Enschede
Audio files: 276
G2 patch files: 320
|
Posted: Tue Jun 30, 2020 5:30 pm Post subject:
Audio recording |
 |
|
It was brought up here that it would be nice to have some audio recording thingie .. for which a max time can be set .. and a file to write to .. such that .. say .. the last ten minutes of audio of a patch are available to be saved.
I've experimented a bit with this ... but instead of making it a program feature I've made it a module ..something like ...
.. is what I came up with. Can select a max duration in minutes and the number of channels to record (1-8) .. basically it works now .. even with an odd amount of channels ... but for the 32 bit version @ 48000 samples / sec and 30 minutes of buffer time with more than 4 channels it will generate all kinds of interesting out of memory issues .. including other (unrelated) software to go nuts .. but four channels / 48k / 30 minutes will still work . when the patch doesnt use much memory otherwise .... (or @ 96k .. two channels should work .. etc.)
For the 64 bit version it seems to not be an issue at all .. and also can put in some fixes still .. like recording in 16 bits or 32 bit floats instead of 64 bits per channel (float) ... althogh 16 bits would have a clipping risk .. whereas with a float format the recording can be renormalized later on (on the write out to disk) to something non clipping (a normalizing feature is built in .. maybe auto-normalizing should be an option - currently it is always-on)
But erm .. then I got some feature creep in my head .. like a playback/monitor head on it ... with variable delay between record and playback head .. or like .. to have inputs on the thing to start recording .. stop it .. clear the recording .. write it to file .. (that needs a little work still too .. recording should be stopped during write I guess)
Anyways ...are there any ideas out there about this? _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 24033 Location: The Netherlands, Enschede
Audio files: 276
G2 patch files: 320
|
Posted: Tue Jun 30, 2020 5:50 pm Post subject:
|
 |
|
Oh .. an error above .. I am already recording in 32 bit floats .. not 64 bit ones .. soo .. 16 bit int would allow for 8 channels @ 48k during 30 minuts .. for the Wren 32 bit versio about that ... depending on other patch memory usage.
Maybe the max recording time should be made dynamic depending on .. stuff. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 24033 Location: The Netherlands, Enschede
Audio files: 276
G2 patch files: 320
|
Posted: Tue Jun 30, 2020 5:52 pm Post subject:
|
 |
|
Or maybe I should rewrite things .. such that data is kept on disk and not in memory. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
Blue Hell
Site Admin

Joined: Apr 03, 2004 Posts: 24033 Location: The Netherlands, Enschede
Audio files: 276
G2 patch files: 320
|
Posted: Tue Jun 30, 2020 5:59 pm Post subject:
|
 |
|
Hmm .. and there are some inherent wave file format limits too that i did not deal with yet. _________________ Jan
also .. could someone please turn down the thermostat a bit.
 |
|
Back to top
|
|
 |
airlock

Joined: Apr 06, 2007 Posts: 287 Location: Calabash, NC USA
Audio files: 50
|
Posted: Tue Jun 30, 2020 6:09 pm Post subject:
|
 |
|
My only thought is "great!" |
|
Back to top
|
|
 |
boaone
Joined: Nov 06, 2019 Posts: 42 Location: Warsaw
Audio files: 1
|
Posted: Thu Jul 23, 2020 6:03 am Post subject:
|
 |
|
Really nice module. Working 24/7 in the background for some samples. When something interesting going i just pushing a button. Very useful. |
|
Back to top
|
|
 |
|