Archive for March 10th, 2010
I had almost uploaded MidiToWAV version 2, but all final moments, I found BASS.DLL. And it changed my mind.
It can connect MIDI device much faster than what I did (actually, BASS does not connect to the device) and as you already know, that can replace your SoundFont. This makes the MIDI sounds much better. Therefore I want to use it in my program.
There was a problem I encountered now.
There is nothing to do for end-users, but for programmers.
BASS_ChannelPlay(chan, FALSE);
FALSE, it means that it will not loop. But it does, after all. It seems to ignore it if timer is running.
If anyone knows how to stop the loop MIDI playback, I would like to know it. Cpp, Pascal, C # … Any code is appreciated.
What I can see is that I need something like very precise timer.
There was another problem.
You must have SoundFont. If you have a newer PC and your soundcard is not Creative Labs, you may not have it. But there are many websites offering free SoundFont. Just download it and load into MidiToWav. You do not need to install and do this and that. Without such a hassle. If you have a sound card, it works.
Since BASS does not use hardware, MidiToWav does not do that either.
I tested the New Audio components, and it was Huuuuuum. It’s hard to say. It is very strange thorny or trigger sound when I play. Quite annoying. But it worked very well to encode the WAV file to another.
So I will include WAV file encoder with MidiToWAV.
If you’re wondering, I still cannot record sound with New Audio components. I gave up.
There is one more thing I must write.
As you can see previous posts (MidiToWAV), I used the SKIN, but in the meantime, SKIN manufacturer updated its components and it began to stop working in my program. So I decided not to use these things.
It looks good but functionality… Nothing but heavy.
Anyway, it’s a bit delay for a new version.