Sonic and Sega Retro Message Board: mid2smps - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
  • 5 Pages +
  • ◄ First
  • 2
  • 3
  • 4
  • 5
    Locked
    Locked Forum

mid2smps with proper PitchBend support, and MIDI driver

#46 User is offline Irixion 

Posted 04 July 2013 - 08:14 PM

  • Posts: 1521
  • Joined: 30-December 04
  • Gender:Male
  • Location:Ontario, Canada
  • Project:Life
  • Wiki edits:152
Do me. This is awesome! :)

#47 User is offline ValleyBell 

Posted 08 September 2014 - 11:50 AM

  • Posts: 234
  • Joined: 08-September 10
  • Gender:Male
  • Project:researching SMPS sound drivers
  • Wiki edits:10
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)

#48 User is offline Herm the Germ 

Posted 09 September 2014 - 12:24 PM

  • Hmm, not bad. Well done, doctor!
  • Posts: 1482
  • Joined: 22-April 09
  • Gender:Male
  • Location:Dresden, Saxony, Germany
  • Project:MIDI-to-SMPS-conversions, mostly. Takin' requests, too.
  • Wiki edits:5
EDIT: Derp nothing a restart probably won't fix.

Hella impressive work, honestly. owo
This post has been edited by Herm the Germ: 09 September 2014 - 12:55 PM

#49 User is offline Alriightyman 

Posted 04 October 2014 - 08:26 PM

  • !!!!!!!!!!!!!!!!!
  • Posts: 351
  • Joined: 27-November 07
  • Gender:Male
  • Location:Largo, Fl
  • Project:0101001101101111011011100110100101100011 00000010: 0101001100000011 01000101011001000110100101110100011010010110111101101110
  • Wiki edits:5
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

#50 User is offline Xeta 

Posted 13 October 2014 - 11:05 AM

  • Stranger in the Ice Caps
  • Posts: 278
  • Joined: 23-April 14
  • Gender:Male
  • Location:Param Zone
  • Project:Abusing DualPCM
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.
This post has been edited by Xeta: 14 October 2014 - 02:17 PM

#51 User is offline ValleyBell 

Posted 14 October 2014 - 02:27 PM

  • Posts: 234
  • Joined: 08-September 10
  • Gender:Male
  • Project:researching SMPS sound drivers
  • Wiki edits:10
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.)

#52 User is offline Herm the Germ 

Posted 19 October 2014 - 03:07 PM

  • Hmm, not bad. Well done, doctor!
  • Posts: 1482
  • Joined: 22-April 09
  • Gender:Male
  • Location:Dresden, Saxony, Germany
  • Project:MIDI-to-SMPS-conversions, mostly. Takin' requests, too.
  • Wiki edits:5
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 User is offline Xeta 

Posted 19 October 2014 - 03:21 PM

  • Stranger in the Ice Caps
  • Posts: 278
  • Joined: 23-April 14
  • Gender:Male
  • Location:Param Zone
  • Project:Abusing DualPCM
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.
This post has been edited by Xeta: 09 December 2014 - 08:31 PM

#54 User is offline Herm the Germ 

Posted 19 October 2014 - 03:42 PM

  • Hmm, not bad. Well done, doctor!
  • Posts: 1482
  • Joined: 22-April 09
  • Gender:Male
  • Location:Dresden, Saxony, Germany
  • Project:MIDI-to-SMPS-conversions, mostly. Takin' requests, too.
  • Wiki edits:5

View PostXeta, 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.

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 User is offline Xeta 

Posted 19 October 2014 - 03:47 PM

  • Stranger in the Ice Caps
  • Posts: 278
  • Joined: 23-April 14
  • Gender:Male
  • Location:Param Zone
  • Project:Abusing DualPCM
Where exactly does the driver install? If I knew where, then I could see if that's what's causing the problem...

#56 User is offline amphobius 

Posted 19 October 2014 - 03:50 PM

  • where are the japanese shaman girls, lintahlo?
  • Posts: 2120
  • Joined: 19-February 08
  • Gender:Male
  • Location:Northern Ireland, Belfast
  • Project:life
  • Wiki edits:165
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!

#57 User is offline Herm the Germ 

Posted 19 October 2014 - 04:01 PM

  • Hmm, not bad. Well done, doctor!
  • Posts: 1482
  • Joined: 22-April 09
  • Gender:Male
  • Location:Dresden, Saxony, Germany
  • Project:MIDI-to-SMPS-conversions, mostly. Takin' requests, too.
  • Wiki edits:5

View PostXeta, on 19 October 2014 - 03:47 PM, said:

Where exactly does the driver install? If I knew where, then I could see if that's what's causing the problem...

Far as I understand the installation process, all it really does for installation is to tell the Windows registry where to find it.

#58 User is offline Xeta 

Posted 19 October 2014 - 04:16 PM

  • Stranger in the Ice Caps
  • Posts: 278
  • Joined: 23-April 14
  • Gender:Male
  • Location:Param Zone
  • Project:Abusing DualPCM
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...
This post has been edited by Xeta: 19 October 2014 - 04:19 PM

#59 User is offline ValleyBell 

Posted 20 October 2014 - 01:20 PM

  • Posts: 234
  • Joined: 08-September 10
  • Gender:Male
  • Project:researching SMPS sound drivers
  • Wiki edits:10
"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.)

#60 User is offline kazblox 

Posted 20 October 2014 - 02:46 PM

  • Posts: 121
  • Joined: 20-August 14
  • Gender:Male
  • Project:Sonic 3?
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.

  • 5 Pages +
  • ◄ First
  • 2
  • 3
  • 4
  • 5
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users