Welcome to %s forums

BrainModular Users Forum

Login Register

event recorder with floats

Tell us what you'd like Usine to do
Post Reply
oli_lab
Member
Posts: 1020
Location: Brittany, France
Contact:

event recorder with floats

Post by oli_lab » 17 May 2022, 00:05

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
http://oli-lab.org

Win10 I7/16GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Facebook
http://www.facebook.com/pages/OLI_LAB/3 ... 506?v=wall

sm_jamieson
Member
Posts: 521

Post by sm_jamieson » 17 May 2022, 10:12

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.,

SylvainT
Site Admin
Posts: 441

Post by SylvainT » 18 May 2022, 08:55

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.

oli_lab
Member
Posts: 1020
Location: Brittany, France
Contact:

Post by oli_lab » 19 May 2022, 19:47

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
http://oli-lab.org

Win10 I7/16GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Facebook
http://www.facebook.com/pages/OLI_LAB/3 ... 506?v=wall

SylvainT
Site Admin
Posts: 441

Post by SylvainT » 20 May 2022, 07:33

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.

oli_lab
Member
Posts: 1020
Location: Brittany, France
Contact:

Post by oli_lab » 30 May 2022, 12:23

I'll try that, managing the timestamp will need a bit of patchong, tho.

cheers

Olivar
http://oli-lab.org

Win10 I7/16GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Facebook
http://www.facebook.com/pages/OLI_LAB/3 ... 506?v=wall

oli_lab
Member
Posts: 1020
Location: Brittany, France
Contact:

Post by oli_lab » 20 Jun 2022, 21:57

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.
event recorder.PNG
You do not have the required permissions to view the files attached to this post.
http://oli-lab.org

Win10 I7/16GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Facebook
http://www.facebook.com/pages/OLI_LAB/3 ... 506?v=wall

rlgsbt
Member
Posts: 154

Post by rlgsbt » 21 Jun 2022, 07:33

great

grego mondo
Member
Posts: 385
Location: 22110 Rostrenen
Contact:

Post by grego mondo » 21 Jun 2022, 09:00

Waouh !
En attendant cordialement l'apocalypse ... 100% Usine !!
https://lesformesdufond.kaz.bzh/grego-mondo/
PC i7 2.6Ghz - Win10 / RME Fireface UFX
Tubas / Serpent / Music Box
Interfaces Midi / OSC / DMX

Post Reply