<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MIDI &#8211; Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/category/midi/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Mon, 08 Mar 2021 04:32:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>ReBirth RB-338 v.2.0</title>
		<link>https://virtuallyfun.com/2019/03/30/rebirth-rb-338-v-2-0/</link>
					<comments>https://virtuallyfun.com/2019/03/30/rebirth-rb-338-v-2-0/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sat, 30 Mar 2019 13:09:33 +0000</pubDate>
				<category><![CDATA[MIDI]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[Win32]]></category>
		<category><![CDATA[Windows 95]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/wordpress/?p=9307</guid>

					<description><![CDATA[I&#8217;m not a big sequencer as I&#8217;m just terrible when it comes to music. But apparently on Wikipedia Propellerhead had set the download free, although download links now are inoperable. After a lot of googling around I found it split &#8230; <a href="https://virtuallyfun.com/2019/03/30/rebirth-rb-338-v-2-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">I&#8217;m not a big sequencer as I&#8217;m just terrible when it comes to music.  But apparently on <a href="https://en.wikipedia.org/wiki/ReBirth_RB-338#Free_download">Wikipedia Propellerhead had set the download free</a>, although download links now are inoperable.</p>



<p class="wp-block-paragraph">After a lot of googling around I found it split up on one of those annoying download sites.  So I spent the night waiting for stupid timers, training an AI to sport automobiles &amp; intersections (lol redlight camera training), and as a reward I got the download.</p>



<figure class="wp-block-image"><img fetchpriority="high" decoding="async" width="650" height="500" src="https://virtuallyfun.com/wp-content/uploads/2019/03/rebirth-on-qemu.png" alt="" class="wp-image-9308" srcset="https://virtuallyfun.com/wp-content/uploads/2019/03/rebirth-on-qemu.png 650w, https://virtuallyfun.com/wp-content/uploads/2019/03/rebirth-on-qemu-300x231.png 300w" sizes="(max-width: 650px) 100vw, 650px" /><figcaption>ReBirth on Qemu under Windows 95</figcaption></figure>



<p class="wp-block-paragraph">I installed it on the floppy version of Windows 95 on Qemu where it needed IE 5.01, Direct X, Winsock 2 &amp; Windows 95 SP1 updates (among others&#8230;) and yes it works!</p>



<p class="wp-block-paragraph">Included in the downloads is some assists so you can run it on Windows 10 x64 if you are so inclined.</p>



<p class="wp-block-paragraph">Also there is some MacOS X images, although I haven&#8217;t tested them.  I need to drag my G5 into my office to try it, but it&#8217;s getting late, and I want to go home.</p>



<p class="wp-block-paragraph"><s>I put the download up over on <a href="https://archive.org/details/ReBirth-338v2.0">archive.org</a>.  You can download it here:</s></p>



<p class="wp-block-paragraph"><s><a href="https://archive.org/details/ReBirth-338v2.0">https://archive.org/details/ReBirth-338v2.0</a> </s></p>



<h2 class="wp-block-heading"><strong>Update:</strong></h2>



<p class="wp-block-paragraph">Since this time my upload to archive.org has been deleted. I was also trying to remove all the google accounts I have and when I changed the email address away from google all my uploads became &#8216;unknown&#8217; so maybe they are hidden?  Anyways over on Wikipeida just use <a href="https://en.wikipedia.org/wiki/ReBirth_RB-338#cite_ref-19">citation #19</a>, and you can download it there.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2019/03/30/rebirth-rb-338-v-2-0/feed/</wfw:commentRss>
			<slash:comments>22</slash:comments>
		
		
			</item>
		<item>
		<title>Adding DOSBox&#8217;s MPU401 to Qemu 0.90</title>
		<link>https://virtuallyfun.com/2019/03/14/adding-dosboxs-mpu401-to-qemu-0-90/</link>
					<comments>https://virtuallyfun.com/2019/03/14/adding-dosboxs-mpu401-to-qemu-0-90/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Thu, 14 Mar 2019 02:10:15 +0000</pubDate>
				<category><![CDATA[doom]]></category>
		<category><![CDATA[DOSBox]]></category>
		<category><![CDATA[MIDI]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Win32]]></category>
		<category><![CDATA[Win32s]]></category>
		<category><![CDATA[Windows 3.1]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/wordpress/?p=9275</guid>

					<description><![CDATA[I thought this may be something cool, if not kind of pointless. Anyways the MPU401 UART can be run like a traditional serial port with an IRQ, in intelligent mode, or just as a &#8216;dumb&#8217; device you can just bit &#8230; <a href="https://virtuallyfun.com/2019/03/14/adding-dosboxs-mpu401-to-qemu-0-90/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">I thought this may be something cool, if not kind of pointless.  Anyways the MPU401 UART can be run like a traditional serial port with an IRQ, in intelligent mode, or just as a &#8216;dumb&#8217; device you can just bit bang to talk to MIDI devices.  So while playing with DOSBox I thought it&#8217;d be fun to take it&#8217;s emulation and plug it into Qemu.</p>



<iframe width="560" height="315" src="https://www.youtube.com/embed/Vy2g_x2ALks" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>



<p class="wp-block-paragraph">And this is the end result.</p>



<p class="wp-block-paragraph">It&#8217;s far from perfect, when it works it does tend to work well, although it fails to work with things like Return to Zork, but it does work with DMX&#8217;s sound code in DooM and the MPU401 driver for Windows 3.1</p>



<p class="wp-block-paragraph">While doing this I was originally struggling with mapping the IO ports. Qemu has some functions to map in the memory model to assign a function that will trap read/write space.  In this case base is 0x330 the base of the MPU401 device.  </p>



<code>register_ioport_write(base, 8, 1, mpu401_ioport_write, s);     register_ioport_read(base, 8, 1, mpu401_ioport_read, s);</code>



<p class="wp-block-paragraph"> I was thinking that the port 0x331 needed to be mapped in the same way, but it turns out after looking through more of the source, it&#8217;s actually a word aligned access.  So in that case you can use a switch to see which port is actually being accessed.</p>



<code>static uint32_t mpu401_ioport_read(void *opaque, uint32_t addr) {
     switch(addr&amp;0xf)
     {
     case 0:
      return(MPU401_ReadData(addr,0)); break;
     case 1:
      return(MPU401_ReadStatus(addr,0)); break;
     default:
      return(0xff); break;
     }
  return(0xff);
}
</code>



<p class="wp-block-paragraph">Pretty simple, right?</p>



<p class="wp-block-paragraph">And from there it&#8217;s a matter of mapping the DOSBox MPU code, along with the Windows interface code.  Since I&#8217;m not using intelligent or IRQ mode, I just amputated the code where applicable.</p>



<p class="wp-block-paragraph">If anyone wants to look at what I did to merge into anything else (and probably do a better job!) it&#8217;s on sourceforge as <a href="https://sourceforge.net/p/qemu090b/code/ci/master/tree/hw/mpu401.c">mpu401.c</a>.</p>



<p class="wp-block-paragraph">Otherwise the binary is available on sourceforge:</p>



<a href="https://sourceforge.net/projects/qemu090b/files/latest/download"><img decoding="async" alt="Download Qemu090b" src="https://a.fsdn.com/con/app/sf-download-button" width="276" height="48" srcset="https://a.fsdn.com/con/app/sf-download-button?button_size=2x 2x"></a>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2019/03/14/adding-dosboxs-mpu401-to-qemu-0-90/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Just got a Roland Soundcanvas SC-88!</title>
		<link>https://virtuallyfun.com/2016/10/09/just-got-a-roland-soundcanvas-sc-88/</link>
					<comments>https://virtuallyfun.com/2016/10/09/just-got-a-roland-soundcanvas-sc-88/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sat, 08 Oct 2016 16:03:23 +0000</pubDate>
				<category><![CDATA[MIDI]]></category>
		<category><![CDATA[sound cards]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=6477</guid>

					<description><![CDATA[As annoying as it is that Windows 10 won&#8217;t drive my el-cheapo USB-MIDI interface adapter, I have to say that even loading Windows XP into VMWare Player, and then loading DOSBox is a pleasant enough experience when connecting to the &#8230; <a href="https://virtuallyfun.com/2016/10/09/just-got-a-roland-soundcanvas-sc-88/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><div id="attachment_6478" style="width: 1610px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2016/10/Roland-Sound-Canvas-SC-88.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6478" class="size-full wp-image-6478" src="https://virtuallyfun.com/wp-content/uploads/2016/10/Roland-Sound-Canvas-SC-88.jpg" alt="Roland Soundcanvas SC-88" width="1600" height="900" /></a><p id="caption-attachment-6478" class="wp-caption-text">Roland Soundcanvas SC-88</p></div></p>
<p>As annoying as it is that Windows 10 won&#8217;t drive my el-cheapo USB-MIDI interface adapter, I have to say that even loading Windows XP into VMWare Player, and then loading DOSBox is a pleasant enough experience when connecting to the Roland.</p>
<p>Pluses include the built in power supply, RCA jacks, and of course it just sounds snappier compared to the Yamaha MU-80.</p>
<p>I&#8217;ll have to capture samples from both, to compare and contrast.</p>
<p>I have to say that for a mere 2,400 Yen I&#8217;m really enjoying this fine piece of hardware!</p>
<p>I&#8217;m unsure of the difference between the SC-88, the SC-88 Pro, the SC-88VL and the SC-88ST, and of course the SC-88ST Pro. Â <a href="http://page8.auctions.yahoo.co.jp/jp/auction/h238547902">I just know I&#8217;m lucky that mine arrived OK and in working order</a>! Â ThanksÂ <a href="http://sellinglist.auctions.yahoo.co.jp/user/ps38152000">ps38152000</a>, whomever you are.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2016/10/09/just-got-a-roland-soundcanvas-sc-88/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>MIDI Mayhem on Windows 10</title>
		<link>https://virtuallyfun.com/2016/09/28/midi-mayhem-on-windows-10/</link>
					<comments>https://virtuallyfun.com/2016/09/28/midi-mayhem-on-windows-10/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 28 Sep 2016 10:02:59 +0000</pubDate>
				<category><![CDATA[DOSBox]]></category>
		<category><![CDATA[microsoft windows]]></category>
		<category><![CDATA[MIDI]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[Windows XP]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=6439</guid>

					<description><![CDATA[So I know it&#8217;s &#8216;probably&#8217; the super cheap generic USB to MIDI dongal I got on the cheap, but it just doesn&#8217;t work on Windows 10. Using DOSBox, I get the following output when cycling between devices on the console: &#8230; <a href="https://virtuallyfun.com/2016/09/28/midi-mayhem-on-windows-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>So I know it&#8217;s &#8216;probably&#8217; the super cheap generic USB to MIDI dongal I got on the cheap, but it just doesn&#8217;t work on Windows 10.</p>
<p>Using DOSBox, I get the following output when cycling between devices on the console:</p>
<p style="padding-left: 60px;">MIDI:Opened device:win32<br />
MIDI:win32 selected Microsoft GS Wavetable Synth<br />
MIDI:Opened device:win32<br />
MIDI:win32 selected USB2.0-MIDI<br />
MIDI:Opened device:none<br />
MIDI:win32 selected MIDIOUT2 (USB2.0-MIDI)<br />
MIDI:Opened device:none</p>
<p>As you can see it clearly can see the USB device, but when it opens the device it fails. And yes I&#8217;ve tried Administrator. Â And for the hell of it, I fire up Windows XP on VMWare, connect the USB dongal, and amazingly:</p>
<p style="padding-left: 60px;">MIDI:Opened device:win32<br />
MIDI:win32 selected USB Audio Device<br />
MIDI:Opened device:win32<br />
MIDI:win32 selected USB Audio Device [2]<br />
MIDI:Opened device:win32<br />
MIDI:win32 selected Microsoft GS Wavetable SW Synth<br />
MIDI:Opened device:win32</p>
<p>Yes, I can open the out port just fine. Â So now I run a virtualizer to run my emulator to drive a physical peripheral&#8230; Ugh. Â Has MIDI been this messed up all along and I never noticed?</p>
<p>Oh yeah, the GS Wavetable Synth works fine, as did MUNT before I uninstalled it, thinking it was somehow interfering with anything.</p>
<p>I know I&#8217;m using this fine device, theÂ QinHeng USB MIDI adapter, which apparently is notorious crap, but my recently acquired Yamaha MU 80, works fine with it on Windows XP.</p>
<p><div id="attachment_6441" style="width: 461px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2016/09/DHL-Free-Shipping-100pcs-Lot-2M-6Ft-Keyboard-to-PC-USB-MIDI-Interface-Adapter-Cable-Supports.jpg"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6441" class="size-full wp-image-6441" src="https://virtuallyfun.com/wp-content/uploads/2016/09/DHL-Free-Shipping-100pcs-Lot-2M-6Ft-Keyboard-to-PC-USB-MIDI-Interface-Adapter-Cable-Supports.jpg" alt="QinHeng USB MIDI adapter" width="451" height="453" /></a><p id="caption-attachment-6441" class="wp-caption-text">QinHeng USB MIDI adapter</p></div></p>
<p>Ugh.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2016/09/28/midi-mayhem-on-windows-10/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Giving up on the MT-32</title>
		<link>https://virtuallyfun.com/2016/05/25/giving-up-on-the-mt-32/</link>
					<comments>https://virtuallyfun.com/2016/05/25/giving-up-on-the-mt-32/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 25 May 2016 13:50:33 +0000</pubDate>
				<category><![CDATA[DOSBox]]></category>
		<category><![CDATA[MIDI]]></category>
		<category><![CDATA[sound cards]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=6192</guid>

					<description><![CDATA[What do you mean, giving up? Â Well I&#8217;ve been trying to buy one, and I&#8217;ve lost every auction. Â So I figured I&#8217;d check up the emulation scene and see what is up. Â Then I heard this video: And this one. &#8230; <a href="https://virtuallyfun.com/2016/05/25/giving-up-on-the-mt-32/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>What do you mean, giving up? Â Well I&#8217;ve been trying to buy one, and I&#8217;ve lost every auction. Â So I figured I&#8217;d check up the emulation scene and see what is up. Â Then I heard this video:</p>
<p><iframe loading="lazy" src="https://www.youtube.com/embed/QN6V340b7ys" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>And this one.</p>
<p><iframe loading="lazy" src="https://www.youtube.com/embed/iMpDAChzu_Y" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>Notice anything?</p>
<p>Or at least to my ears, <a href="https://sourceforge.net/projects/munt/">MUNT</a>, sounds the same as the real thing!</p>
<p>So, how to use the thing? Â Well in Windows Vista onward (8/8.1/10..) Microsoft decided to hide the MIDI selection tools, making this a mission to see what mapper you are using. Â But using DOSBox it&#8217;s easy to see which is which. Â In DOSBox run:</p>
<p style="padding-left: 30px;">mixer /listmidi</p>
<p style="padding-left: 30px;">0 &#8220;CoolSoft VirtualMIDISynth&#8221;<br />
1 &#8220;Microsoft GS Wavetable Synth&#8221;<br />
2 &#8220;MT-32 Synth Emulator&#8221;</p>
<p>In this case the MT-32 emulator is #2 on my system. Â Then to select this device, just type in:</p>
<p style="padding-left: 30px;">midiconfig 2</p>
<p>And you are in business! Â Fire up the UI and you&#8217;ll see:</p>
<p><div id="attachment_6193" style="width: 905px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2016/05/Munt-with-DOSBox.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6193" class="size-full wp-image-6193" src="https://virtuallyfun.com/wp-content/uploads/2016/05/Munt-with-DOSBox.png" alt="DOSBox active on MUNT." width="895" height="416" /></a><p id="caption-attachment-6193" class="wp-caption-text">DOSBox active on MUNT.</p></div></p>
<p>Then configure your application for &#8216;general MIDI&#8217; on port 0x330, and you should be good to go!</p>
<p><div id="attachment_6194" style="width: 652px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2016/05/DOSBox-DOOM-v1.1-general-midi.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-6194" class="size-full wp-image-6194" src="https://virtuallyfun.com/wp-content/uploads/2016/05/DOSBox-DOOM-v1.1-general-midi.png" alt="DOSBox DOOM v1.1 general midi" width="642" height="427" /></a><p id="caption-attachment-6194" class="wp-caption-text">DOSBox DOOM v1.1 general midi</p></div></p>
<p>And, how does it sound?</p>
<p><iframe loading="lazy" src="https://www.youtube.com/embed/4sM_80sRxPs" width="420" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>Now for comparison, here is E1M1 withÂ <a href="http://coolsoft.altervista.org/en/virtualmidisynth">VirtualMIDISynth</a>Â with <a href="http://www.mediafire.com/download/zo8l3dgf2989266/SGM-V2.01.7z">SGM-V2.01</a> sound font.</p>
<p><iframe loading="lazy" src="https://www.youtube.com/embed/ljI4MGfHe_8" width="420" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>It&#8217;s impressive when you put them next to say the Adlib.</p>
<p><iframe loading="lazy" src="https://www.youtube.com/embed/LgQIqxyjwYA" width="420" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>So maybe it was a good thing I kept on losing the auctions&#8230; But it&#8217;d still be neat to drive a real MIDI peripheral on a modern machine. Â Maybe I&#8217;ll win, one day.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2016/05/25/giving-up-on-the-mt-32/feed/</wfw:commentRss>
			<slash:comments>9</slash:comments>
		
		
			</item>
	</channel>
</rss>
