Page 1 of 1
event recorder with floats
Posted: 17 May 2022, 00:05
by oli_lab
Hi,
to this day, if I want to record external switches and continuous values, I can only use the piano roll module,. it's OK as long as long as values are positive integer and smaller than 14bit (if I use pitch bends).
But, I'm using mainly values from OSC system and they are signed floats.
A sort of recorder that will be like the piano roll but could record floats would be great ! ie records events
for exemple there will be 10 switches inputs/outputs and 10 float input/outputs
each switch event would be recorded as message like in the piano roll (start, length)
each float would be recorded as time from begining, value
cheers
Olivar
Re: event recorder with floats
Posted: 17 May 2022, 10:12
by sm_jamieson
Can the piano roll record system exclusive midi data ?
If so you could encode your values in there.
Or, is it not possible to store values on the grid, like a knob position which is 32 bits.
I can also see uses for a Usine Event recorder, i.e. record the whole event structure that goes on the wire.
An Event is really just an array of 32 bit values. You would want to include event type.
Then you could record any Usine signal flow and replay later (perhaps the grid can already do that ?)
Might not be suitable for recording audio, but for other events.
You would only store the event if it "has changed" I imagine.
Simon.,
Re: event recorder with floats
Posted: 18 May 2022, 08:55
by SylvainT
Depending on how many values do you want to record, you probably can do something with arrays, there were so many improvments these days with this technology in Usine.
Re: event recorder with floats
Posted: 19 May 2022, 19:47
by oli_lab
I could record each 32bit data in an audio sampler easy, but it will be overkill.
data should be recorded in a compressed way : each event is recorded with 4 datas :
timestamp from the start of the recording
type (switch on, switchoff, floatCC);
code 1 :switch number, or CC#
code 2 : value
Re: event recorder with floats
Posted: 20 May 2022, 07:33
by SylvainT
Ok, 4 synchronized values to store. But how many time ?
100, 1000, 10 000 ?
New modules appeared in HH5. Global Array. They are very powerful for many reasons. You can store them in presets or in a file. And can deal with a very large amont of values. Not easy to use, but you're not new in Usine

. Could be a solution.
Re: event recorder with floats
Posted: 30 May 2022, 12:23
by oli_lab
I'll try that, managing the timestamp will need a bit of patchong, tho.
cheers
Olivar
Re: event recorder with floats
Posted: 20 Jun 2022, 21:57
by oli_lab
Hi !
I did some heavy patching and finally I made a new module : it was easier with C++ !
will be soon included into the Oli_Lab pack
can record incoming floats of any size, replay at any speed.
Up to 64 inputs/outputs and 5000 events.
perfect to record incoming OSC messages for example.
Re: event recorder with floats
Posted: 21 Jun 2022, 07:33
by rlgsbt
great
Re: event recorder with floats
Posted: 21 Jun 2022, 09:00
by grego mondo
Waouh !