How do I adjust the position of the keys? It only plays from the middle to the left.
@margarethabonetha272116 күн бұрын
Thank u before for the tutorial! But my song sounds horrible and creepy when i use the updated drive version, but when i used the old version, the songs comes perfectly match:(
@Ew-wth25 күн бұрын
A character named Coastguard in a world with Wuwa's setting and world building seems just very cool to me, idk. I kind of have high expectations for the story because of that.
@3rd-Sinner24 күн бұрын
That's Shorekeeper now, i think they change her whole model, and if im not mistaken she was supposed to be a male character
@apocritus2900Ай бұрын
Koyanskaya!!!
@BeshiniProductionАй бұрын
Pleae help me. Why shift and ctrl did not works for octave change? Thanks.
@XxTheUnknovvnxX14 күн бұрын
replace the code with this one, then it works: import mido import pyautogui import time import keyboard import sys def map_piano_note_to_key(note): # Define the mappings for piano keys to computer keyboard keys piano_G = ['ctrl', None, 'shift'] piano_keymap = ['q', '2', 'w', '3', 'e', 'r', '5', 't', '6', 'y', '7', 'u', 'q', '3', 'w', '4', 'e', 'r', '5', 't', '6', 'y', '7', 'u', '='] if not(36 <= note <= 96): return '', '' if 36 <= note <= 59: change_G = piano_G[0] # For F1 - Ctrl baseline = 36 elif 60 <= note <= 83: change_G = None # No special modifier for F2 baseline = 60 else: change_G = piano_G[2] # For F3 - Shift baseline = 84 key_index = note - baseline if change_G == 'ctrl': pyautogui.keyDown('ctrl') elif change_G == 'shift': pyautogui.keyDown('shift') else: pyautogui.keyUp('ctrl') pyautogui.keyUp('shift') if 0 <= key_index < len(piano_keymap): key = piano_keymap[key_index] if key: pyautogui.press(key) if change_G and change_G != 'ctrl' and change_G != 'shift': pyautogui.keyUp(change_G) return '', '' def play_midi(path, pitch_modulation=12): midi = mido.MidiFile(path) print("Press F5 to play. F6 to stop") keyboard.wait('F5') time.sleep(2) curr_pitch = 'f2' pyautogui.press(curr_pitch) pyautogui.PAUSE = 0 for msg in midi.play(): if msg.type == 'note_on' and msg.velocity != 0: pitch, key = map_piano_note_to_key(msg.note + pitch_modulation) if curr_pitch != pitch: pyautogui.press(pitch) curr_pitch = pitch if key: pyautogui.press(key) if keyboard.is_pressed('F6'): break if __name__ == "__main__": if len(sys.argv) != 2: print("Usage: python macro.py 'path'") sys.exit(1) midi_path = sys.argv[1] play_midi(midi_path, pitch_modulation=10)
@BeshiniProductionАй бұрын
" no module named "mido"... what am i doing wrong?
@YourbiggestHater334Ай бұрын
Can we get this on mobile too???
@MrOpZzАй бұрын
i want to play with a actual piano. but it dosent seems to work.. game dosent detect midi keyboard
@Wyte_Knight26 күн бұрын
It does now with the latest version of the Midi Player.
@pakimaki-ol4el24 күн бұрын
@@Wyte_Knight its not working
@yamiakatsuyuri-1809Ай бұрын
Same VA as Tamamo. Gud Waif Material ♥️
@drax2541Ай бұрын
Not working, Nyxmei please help us😢
@switchbackjackАй бұрын
not working in the game( The game does not see keystrokes, although in the text document I see that everything works
@Altair_Ibn_La_AhadАй бұрын
Dorothy
@Kri6Ай бұрын
not working in the game
@herovexАй бұрын
Nice! My upcoming Weapon for my Lingyang 👌
@MasamitsuHDАй бұрын
and fix ? is realease
@kolombus710Ай бұрын
Hey I need chines suona instrument 😊😊😊
@anandaanhar8841Ай бұрын
hello, i just try the code and do it the game, when i open in notepad the code run perfectly. but when i try in game nothing pressed
@-z-9989Ай бұрын
Remember to that one annoying flying whale at ToF vera
@ASK_HAOАй бұрын
😂😂
@Narangoc1Ай бұрын
wait , i think it got fix 😳
@grasscarnival5689Ай бұрын
I want him
@bamboogaАй бұрын
That’s a woman😭
@grasscarnival5689Ай бұрын
@@bambooga 😩what? lol damn, I’ll still take her
@W-H98Ай бұрын
At least give credit to the one post that in the subreddit
@NyxmeiАй бұрын
@@W-H98 I got it from telegram, do you know the person who made it? I can then give the source.
@W-H98Ай бұрын
@@Nyxmei u/laughtale0 They’re the one who post the video in subreddit, but it could be someone else’s video.
@NyxmeiАй бұрын
@@W-H98 Okay I'll mention them regardless. Thank you!