a friend and I have both bought the Ugritone Drums plugin along with a drum sample library. He’s on Windows, I’m on Linux, which is great because Ardour and Ugritone run on both platforms.
We are now looking for a way to quickly listen to the midi sources without importing them into a midi track. The library is huge and it’s a bit cumbersome to drag&drop them into the track, listen to it and then delete it again if you go through dozens of files. It would be a great workflow to be able to listen to the start of the midi file and then decide if we want to import it.
Unfortunately, the import dialogue doesn’t play back any sound if I use the play button in there (Instrument: Ugritone Drums, but the other Instruments don’t work either).
I could also add the files to the midi sources, but I don’t see a way to quickly listen to them there either.
Thanks for all suggestions and tips in advance! Ah - we are running Ardour 6.9.0.
Update: I created a new session where the import dialogue plays my midi file back - but only as piano. Paul pointed out that my file doesn’t use channel 10 (drums), so my complete drum sample library is at fault here. Bad luck I guess.
Goddamn. I spent hours and hours on this, so for possible future use: Here’s my python script that converted my whole library from piano to drums. Now I can use the import dialogue.
# What it does: It loops through all files in your current directory and subfolders,
# increases the channel number in all tracks by 9 (from piano to drums) and
# saves it in a new directory (channel10) in the same directory tree. No guarantee of course.
import mido, glob, os
from pathlib import Path
path = glob.glob('**/*.mid',recursive=True)
#create subfolder "channel10"
new_dir_path = './channel10'
for file in path:
midi_file = mido.MidiFile(file)
# for every track in every file, go through the messages and increase the channel by 9
for track in midi_file.tracks:
for message in track:
if message.type in ('note_on'):
message.channel += 9
# get current pathname of file and create that path in our new "channel10" folder if it doesn't exist
pathname = os.path.dirname(file)
if not os.path.exists('./channel10/'+pathname):