Posts Tagged ‘MidiToWav’

MidiToWAV was made to convert MIDI sequence to WAV audio formats. Actually it is a sound capture.
The time passed and things changed a lot while I was working on Windows 2K and XP, users began to experience problems. Taken users wondering how to use Mixer… And I took a lot of time for me to explain about the Windows Mixer, but look at that, there is no Sound Mixer available in new Windows (Vista and 7) – Actually I did not know it until I got my Vista.

MTW_xp.jpg (38 KB)

Features

With MidiToWAV, the users are able to:

  • play MIDI file
  • control midi volume
  • see MIDI length and current position
  • also play RMI and KAR (Karaoke files)
  • view karaoke text
  • load SoundFont you choose
  • record MIDI sequence to WAV file
  • also record any sound you hear from your soundcard

WAVconverter.jpg (26 KB)

With WAV2X, the users are able to:

  • convert WAV audio to WMA
  • convert WAV audio to OGG
  • convert WAV audio to FLAC
  • convert WAV audio to MP3
  • adding TAGs

Download MTW.zip (2,38 MB)

Zip file includes both MidiToWAV and WAV2X

Hashes:
MD5: A58DBE414376B447F3624920B20E9918
SHA1: 8D3ACA4E5463AF6FA5BFDD2A8E248F39BB69DDE6

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. :)

I received some information via e-mail. Actually a few. One person told me about CPP and Delphi components, ActiveX and such.
Thank you very much for you to care about this software.
I looked at the things the one recommended.

New Audio Components v.2.5 (for Delphi)

Their (or his) Demo “Recorder”, did not record anything. I changed my Windows’ mixer setting, but it did not work either. So I did not want to try more. I threw them to the Trash.

AudioLab v.4.3.1 for Visual Studio, Cpp Builder, Delphi…

This is heavy duty! And it worked, I could record the sound. It was very easy, too. But how to do more than very simple? Their demo works but “So what?”, I must say.
Their help is not at all helpful, but they explain so many classes they have done. Easy but a bit more advanced demo could not be wrong.
It is free for Non-profit products, but without source code. They have made some silly dialogue, too. They were a little rush of new version or what?
Without the help that really helps, also demo as not good enough. What if it is really good! There is nothing to do with me but I think they will lose many customers.
And I could not play the MIDI file with it. They want to say it’s “Audio Stuff” blah blah blah …
It feels like this is pretty useless.
I still have it on my computer, because it is free, but I do not think I will use them.

I’ve made a little progress.
This is the next version.
MTW.jpg (30 KB)
Small numbers at the end of the version number can be a little more then when I release it.
A new interesting feature there. Do you see it? I do not mean to Skins. You can record sound from other audio sources. So far, I have tested with YouTube, Internet radio, DVD, CD, Windows Media Player, RealAudio Player, Quick Time … and it worked!

Once again.
Thank you, you told me about it, Mr… It was actually quite fun to examine them.

I’ve tried to create MidiToWav with Microsoft Visual Studio Visual C++.Net2008 which is installed on my Vista. I managed to open and play the MIDI file.
It seems only to use the DirectX SDK, and I did it and it was almost easy. Too easy, one can say. It worked well in Vista and 7, but not XP. When I double clicked on the EXE file, it said I need to download .Net Framework 3.5 Service Pack 1 which is 231,5 MB.
My XP is “XPPro SP2″ and there is no Framework 3.5. It is an irony that the program file is less than 100 KB and to use it, I had to download 231,5 MB.
I checked the Visual Studio Project Property, where I see I always use .NET2 or .NET3 regardless, I want to or not. Soon there will be 4. It is the way Microsoft wants, I think. It makes easy and secure, for both users and developers, I ought to keep up with MS, but it feels wrong.
So, I terminated the project “MidiToWav” in Visual C++.Net.

I have good news too.
I learned that I could use DirectX, and someone made Delphi Unit. I can use IT.

XP users have almost the same frontend as a precursor. Only larger buttons now.
main.jpg (24 KB) recording.jpg (23 KB)
Both images are MidiToWav running on Vista.
Read the rest of this entry »

You have downloaded MidiToWav, but it does not work. Unable to record WAV files …

Still some people have problems with the Windows mixer. So I made video.
Here you can see how you adjust Mixers setting.