Do me. This is awesome!
mid2smps with proper PitchBend support, and MIDI driver
#47
Posted 08 September 2014 - 11:50 AM
Sorry for the bump, but I've been looking at the mid2smps MIDI driver recently (trying to fix some of the random bugs) and remembered that I never released the source code of it. (IIRC I wanted to clean it up a bit. It's still a bit messy with many leftovers from the BASSMIDI driver.)
But because I haven't touched it for almost a year now and don't have any plans for improvements either, I'll just release what I have.
MIDI driver: driver part (VC6 and VC2010), playback part (VC6), configuration tool (VB6)
The driver part uses lots of code from the playback part (which includes a standalone tool I use for debugging). So if you want to build the driver, you need to extract the playback part to the correct folder. (I have the driver in MDMidiDrv\MDMidiDrv_src\ and the playback core in ..\VC++\MDMidiPlay\.)
Note: The Visual C++ 6 project doesn't build XAudio2, because VC6 is too old for it.
Also, because I didn't release the source of the later versions either: 2612edit source (v0.3.32, VB6)
But because I haven't touched it for almost a year now and don't have any plans for improvements either, I'll just release what I have.
MIDI driver: driver part (VC6 and VC2010), playback part (VC6), configuration tool (VB6)
The driver part uses lots of code from the playback part (which includes a standalone tool I use for debugging). So if you want to build the driver, you need to extract the playback part to the correct folder. (I have the driver in MDMidiDrv\MDMidiDrv_src\ and the playback core in ..\VC++\MDMidiPlay\.)
Note: The Visual C++ 6 project doesn't build XAudio2, because VC6 is too old for it.
Also, because I didn't release the source of the later versions either: 2612edit source (v0.3.32, VB6)
#48
Posted 09 September 2014 - 12:24 PM
EDIT: Derp nothing a restart probably won't fix.
Hella impressive work, honestly. owo
Hella impressive work, honestly. owo
This post has been edited by Herm the Germ: 09 September 2014 - 12:55 PM
#49
Posted 04 October 2014 - 08:26 PM
So, I wanted to look into writing music via MIDI and was wondering:
1) What MIDI sequencer do you recommend to work with the MIDI Driver and
2) How do I setup the MIDI driver?
Thanks
1) What MIDI sequencer do you recommend to work with the MIDI Driver and
2) How do I setup the MIDI driver?
Thanks
#50
Posted 13 October 2014 - 11:05 AM
I would recommend FL Studio.
As for the Midi Driver, I don't know how to set it up, either.
EDIT: Well, I get the setup process, but it never works properly.
As for the Midi Driver, I don't know how to set it up, either.
EDIT: Well, I get the setup process, but it never works properly.
This post has been edited by Xeta: 14 October 2014 - 02:17 PM
#51
Posted 14 October 2014 - 02:27 PM
Sorry, I'm late.
1. Many people seem to use (and praise) FL Studio. I myself still use the ancient MIDI Orchestrator Plus, because of the control over MIDI events. It's a 16-bit application though.
2. Some people have trouble with installing the MIDI driver recently.
2.1. If you install the driver and no program can find it, make sure that the MIDI DLL has a file path without spaces. Due to a Windows bug it can't find the driver in a path with spaces. (I don't know a workaround.)
2.2. After installing it, you load one of the .ini files that come with the driver to get DAC sounds. For mappings, instruments and PSGs you use the files you load into mid2smps.
2.3. Don't forget to press the "Apply" button to confirm the changes. They will take effect as soon as the MIDI device is reopened. (In the worse case you need to close and open your MIDI editor.)
1. Many people seem to use (and praise) FL Studio. I myself still use the ancient MIDI Orchestrator Plus, because of the control over MIDI events. It's a 16-bit application though.
2. Some people have trouble with installing the MIDI driver recently.
2.1. If you install the driver and no program can find it, make sure that the MIDI DLL has a file path without spaces. Due to a Windows bug it can't find the driver in a path with spaces. (I don't know a workaround.)
2.2. After installing it, you load one of the .ini files that come with the driver to get DAC sounds. For mappings, instruments and PSGs you use the files you load into mid2smps.
2.3. Don't forget to press the "Apply" button to confirm the changes. They will take effect as soon as the MIDI device is reopened. (In the worse case you need to close and open your MIDI editor.)
#52
Posted 19 October 2014 - 03:07 PM
For those of us not bothering with tracking down software and enabling a fake 16-bit-environment to get it to run, I gotta wonder, has anyone been able to get FL Studio to actually EXPORT the results of this driver to WAV/MP3/OGG?
#53
Posted 19 October 2014 - 03:21 PM
I think so?
EDIT: Disregard what I said here, I was a real idiot.
====================
I'm inside VMBox running a 32-bit Windows XP OS, in case that's any help of finding out why the driver doesn't work.
The driver installation program says that the driver has been successfully installed, but I don't see any sign of it in FL Studio's MIDI settings (F10)
Man, I wish I could get this driver working! I'd like to hear what my song would sound like before I convert it, AND I could (maybe) compose my own music.
EDIT: Woo, 100th post.
EDIT: Disregard what I said here, I was a real idiot.
====================
I'm inside VMBox running a 32-bit Windows XP OS, in case that's any help of finding out why the driver doesn't work.
The driver installation program says that the driver has been successfully installed, but I don't see any sign of it in FL Studio's MIDI settings (F10)
Man, I wish I could get this driver working! I'd like to hear what my song would sound like before I convert it, AND I could (maybe) compose my own music.
EDIT: Woo, 100th post.
This post has been edited by Xeta: 09 December 2014 - 08:31 PM
#54
Posted 19 October 2014 - 03:42 PM
Xeta, on 19 October 2014 - 03:21 PM, said:
I think so?
I use the Ultimate Genesis Soundfont and export MP3 sometimes and it works, but that's a totally different story, I know...
====================
I'm inside VMBox running a 32-bit Windows XP OS, in case that's any help of finding out why the driver doesn't work.
The driver installation program says that the driver has been successfully installed, but I don't see any sign of it in FL Studio's MIDI settings (F10)
Man, I wish I could get this driver working! I'd like to hear what my song would sound like before I convert it, AND I could (maybe) compose my own music.
I use the Ultimate Genesis Soundfont and export MP3 sometimes and it works, but that's a totally different story, I know...
====================
I'm inside VMBox running a 32-bit Windows XP OS, in case that's any help of finding out why the driver doesn't work.
The driver installation program says that the driver has been successfully installed, but I don't see any sign of it in FL Studio's MIDI settings (F10)
Man, I wish I could get this driver working! I'd like to hear what my song would sound like before I convert it, AND I could (maybe) compose my own music.
Do you have the driver installed a folder without spaces? Only after installing it from there, it'll show up, at least for me.
My own problem is that FL Studio doesn't seem to register that there is sound coming from these channels even though I can clearly hear it. A channel not set to use the Driver will be registered as playing sound and output that during MP3-exporting, too.
#55
Posted 19 October 2014 - 03:47 PM
Where exactly does the driver install? If I knew where, then I could see if that's what's causing the problem...
#56
Posted 19 October 2014 - 03:50 PM
What I've done is to jerry rig a virtual audio cable with ASIO mode - default sound output would be Line 2, Line 2 is going into FL's master and then I hook in an Edison and record there. Pretty convenient!
#58
Posted 19 October 2014 - 04:16 PM
Oh my gosh.
OH MY GOSH!!!!!!
I just had to open regedit and go to "HKEY_CURRENT_USER\Software" and rename it to "MDMIDIDriver". But the problem is, it saves changes to "MD MIDI Driver", so it looks like I'll just have to brute-force the files in there to change the path.
Thanks!
EDIT: Wait, I map it to a port number, and FL Studio crashes...
OH MY GOSH!!!!!!
I just had to open regedit and go to "HKEY_CURRENT_USER\Software" and rename it to "MDMIDIDriver". But the problem is, it saves changes to "MD MIDI Driver", so it looks like I'll just have to brute-force the files in there to change the path.
Thanks!
EDIT: Wait, I map it to a port number, and FL Studio crashes...
This post has been edited by Xeta: 19 October 2014 - 04:19 PM
#59
Posted 20 October 2014 - 01:20 PM
"HKEY_CURRENT_USER\Software\MD MIDI Driver" is where the configuration settings are stored. That has nothing to do with the actual installation.
When "installing" the driver, it just creates a registry key in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32". That key will then point to the path of the DLL where it is when you install it.
If it crashes upon loading, try to remove the configuration settings and see if it happens again.
If not, the best way to check if the mid2smps driver is working is to play a note with the "Grand Piano" instrument on channel 11. (That's the only thing that works without any configuration files loaded.)
When "installing" the driver, it just creates a registry key in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32". That key will then point to the path of the DLL where it is when you install it.
If it crashes upon loading, try to remove the configuration settings and see if it happens again.
If not, the best way to check if the mid2smps driver is working is to play a note with the "Grand Piano" instrument on channel 11. (That's the only thing that works without any configuration files loaded.)
#60
Posted 20 October 2014 - 02:46 PM
If the mid2smps driver still doesn't work after mapping a port without it crashing, set the port of the driver to 0 (omni, this is really stupid why am I doing this) and disable Fruity LSD.
When you want to compose regular music, revert all steps you've done.
When you want to compose regular music, revert all steps you've done.

00