Jump to content


Photo

New Tool (3.0): Midi Convert


  • Please log in to reply
116 replies to this topic

#101 4Tey

4Tey

    Chief Above Chief Member

  • Normal Members
  • PipPipPipPipPipPip
  • 384 posts
  • Gender:Male

Posted 05 January 2015 - 18:33

Hmm, first of all this page -> http://www.renoise.c...ls/midi-convert shows midi convert v0.91.  However I click on that to download and it gives me v0.92.  v0.92 of this tool won't work due to the way Lua works its custom sort function.  (Just as a side note I don't think danoises quick fix would've completely fixed the problem anyway even if Lua would've accepted his sort function...but don't tell danoise that ;) )

 

Let me just clarify for you what the problem (that you could run into) is here with Midi Convert...(I'll assume you're using another version rather than 0.92.)

 

If you have this simple situation....(my best module I've ever written :D)

screen1.png

 

If you ask Midi Convert to export that and you then reload the resulting midi file back into Renoise you'll probably get something along the lines of:

screen2.png

 

That tripped Midi Convert up.  Cut notes because...well unfortunately just dumping all the columns/tracks notes and note offs into a table and then sorting that table isn't quite a good enough solution.  It will kinda work about 80-90% of the time, but not quite all of the time :)

 

 



#102 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6471 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 06 January 2015 - 18:49

New version, 0.93 should fix the issue above AND the one introduced in 0.92:

http://www.renoise.c...ls/midi-convert

 

For the technically curious, it turned out that the comparison case was ambiguous after all. 

But to my surprise, lua supports ">" and "<" operators on strings, so the new version is using just that.  

 

Hmm, first of all this page -> http://www.renoise.c...ls/midi-convert shows midi convert v0.91.  However I click on that to download and it gives me v0.92.  

 

Oops, I forgot to update the title of the download. Fixed with 0.93


  • Conner_Bw and 4Tey like this

Tracking with Stuff. API wishlist | Soundcloud


#103 4Tey

4Tey

    Chief Above Chief Member

  • Normal Members
  • PipPipPipPipPipPip
  • 384 posts
  • Gender:Male

Posted 06 January 2015 - 21:13

For the technically curious, it turned out that the comparison case was ambiguous after all. 

But to my surprise, lua supports ">" and "<" operators on strings, so the new version is using just that.

 

Oh of course :rolleyes:, I knew that Lua could do a lexi comparison on strings, but the mistake I made was how I was returning the boolean comparison from the custom sort function.  Lua isn't really all that kind on its sort function danoise :D  Anyway, good show sir :)    


Edited by 4Tey, 06 January 2015 - 21:14.


#104 Conner_Bw

Conner_Bw

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7093 posts
  • Gender:Male
  • Location:Montreal, Quebec, Canada

Posted 07 January 2015 - 01:12

Oops, I forgot to update the title of the download. Fixed with 0.93

 

Committed to GitHub. Thanks!

 

https://github.com/c...fc19522047a0b79


cpu Lenovo X220, Intel i7-2640M @ 2.80GHz ×4 os Windows 10 / Ubuntu 16.04 LTS
My Homepage » : My Renoise Tools » : Normalize Your Sig » : One million clicks! »


#105 MiDinkiDi

MiDinkiDi

    New Member

  • Normal Members
  • Pip
  • 3 posts

Posted 03 July 2015 - 00:53

What this tool needs is the option to choose whether or not you want to keep the MIDI routings that are assigned on to sampler channels, as for the latest version of both Renoise (3.01) and Midi Convert Tool (v0.93), I didn't find the MIDI export at all useful. All the stuff I had in my project are reduced to multiple tracks of piano notation - just like a bunch of users have reported previously.

Upon exporting to MIDI, I'd seriously like to keep (if I want to):

- The channel properties of each sample/instrument (transpose, volume, midi channel/patch/bank)
- All channel/bank/program information etc
- Preferably you could choose your export method before exporting (what parameters are included and what are not)

Otherwise, upon exporting to MIDI, I'd have to go thru all that stuff again if I decide to migrate the project to another DAW. And that's a pain in the a--. Since I'm new to Renoise and I've been using it as the "sequencer brains" for hardware synthesizers that I have in my studio rig, I'd really like to see the MIDI export/import options implemented more thoroughly in the future. 

As for now, my best bet would be to record the MIDI coming from Renoise through my MOTU Midi Timepiece (a rackmount midi-matrix) to another soundcard that'd record all the MIDI data that's being sent realtime.

IMHO, one of the best programs ever made available for tracker modules to MIDI conversion was the Impulse Tracker-interfaced zTracker, which is sadly no longer being developed. However, the source code is available and whoever is developing the MIDI export tool / such features would probably find the program interesting. https://github.com/cmicali/ztracker

Thanks.
 


Edited by MiDinkiDi, 03 July 2015 - 00:54.


#106 MiDinkiDi

MiDinkiDi

    New Member

  • Normal Members
  • Pip
  • 3 posts

Posted 03 July 2015 - 02:43

PS: As for the MIDI export options, one highly useful option in the MIDI export settings would be to merge all data assigned to MIDI channel 10 ( = GM drums) on to a single track of the exported MIDI file. "Merge all channel 10 data on a single track"? Or something like that ...

As for Renoise itself, I'd also like to see a bit more coherent approach to things in the sampler MIDI out section, such as MIDI panning, MIDI out gain, modwheel. The gain structure is also something that could be of consideration. zTracker servers as a pretty good example here, imho ... And of course GM chorus & reverb (really basic CC stuff under General MIDI standards ...).

 



#107 EatMe

EatMe

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 890 posts
  • Gender:Male
  • Location:The Hague, The Netherlands
  • Interests:Fuße wirklich richtig schmutzig machen, mit kräftig anlegen von, logischerweise, ein Schlammpfütze.

Posted 25 June 2016 - 15:31

:clownstep:/>

Midi Convert Tool

This tool will put "MIDI Export..." in the "Tools" menu.
 


Trotch on.

 

 

This is a very handy tool.
I would like to have an option to change the instruments programs (sounds) in the exported MIDI file .mid 

 

Is it possible for you to maybe make the tool

 

1=have a look at instruments (e.g. set it to general midi program number from instrument)

or

2=ask for a GM program number per written instrument in the exported MIDI file

 

because I still want to set the instruments sound (GM program) in the midi file.

 

Thank you Conner.


* website: eatme.pro
* discography: eatme.pro/music
* all Renoise projectseatme.pro/music/projects
* soundcloud: /eatme 
* some samples: this free breakbeat and another free breakbeat 
* more infoeatme.pro/about - please mention www.eatme.pro with a broadcast or share

+1

#108 Conner_Bw

Conner_Bw

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7093 posts
  • Gender:Male
  • Location:Montreal, Quebec, Canada

Posted 27 June 2016 - 21:59

Unfortunately, I'm not motivated to maintain this tool anymore.

 

Pull requests welcome. 


  • EatMe likes this

cpu Lenovo X220, Intel i7-2640M @ 2.80GHz ×4 os Windows 10 / Ubuntu 16.04 LTS
My Homepage » : My Renoise Tools » : Normalize Your Sig » : One million clicks! »


#109 EatMe

EatMe

    Guruh Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 890 posts
  • Gender:Male
  • Location:The Hague, The Netherlands
  • Interests:Fuße wirklich richtig schmutzig machen, mit kräftig anlegen von, logischerweise, ein Schlammpfütze.

Posted 30 June 2016 - 11:32

Unfortunately, I'm not motivated to maintain this tool anymore.

 

Pull requests welcome. 

 

That's a pity... Thank you however for all the work done so far. Please win the lottery so you can have valid snacks to get motivated.


  • Conner_Bw likes this
* website: eatme.pro
* discography: eatme.pro/music
* all Renoise projectseatme.pro/music/projects
* soundcloud: /eatme 
* some samples: this free breakbeat and another free breakbeat 
* more infoeatme.pro/about - please mention www.eatme.pro with a broadcast or share

+1

#110 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6471 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 12 May 2017 - 15:38

A small update has arrived:

https://www.renoise....ls/midi-convert

0.95
- Adds support for MIDI-CC Commands 

This works for the MIDI CC pattern command, so any M0 xxyy style commands are now exported too. 

As usual: if you should encounter an issue, this is the place for reporting it. 

 

Thanks goes to reaby (who did the coding)


Edited by danoise, 12 May 2017 - 15:59.

  • Ledger, Conner_Bw and EatMe like this

Tracking with Stuff. API wishlist | Soundcloud


#111 Laffik

Laffik

    Super Advanced Member

  • Normal Members
  • PipPipPipPip
  • 145 posts
  • Gender:Male
  • Location:London
  • Interests:digital music

Posted 29 May 2017 - 12:48

Great tool. Useful for moving tunes between DAWs. Thanks for making it. :)


Laffik's mp3 downloads webpage:
http://www.laffik.com/

#112 clairobscur

clairobscur

    Member

  • Normal Members
  • PipPip
  • 17 posts
  • Gender:Male

Posted 15 September 2017 - 10:05

Hello,

 

I am having errors trying to export a track. After enabling scripting as told in message #60, I get the following message:

 

*** .\export.lua:246: attempt to index field '?' (a nil value)
*** stack traceback:
***   .\export.lua:246: in function 'export_build_data'
***   .\export.lua:590: in function 'export_build'
***   .\export.lua:582: in function 'export_procedure'
***   main.lua:48: in function <main.lua:46>

 

I am using Renoise 3.1 and MIDI Export 0.95. It's the first time I encounter a problem. Deleting a certain number of (random) tracks allows the export.

 

Thanks for your help !



#113 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6471 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 15 September 2017 - 12:24

I am having errors trying to export a track. 

 

Hi, I guess there's something specific in the song that makes this happen.

Since I'm the one maintaining this tool - could I somehow get to take a look at the song (.xrns)? Better than trying to guess what the problem might be.

 

You can send me a PM if you don't feel like sharing it with everyone. Also, you can choose Edit > Delete All Instruments to make it smaller / even more secret  :ph34r:


  • clairobscur likes this

Tracking with Stuff. API wishlist | Soundcloud


#114 clairobscur

clairobscur

    Member

  • Normal Members
  • PipPip
  • 17 posts
  • Gender:Male

Posted 15 September 2017 - 12:33

PM sent, thanks!



#115 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6471 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 20 October 2017 - 10:32

A new version has arrived. Download it from the tool page

 

Thanks to @clairobscur for sharing his project with me. It would have been much harder to fix this issue without it. 

 

What's new in v0.96

- Proper support for Renoise LPB commands 
- Allow MIDI-CC Commands without accompanying note
- Allow notes spanning multiple patterns

The MidiConvert tool has now got 'proper' LPB support - which, while only tested with a few different files, seems to do the job. 

Previously, changing the LPB during a song could wreak havoc on the exported MIDI - the implementation was basically flawed. 

 

Also, the tool should now be a bit more friendly towards 'standalone' MIDI CC commands (without an accompanying note), and pattern-spanning notes. 

 

Enjoy!


  • Conner_Bw, random, ffx and 1 other like this

Tracking with Stuff. API wishlist | Soundcloud


#116 clairobscur

clairobscur

    Member

  • Normal Members
  • PipPip
  • 17 posts
  • Gender:Male

Posted 20 October 2017 - 10:39

A new version has arrived. Download it from the tool page

 

Thanks to @clairobscur for sharing his project with me. It would have been much harder to fix this issue without it. 

 

 

Yay ! :) I am very grateful to danoise for fixing the issues ! Thanks a lot !

 

As he suggested, I am posting my request for an extra feature : it would be very useful to be able to export just one track (or a selection of tracks) to MID. Maybe with an option in the Track context menu ?



#117 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 6471 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 20 October 2017 - 12:44

It would be very useful to be able to export just one track (or a selection of tracks) to MID. 

 

Agreed - it really wouldn't be hard to add additional "scopes".

While testing the tool I also missed the ability to make a selection in the pattern sequence and export only that part. 


  • clairobscur likes this

Tracking with Stuff. API wishlist | Soundcloud