Home Page › Forums › General Chat › MIDI keyboard (Z Grand Piano or HD Grand Piano)
- This topic has 4 replies, 2 voices, and was last updated 1 year, 5 months ago by
Abad.
-
AuthorPosts
-
August 31, 2023 at 7:00 pm #2020310
I'm testing the mCasual script
https://sites.google.com/site/mcasualsdazscripts5/mcjmidikit
You can find the mf2t & t2mf here:It does not work correctly, first because, even if you install mf2t.exe in a folder without UAC, it does not transform the .mid file directly, then you have to copy the .mid to the folder and run "mf2t.exe x.mid x.txt" in prompt...
It is only possible to select a key (bone), and assign it the channel...
It does not separate the note by the bone in the "score"...
Someone has tried?
One of these days, I will dedicate myself to horticulture... 😀September 1, 2023 at 11:17 am #2020580Do you want the 3d figure to play with 10 fingers?
This will be interesting as there is no 'c' -> thumb, 'd' -> index, 'e' -> middle finger assignment in most midi files.
Synthesia has some kind of note-2-finger hints when playing a midi file.
MuseScore allows to export files as MusicXML which might contain finger hints if they exist in the original file.
A trained AI model should be able to suggest a suitable finger to play a note.At least the June0500 version has a tab 'Assignments' / 'Add Item' and supports the selection of channels and target bones. The 'wurzkeil88XRot7resaved3.txt' file uses channel01 which would be one finger. The assignment of 'c/d/e/..' to a channel should be possible, even though one needs to do this manually. Maybe an XML format is better suited to do this than the midi2text output file.
September 1, 2023 at 3:09 pm #2020630Thanks, @vanimoch3dx : I'm not trying anything with AI. He's my nemesis. 😀
First, I want to understand the mCasual script... and how it works in 3D instruments and interpreters...
Not only pianos, but even a symphony orchestra (string instruments, wind, etc...)
My idea is not so much MIDI, but original music scores, printed in pdf, as these programs do, and making Python code for Maya / MotionBuilder /Cinema 4D / Blender, etc...Sounds like fun?
September 1, 2023 at 3:57 pm #2020643This script has 2500 lines of code. Even though it uses methods and is quite structured the only documentation are the method and variable names.
I think it looks for the time information and adds a temporary bone rotation to the timeline for each note. At least the video looks like this. The instruments named in the file are just to display proper names for midi tracks.
I'd use something which support MusicXML export like MuseScore. The XML file supports also
fingering
hints for the finger to be used. Also 'text' is supported so one could use it for lip-sync. It doesn't contain timing information, one would need to sum up duration/type for following notes.
It also has an 'instrument' section to describe the instruments, eg 'keyboard.piano'.A single note from the XML:
<note default-x="81.88" default-y="-65.00" dynamics="88.89"> <pitch> <step>G</step> <octave>3</octave> </pitch> <duration>1</duration> <voice>1</voice> <type>eighth</type> <stem>up</stem> <staff>1</staff> <notations> <technical> <fingering>1</fingering> </technical> </notations> <lyric number="2" default-x="6.50" default-y="-81.93" relative-y="-30.00"> <syllabic>single</syllabic> <text>Are</text> </lyric> </note>
September 1, 2023 at 4:58 pm #2020651It seems better to follow your xml advice...
Sibelius exports it. I have both programs (Sibelius and PhotoScore/NotateMe...) and I'm getting into quite a mess! Although I am not a professional musician, I know Solfeggio. 😀 -
AuthorPosts
- You must be logged in to reply to this topic.