Bard Bot

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.

Bard Bot

Postby Nictos » Mon Nov 18, 2024 9:17 pm

Last world I was fascinated by the bard bot in whatever bay market, and I cannot for the life of me figure out where to get the right MIDI files or how to autoplay through all of them. Does anyone happen to know who worked on that? Or how I can achieve the same? Thanks in advance!
Nictos
 
Posts: 136
Joined: Thu Apr 21, 2011 5:31 am

Re: Bard Bot

Postby Robben_DuMarsch » Mon Nov 18, 2024 9:19 pm

Join the Whatever Bay discord and ping Jester
User avatar
Robben_DuMarsch
 
Posts: 2384
Joined: Wed Sep 28, 2011 2:58 am

Re: Bard Bot

Postby Nictos » Mon Nov 18, 2024 9:40 pm

Robben_DuMarsch wrote:Join the Whatever Bay discord and ping Jester


It looks like he doesn't know. T_T
Nictos
 
Posts: 136
Joined: Thu Apr 21, 2011 5:31 am

Re: Bard Bot

Postby Kaios » Mon Nov 18, 2024 9:46 pm

I'm not sure what players use for it now and the looping aspect is probably managed by some type of script/bot, but this is what I used in the past to play midi files. No idea if it still works, I haven't tested it for a long time.

Kaios wrote:http://www.havenandhearth.com/forum/viewtopic.php?f=49&t=43156
http://www.tobias-erichsen.de/software/loopmidi.html
https://en.osdn.jp/projects/miditrail/

Create a port using loopmidi, link that port to the midi out and the midi in on the options tab of miditrail and then connect to it using the miditohafen tool and then any midi songs you play on miditrail should also play in Haven when you've got the keyboard up.


Somewhat related: https://www.youtube.com/watch?v=y1NJrhdzUqQ
User avatar
Kaios
 
Posts: 9176
Joined: Fri Jul 30, 2010 2:14 am

Re: Bard Bot

Postby Nictos » Mon Nov 18, 2024 9:57 pm

Kaios wrote:I'm not sure what players use for it now and the looping aspect is probably managed by some type of script/bot, but this is what I used in the past to play midi files. No idea if it still works, I haven't tested it for a long time.

Kaios wrote:http://www.havenandhearth.com/forum/viewtopic.php?f=49&t=43156
http://www.tobias-erichsen.de/software/loopmidi.html
https://en.osdn.jp/projects/miditrail/

Create a port using loopmidi, link that port to the midi out and the midi in on the options tab of miditrail and then connect to it using the miditohafen tool and then any midi songs you play on miditrail should also play in Haven when you've got the keyboard up.


Somewhat related: https://www.youtube.com/watch?v=y1NJrhdzUqQ


Oh thanks for this. Now I just need to find out how to get the actual mid files that doesnt sound scrambled when played..
Nictos
 
Posts: 136
Joined: Thu Apr 21, 2011 5:31 am

Re: Bard Bot

Postby Kaios » Mon Nov 18, 2024 10:15 pm

When I was searching for midis I'm pretty sure I was grabbing a lot of them from some rather sketchy sites, often times I think I had to search for the mp3 and then I used some website (another layer of sketchy lol) or tool to convert them to a midi. Most of them did not sound very good, I found the best ones are video game music that are entirely instrumental or instrumental remakes of songs using a game music/chiptunes style.
User avatar
Kaios
 
Posts: 9176
Joined: Fri Jul 30, 2010 2:14 am

Re: Bard Bot

Postby Nictos » Mon Nov 18, 2024 10:24 pm

Kaios wrote:When I was searching for midis I'm pretty sure I was grabbing a lot of them from some rather sketchy sites, often times I think I had to search for the mp3 and then I used some website (another layer of sketchy lol) or tool to convert them to a midi. Most of them did not sound very good, I found the best ones are video game music that are entirely instrumental or instrumental remakes of songs using a game music/chiptunes style.


Mhm I did that for final fantasy I for example but .. (I'm musically illiterate bare with me) there were too many layers and it just sounded like dupstep


https://www.youtube.com/watch?v=d1dGarXAZFc

This ones my favorite
Nictos
 
Posts: 136
Joined: Thu Apr 21, 2011 5:31 am

Re: Bard Bot

Postby Kaios » Mon Nov 18, 2024 10:32 pm

I don't know much about music myself, I was trying to figure out how to describe that type of music and "chiptunes" was the best I could come up with but yeah what you linked is exactly the kind I was thinking of. You might be able to find something that converts youtube videos directly to midi or some other format, though I have no idea if that will turn out any better.
User avatar
Kaios
 
Posts: 9176
Joined: Fri Jul 30, 2010 2:14 am

Re: Bard Bot

Postby Nictos » Mon Nov 18, 2024 10:38 pm

Kaios wrote:I don't know much about music myself, I was trying to figure out how to describe that type of music and "chiptunes" was the best I could come up with but yeah what you linked is exactly the kind I was thinking of. You might be able to find something that converts youtube videos directly to midi or some other format, though I have no idea if that will turn out any better.


Save me chat GPT!
Nictos
 
Posts: 136
Joined: Thu Apr 21, 2011 5:31 am

Re: Bard Bot

Postby Kaios » Mon Nov 18, 2024 11:17 pm

Okay so I took some time to test it out a bit and confirmed that loopmidi and miditrail both still work as does the midi to hafen tool in conjunction with Haven and Miditrail. Miditrail also has an updated website.

I found this website, https://basicpitch.spotify.com/, that seems pretty good for converting audio to midi. Of course you will still have to find those audio files in mp3 or another format or convert them from youtube audio.

Having given it some more thought you don't really even need a script to achieve looping multiple songs if it's possible to merge them all into one file and convert that to a midi or merge the midis themselves.
EDIT: Seems MIDITrail is capable of "folder playback" so it's unnecessary to merge any songs at all. Simply put all of the midi files in the same folder and open the FOLDER in MIDITrail.

Short tutorial:
Download MIDIToHafen: https://www.havenandhearth.com/forum/viewtopic.php?f=49&t=43156
Download MIDITrail: https://www.yknk.org/miditrail/en/
Download/Install LoopMIDI: https://www.tobias-erichsen.de/software/loopmidi.html

In LoopMIDI, give the port a new name (if you want) and click the + icon to add it.
Image

Go to the "Option" menu of MIDITrail and change the MIDI OUT Port A configuration to your newly added loopmidi port. Do the same for MIDI IN.
Image
Image

Connect to the port with Midi 2 Hafen.
Image

Open your MIDI file with MIDITrail and play the song, then switch your active window to Haven & Hearth (WITH the keyboard UP) to begin playing music.
Image
WARNING: DO NOT have the H&H client window active without the keyboard up while you are playing a file in Miditrail with loopmidi and Midi To Hafen connected. This will result in the key presses doing whatever they normally would in the client.
Last edited by Kaios on Tue Nov 19, 2024 2:45 am, edited 2 times in total.
User avatar
Kaios
 
Posts: 9176
Joined: Fri Jul 30, 2010 2:14 am

Next

Return to How do I?

Who is online

Users browsing this forum: Claude [Bot], Google [Bot] and 194 guests