Welcome to %s forums

BrainModular Users Forum

Login Register

[SOLVED] realtime .mid file export

I need help on a Patch
Post Reply
AndrewChi
Member
Posts: 62
Location: Belgium
Contact:

[SOLVED] realtime .mid file export

Unread post by AndrewChi » 28 May 2021, 23:54

Hi,
I'm trying to export my recorded MIDI data in the PianoRoll as a .mid file.
Is this possible? I cannot seem to find how to do it...

Any help greatly appreciated!
Thanks a lot.
Last edited by AndrewChi on 27 Jul 2021, 14:33, edited 1 time in total.

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 29 May 2021, 06:39

just click on the pianoRoll and in the contextual menu press "save midi as".
but it's not possible to patch it.

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 29 May 2021, 21:40

could be a good feature in HH5 ?
saving files while playing live and be able to recall it in another rack for further treatments is cool.
I've done that with audio files : record people talking then using the recording later on in the live performance.
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

AndrewChi
Member
Posts: 62
Location: Belgium
Contact:

Unread post by AndrewChi » 30 May 2021, 10:50

Thanks @Senso and @oli_lab for your quick replies!

Would be supernice to see this implemented in HH5!
For now I'll try to find a clumsy workaround with some type of screen automators to achieve this.
Or do you think of another solution that could work? Would it be possible with a script maybe?

Thanks for your help!

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 30 May 2021, 19:12

have a go with some of the array modules I have made : store array module, connected to the event output of the piano roll will allow you to store up to 512 midi sequences up to 2048 bytes in size (1 note take 6 bytes => 341 notes I think)

maybe you can store those array to HD with a script, not sure, you could try from the "write text file" and "read text file"
Attachments
store midi.PNG
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

AndrewChi
Member
Posts: 62
Location: Belgium
Contact:

Unread post by AndrewChi » 31 May 2021, 08:11

That's a good tip, thanks.
Don't know if it's going to work out for me because I really need the standard the midi file format. The goal is to be able to visualize the contents of Usine's piano roll in musical notation. I want to open the generated midi file in MuseScore on the fly...
I'm going to look into the scripts!

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 31 May 2021, 14:34

the write script will do as a starter.
you'll have to change the name in .mid instead of .text and add the appropriate header : http://www.music.mcgill.ca/~ich/classes ... html#BM2_1
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

AndrewChi
Member
Posts: 62
Location: Belgium
Contact:

Unread post by AndrewChi » 31 May 2021, 16:40

That's great!!
I'll get busy with it and report later!!

Merci beaucoup.

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 31 May 2021, 20:55

save and load in realtime will be implemented in the next major release.

AndrewChi
Member
Posts: 62
Location: Belgium
Contact:

Unread post by AndrewChi » 31 May 2021, 21:32

That's really great to hear!

I was experimenting with the script but I'm running into an error converting the PianoRoll array to Comma text.
Do you already have a rough ETA on the next release? I'm working on a project due 26 October...
For now I'll try the OSX 'Automator' route again to get things working quick and dirty :-)

Thanks again :!:
Schermafbeelding 2021-05-31 om 21.25.27.png

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 01 Jun 2021, 18:40

Hi
I did some experiments, need the oli_lab addon

it is not working 100% for some reason, but it's pretty near !
Attachments
save midifile.wkp
(94.98 KiB) Downloaded 276 times
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

AndrewChi
Member
Posts: 62
Location: Belgium
Contact:

Unread post by AndrewChi » 04 Jun 2021, 21:37

Wow!! Thanks so much.
For some reason I didn't get a notification for your post...
Going to test it now!!

AndrewChi
Member
Posts: 62
Location: Belgium
Contact:

Unread post by AndrewChi » 27 Jul 2021, 14:32

Fixed in HH5 as promised. Merci beaucoup!!! Top notch.

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests