Page 1 of 1
[SOLVED] realtime .mid file export
Posted: 28 May 2021, 23:54
by AndrewChi
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.
Re: realtime .mid file export
Posted: 29 May 2021, 06:39
by senso
just click on the pianoRoll and in the contextual menu press "save midi as".
but it's not possible to patch it.
Re: realtime .mid file export
Posted: 29 May 2021, 21:40
by oli_lab
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.
Re: realtime .mid file export
Posted: 30 May 2021, 10:50
by AndrewChi
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!
Re: realtime .mid file export
Posted: 30 May 2021, 19:12
by oli_lab
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"
Re: realtime .mid file export
Posted: 31 May 2021, 08:11
by AndrewChi
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!
Re: realtime .mid file export
Posted: 31 May 2021, 14:34
by oli_lab
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
Re: realtime .mid file export
Posted: 31 May 2021, 16:40
by AndrewChi
That's great!!
I'll get busy with it and report later!!
Merci beaucoup.
Re: realtime .mid file export
Posted: 31 May 2021, 20:55
by senso
save and load in realtime will be implemented in the next major release.
Re: realtime .mid file export
Posted: 31 May 2021, 21:32
by AndrewChi
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
Re: realtime .mid file export
Posted: 01 Jun 2021, 18:40
by oli_lab
Hi
I did some experiments, need the oli_lab addon
it is not working 100% for some reason, but it's pretty near !
Re: realtime .mid file export
Posted: 04 Jun 2021, 21:37
by AndrewChi
Wow!! Thanks so much.
For some reason I didn't get a notification for your post...
Going to test it now!!
Re: realtime .mid file export
Posted: 27 Jul 2021, 14:32
by AndrewChi
Fixed in HH5 as promised. Merci beaucoup!!! Top notch.