Get XRNZ phrases from Yamaha styles or similar?


(Raul (ulneiz)) #1

Does anyone know how to convert the styles of Yamaha or similar keyboards into XRNZ phrases quickly? :huh:

As a reference, the phrases should have about 16, 24 or 32 lines at most. If possible, group them into 4 phrases to cover a pattern. That is, the length of a pattern would be covered with 4 phrases (if they are 16 lines, it covers a pattern of 64 …).

That is, a style of coping should be defined by 4 phrases. Would anyone know how to obtain this MIDI data, or from Yamaha banks or similar, to convert them to XRNZ? Is there any method to do that?

My objective is to create “folders of styles” with 100 phrases XRNZ, with groups of 4 phrases (that’s 30 groups for a single style , a single instrument).

Somebody could help me?


(Circe) #2

See p.m.


(joule) #3

I’ve done something similar, but using another phrase scheme than what you seem to be aiming for. It’s not “quickly” done though. Yamaha styles are pretty much normal MIDI data with a couple of markers, so you have to load and reinterpret that to Renoise compatible data with some LUA MIDI library. I recommend http://www.pjb.com.au/ . (It should be easy to find the specific markers for the style MIDI format via google) Then process note-by-note to taste, depending on what scheme you’re aiming for :slight_smile:

EDIT: better link - http://www.pjb.com.au/comp/lua/MIDI.html


(Circe) #4

@Joule

Very interesting link… !!

I made one in Java code…

To get/find the marker in a midi file It,s easy… but to convert the whole sequence made in a specific chord (Cmaj7 - Yamaha file) in other for example Csus4… Thats the Big Enigma. !!

Is there any example code in the link you sent ?

THANKS !


(Circe) #5

Mmmmmm reading a bit if that documentación talks about sysex data…

There,s a lot docs about read/convert Yamaha styles chords using sysex comands!!!

To adapt them to lua would be incredible !!!


(joule) #6

The link is only a LUA “module” for importing and dealing with MIDI data. Note/chord parsing have to be done separately.

I’m not sure about the remapping algorithms used for yamaha styles, in particular how voices are added/omitted when converting from Cmaj7 to a three voiced or a five voiced chord. Other than that, changing the voices from Cmaj7 to Fadd9 isn’t much more difficult than simple chord recognition.


(random) #7

That is, a style of coping should be defined by 4 phrases. Would anyone know how to obtain this MIDI data, or from Yamaha banks or similar, to convert them to XRNZ? Is there any method to do that?

a few years ago, was there on the Yamaha website a Midiarchiv

https://www.dropbox.com/s/ythqphalunz0phv/Yamaha.zip?dl=0


(Raul (ulneiz)) #8

a few years ago, was there on the Yamaha website a Midiarchiv

https://www.dropbox.com/s/ythqphalunz0phv/Yamaha.zip?dl=0

Thank you for this! The truth is that this is a bit messy…

It is possible to drag each midi file (xxx.mid) into the instrument box, and create patterns with the notes and other parameters. The problem with this is that there are more than 1000 mid files, where you could extract more than 10,000 phrases, but all are mixed, in no order. That is, each one occupies a certain number of lines and it would play to classify everything.

However, it is feasible to create an LUA tool that divides the selected pattern into 4 parts, and each part is copied to a group of 4 phrases. Even having a tool, it would be very expensive to do. But the advantage is clear. After that it would be possible to play that group of 4 phrases in their possible 256 combinations. That is, with 4 phrases you can fill up to 256 different patterns, just changing the order of each phrase.

Some users commented on the possibility of touching phrases automatically in the pattern editor, through a tool. It is very clear that the great job is to form a good package of phrases according to styles to be able to trigger them in a coherent way, and that everything is widely manageable.

As a reference to get an idea, building 110 banks would occupy about 40MB (“a bank” could be a folder with 120 phrasesgrouped in groups of 4 frases (it would cover 30 patterns)would occupy the 10 octaves of an instrument with the keymap mode). That’s 13,200 phrases, with countless possible combinations for each pattern.


(random) #9

Yes is messy, probably meant just as an appetizer for people to buy Yamaha hardware

Unfortunately, midi files are already a bumpy affair without conversion (trackers have no grid division / i do not know how to go there)

To change midifiles usually takehttps://www.midieditor.org/ also a bit fiddly, a kind of Cubase light