Jump to content


Photo

Get XRNZ phrases from Yamaha styles or similar?

styles of accompaniment yamaha frases xrnz

  • Please log in to reply
8 replies to this topic

#1 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1574 posts
  • Gender:Male
  • Location:Spain

Posted 06 August 2018 - 14:22

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?

 


:excl: Development of my tools: Piano Roll EditorKangarooX120SamRenderPhraseTouch

 

:excl: My API wishlist R3.1 (updated 24 July 2017):

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 26 September 2017):

Spoiler

#2 Circe

Circe

    Advanced Member

  • Normal Members
  • PipPipPip
  • 93 posts
  • Gender:Male
  • Location:Spain
  • Interests:Visual Basic 6.0 Music Programing
    Piano Chords

Posted 06 August 2018 - 15:29

See p.m.

#3 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1850 posts
  • Gender:Not Telling

Posted 06 August 2018 - 15:49

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 :)

 

EDIT: better link - http://www.pjb.com.a...p/lua/MIDI.html


Edited by joule, 06 August 2018 - 16:18.


#4 Circe

Circe

    Advanced Member

  • Normal Members
  • PipPipPip
  • 93 posts
  • Gender:Male
  • Location:Spain
  • Interests:Visual Basic 6.0 Music Programing
    Piano Chords

Posted 06 August 2018 - 17:09

@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 !

Edited by Circe, 06 August 2018 - 17:18.


#5 Circe

Circe

    Advanced Member

  • Normal Members
  • PipPipPip
  • 93 posts
  • Gender:Male
  • Location:Spain
  • Interests:Visual Basic 6.0 Music Programing
    Piano Chords

Posted 06 August 2018 - 17:23

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 !!!

Edited by Circe, 06 August 2018 - 17:24.


#6 joule

joule

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1850 posts
  • Gender:Not Telling

Posted 06 August 2018 - 17:58

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.



#7 random

random

    Chief Above Chief Member

  • Normal Members
  • PipPipPipPipPipPip
  • 281 posts
  • Gender:Male
  • Location:X
  • Interests:Babylon by Bass

Posted 07 August 2018 - 20:54

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....Yamaha.zip?dl=0



#8 Raul (ulneiz)

Raul (ulneiz)

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1574 posts
  • Gender:Male
  • Location:Spain

Posted 08 August 2018 - 10:47

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

https://www.dropbox....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 phrases grouped 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.

:excl: Development of my tools: Piano Roll EditorKangarooX120SamRenderPhraseTouch

 

:excl: My API wishlist R3.1 (updated 24 July 2017):

Spoiler

 

:excl: My Renoise 3.1 wishlist (updated 26 September 2017):

Spoiler

#9 random

random

    Chief Above Chief Member

  • Normal Members
  • PipPipPipPipPipPip
  • 281 posts
  • Gender:Male
  • Location:X
  • Interests:Babylon by Bass

Posted 08 August 2018 - 18:28

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 take https://www.midieditor.org/  also a bit fiddly, a kind of Cubase light


Edited by random, 08 August 2018 - 18:29.