Page 1 of 2

Request for midi export/import

Posted: Mon Jan 16, 2012 2:08 pm
by Xaphoid
didn't see a thread for requests of new features so I'll post here.

I need midi export support badly for collaboration between different platforms that use midi. If anyone else would find this useful please put your petition here.

Note to Oskari T: I'd be willing to make donations every month in the amount that I can afford if this can be implemented. :D

Re: Request for midi export/import

Posted: Mon Jan 16, 2012 4:00 pm
by tinga
Piano roll import the first midi track, an import with an option to select the track's number we want to import will be cool, an import track by track, by this way we could have a better control for machine assignment, i'm not sure that a global import will be the best solution, why not a new machine, a midifile player, Kazuya's midi 2 peer doesn't work in new buzz :cry:

Re: Request for midi export/import

Posted: Mon Jan 16, 2012 4:01 pm
by oskari
Pattern XP and Pianoroll can already export midi (CMachineInterfaceEx::ExportMidiEvents), but there's no GUI support for this. Maybe someone wants to do it.

Re: Request for midi export/import

Posted: Mon Jan 16, 2012 4:04 pm
by Xaphoid
so it will do this from the tracker as long as its XP?

Re: Request for midi export/import

Posted: Mon Jan 16, 2012 11:22 pm
by Xaphoid
how do I use that piece of code? Can I use it as a command in the Debug console somehow?

Re: Request for midi export/import

Posted: Tue Jan 17, 2012 7:54 pm
by oskari
It's done now and supports at least pxp MIDI parameters and Polac VSTi's parameters, including note delay and cut.

It looks for parameters called Note, Note Velocity (or just Velocity), Note Cut and Note Delay. Any machine that has these (or some of these) parameters may work.

Re: Request for midi export/import

Posted: Tue Jan 17, 2012 8:00 pm
by Xaphoid
I guess money talks! hehehe. Thanks for the quick turnaround on that request.

Re: Request for midi export/import

Posted: Fri Jan 20, 2012 9:59 pm
by Evelon
Fucking awesome, Oskari! Thank you so much!

Re: Request for midi export/import

Posted: Sat Jan 21, 2012 1:24 am
by ags
oskari wrote: including note delay and cut.
Neat.

Re: Request for midi export/import

Posted: Sun Jul 15, 2012 7:49 am
by hundredcaws
so how to run the export option. i cannot see the button ?

Re: Request for midi export/import

Posted: Sun Jul 15, 2012 2:26 pm
by oskari
Right-click in the new sequence editor.

Re: Request for midi export/import

Posted: Sat Oct 20, 2012 2:39 pm
by syphilissauna
diggin up this thread because I was recently importing a few midi files into a buzz track using the patternxp piano roll method and was noticing that if I import a midi file and then switch to regular pattern xp editing the note information isnt there any longer .. is there something Im doing wrong ? Id like to import using the pianoroll and then switch to regular editing mode so that I can copy , paste , add notes etc with more ease .. any ideas ?

Re: Request for midi export/import

Posted: Sun Oct 21, 2012 9:20 pm
by Mu_
[...]

Re: Request for midi export/import

Posted: Mon Oct 22, 2012 11:50 am
by oskari
You have to enable MIDI notes in pattern XP (Columns...).

Re: Request for midi export/import

Posted: Mon Oct 22, 2012 11:11 pm
by syphilissauna
oh ok thanks yall .

Re: Request for midi export/import

Posted: Tue Nov 06, 2012 6:21 pm
by Per Lichtman
First of all, thanks for the MIDI import/export capability. It is so greatly appreciated and I can't tell you how many times I wish I had, had it years ago. Kudos. :)

Are there any plans to add MIDI channel to the data exported? I do a lot of rhythmic string writing in Buzz where I use MIDI channels for articulation switching (staccato up cha 1, staccato down cha 2, pizzicato a cha 3, pizzacto b cha 4, etc.). If the MIDI channels changes were preserved during export, I could pretty much go straight from Buzz to my notation program without having to open the Buzz file to check my edits (like I have done for years :)

Btw, it took me a bit to figure out how to get MIDI export working since I was missing a couple steps so here's the short version for anyone just starting out.

MIDI Export
  • - In Buzz go to View>Settings
    - Click on the Sequence Editor tab and make sure that "Hide Editor" is set to "False".
    - Select the Pattern View (F2).
    - You should now be able to see the New Sequencer display near the top of the screen, located above the headers reading "Machine", "Editor", "Wave", "Base Octave", etc.
    - Right-Click anywhere in the New Sequencer and select "Export Track as MIDI" (to export just the selected machine) or "Export Song as MIDI" (to export the MIDI for all the machines).

MIDI Import (supports the first track of a given MIDI file - use single track MIDI files for maximum compatbility)
  • - In Buzz, select the Pattern View (F2)
    - Find the "Machine" dialog box located above the main editor (and below the New Sequence Editor, if that is enabled in your view).
    - In the "Machine" dialog box, select the machine you want to import the MIDI sequence for.
    - In the Editor dialog box, select "Jeskola Pattern XP Editor"
    - If you want to import the MIDI sequence into a new pattern, create a new pattern (CTRL+ENTER or right-click anywhere in the bottom editor and select "New Pattern")
    - Click the "Columns" button on the left side of the screen.
    - Click the check box next to the machine you are editing to switch it from a filled box to checked one and click "OK". If the box is checked (as opposed to filled or empty) already, just leave it alone.
    - In the Editor dialog box, select "Jeskola Pianoroll". Note: It is suggested that you stop playback for this step as switching between Jeskola Pianoroll and other editors can be demanding on some systems.
    - Near the left side of the screen, click on the "Import" button.
    - Select the MIDI file you want to use.
    - You can now edit the MIDI note data in either the Jeskola Pianoroll or Jeskola Pattern XP editors by clicking on the "Editor" dialog box to switch between them.

Re: Request for midi export/import

Posted: Mon Nov 26, 2012 1:11 pm
by hundredcaws
syphilissauna wrote: Id like to import using the pianoroll and then switch to regular editing mode so that I can copy , paste , add notes etc with more ease .. any ideas ?
switching between pianoroll and patternxp most of the times causes crash (my experience)

Re: Request for midi export/import

Posted: Thu Nov 29, 2012 3:48 pm
by nogginj
Per - I've added your nice little write-up to the buzz wiki.
http://buzzwiki.robotplanet.dk/index.php/MIDI_in_Buzz

Thank you

Re: Request for midi export/import

Posted: Fri Nov 30, 2012 11:12 am
by vacuum
Per Lichtman wrote: Are there any plans to add MIDI channel to the data exported? I do a lot of rhythmic string writing in Buzz where I use MIDI channels for articulation switching (staccato up cha 1, staccato down cha 2, pizzicato a cha 3, pizzacto b cha 4, etc.).
Maybe you can export them as seperate tracks. (I tried it only once, but it worked)
(maybe add this to the wiki too..?)

In case that you have used multiple midi channels in polac's vsti, you can record/export these channels like this:
You record all data to multiple instances of polac's "internal midi" and then export...
(the data for note cut and note delay get a little bit different here though)

-add multiple instances of polac's "internal midi" (as many as you have used midi channels)
-rightclick these "internal midi" devices and choose in attributes the "midi in channel" that you want to be recorded
-rightclick the (to be recorded) vsti and choose "midi send..." and then select all internal midi devices.
(in case the (to be recorded) vsti does not support midi send... then (rightclick and choose open...) replace the vsti by another instance of the internal midi)
-set it all up with the right names for the channels (right click and rename) so you remember what is what.
-set the looppoints, disable looping, add patterns to sequencerview and start recording.
-then export midi from sequenceview like described above

(sometimes the free demo of energyxt vsti might help too, for import/export midi, by recording data http://www.energy-xt.com/index.php?id=0200 )

Re: Request for midi export/import

Posted: Wed Dec 19, 2012 1:59 am
by Per Lichtman
nogginj wrote:Per - I've added your nice little write-up to the buzz wiki.
http://buzzwiki.robotplanet.dk/index.php/MIDI_in_Buzz

Thank you
Thanks for doing that. I hope it helps people.
vacuum wrote: Maybe you can export them as seperate tracks. (I tried it only once, but it worked)
(maybe add this to the wiki too..?)
I'm going to try the method you described now. I don't seem to be setup to get updates in this thread sent to my e-mail yet, so I apologize for not seeing your post sooner. :)

If Oskari adds a MIDI channel entry in Pattern XP and the Piano Roll that exports, that would be the ideal solution. But I'm definitely game to try yours and thanks for putting the time into detailing it!

I was also going to try using MIDI output from Buzz to record in Reaper, but for some reason the MIDIVST list of devices only shows "Internal MIDI" and "Internal MIDI (x64)" even though "MIDI Send" list for the Polac loader lists more than 9.

How can I repopulate my list of MIDIVST devices?

UPDATE: Found the MIDIVST answer eventually - just took more searching than usual.
Here's Polac's answer.

viewtopic.php?f=3&t=7&p=2845&hilit=midivst#p2856

And here's my step-by-step, based on that.

- Right click on a PVST or PVSTi in your session
- Click on "Preferences"
- Select the "Global 2" tab
- Select "Scan Shell" and select either "midivst.dll" or "midivst.x64.dll"
- Click "OK" in the dialog that pops up.
- Click "OK" in the preferences panel.
- Close Buzz.
- Restart Buzz.

The list should now include all your MIDI devices.