<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'WIN-midiIn' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'WIN-midiIn' posted on the 'Sound &amp; Music' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 18 May 2013 01:41:54 -0700</pubDate>
    <lastBuildDate>Sat, 18 May 2013 01:41:54 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>WIN-midiIn</title>
      <link>http://www.programmersheaven.com/mb/sound/231260/231260/win-midiin/</link>
      <description>&lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by amando at  2004-3-7 13:59:23&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sound/231260/231260/win-midiin/</guid>
      <pubDate>Sat, 13 Dec 2003 09:27:32 -0700</pubDate>
      <category>Sound &amp; Music</category>
    </item>
    <item>
      <title>Re: WIN-midiIn</title>
      <link>http://www.programmersheaven.com/mb/sound/231260/231268/re-win-midiin/#231268</link>
      <description>: hello folks!&lt;br /&gt;
: I'm using WIN-VC_6; have opened th MidiIn already and closed, but I still need a func to get the MIDI-data: who can tell me that? which header is required?&lt;br /&gt;
: amando&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
You want to get MIDI data from a closed port in other words??&lt;br /&gt;
&lt;br /&gt;
-&lt;em&gt;&lt;strong&gt;&lt;span style="color: Red;"&gt;S&lt;/span&gt;&lt;span style="color: Purple;"&gt;e&lt;/span&gt;&lt;span style="color: Blue;"&gt;p&lt;/span&gt;&lt;span style="color: Green;"&gt;h&lt;/span&gt;&lt;span style="color: Red;"&gt;i&lt;/span&gt;&lt;span style="color: Purple;"&gt;r&lt;/span&gt;&lt;span style="color: Blue;"&gt;o&lt;/span&gt;&lt;span style="color: Green;"&gt;t&lt;/span&gt;&lt;span style="color: Red;"&gt;h&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sound/231260/231268/re-win-midiin/#231268</guid>
      <pubDate>Sat, 13 Dec 2003 10:16:24 -0700</pubDate>
      <category>Sound &amp; Music</category>
    </item>
    <item>
      <title>Re: WIN-midiIn</title>
      <link>http://www.programmersheaven.com/mb/sound/231260/231304/re-win-midiin/#231304</link>
      <description>: : hello folks!&lt;br /&gt;
: : I'm using WIN-VC_6; have opened th MidiIn already and closed, but I still need a func to get the MIDI-data: who can tell me that? which header is required?&lt;br /&gt;
: : amando&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: You want to get MIDI data from a closed port in other words??&lt;br /&gt;
No, I think (s)he wants to know what to put between the open and close function calls to get the MIDI data.  Can I suggest looking at the MSDN for what the functions are?&lt;br /&gt;
&lt;br /&gt;
Jonathan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
###&lt;br /&gt;
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&amp;amp;&amp;amp;&lt;br /&gt;
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;&lt;br /&gt;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sound/231260/231304/re-win-midiin/#231304</guid>
      <pubDate>Sat, 13 Dec 2003 15:26:51 -0700</pubDate>
      <category>Sound &amp; Music</category>
    </item>
    <item>
      <title>Re: WIN-midiIn</title>
      <link>http://www.programmersheaven.com/mb/sound/231260/232121/re-win-midiin/#232121</link>
      <description>: : hello folks!&lt;br /&gt;
: : I'm using WIN-VC_6; have opened th MidiIn already, but I still need a func to get the MIDI-data: who can tell me that? which header is required? in the MSDN I only found the function "MidiInMessage", which returns a DWORD, but it seems it won't make it (BTW: if the MSDN would give an advice, there would be no need to post... of course, any interface has to be opened to get anything).&lt;br /&gt;
&lt;br /&gt;
: : &lt;br /&gt;
&lt;br /&gt;
amando&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: You want to get MIDI data from a closed port in other words??&lt;br /&gt;
: &lt;br /&gt;
: -&lt;em&gt;&lt;strong&gt;&lt;span style="color: Red;"&gt;S&lt;/span&gt;&lt;span style="color: Purple;"&gt;e&lt;/span&gt;&lt;span style="color: Blue;"&gt;p&lt;/span&gt;&lt;span style="color: Green;"&gt;h&lt;/span&gt;&lt;span style="color: Red;"&gt;i&lt;/span&gt;&lt;span style="color: Purple;"&gt;r&lt;/span&gt;&lt;span style="color: Blue;"&gt;o&lt;/span&gt;&lt;span style="color: Green;"&gt;t&lt;/span&gt;&lt;span style="color: Red;"&gt;h&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sound/231260/232121/re-win-midiin/#232121</guid>
      <pubDate>Wed, 17 Dec 2003 13:45:32 -0700</pubDate>
      <category>Sound &amp; Music</category>
    </item>
    <item>
      <title>Re: WIN-midiIn</title>
      <link>http://www.programmersheaven.com/mb/sound/231260/242064/re-win-midiin/#242064</link>
      <description>Hey dude!&lt;br /&gt;
&lt;br /&gt;
Cool that you're messing with midi!&lt;br /&gt;
check these things out :&lt;br /&gt;
&lt;br /&gt;
- Please make sure that your callback-type is correct.&lt;br /&gt;
  CALLBACK_FUNCTION is often used (if u program in C, and the&lt;br /&gt;
  callbackfunction is implemented in the same .obj). Otherwise&lt;br /&gt;
  use CALLBACK_THREAD or CALLBACK_WINDOW (if u want to pass the&lt;br /&gt;
  midimsg's to another dialog/window or thread), but forget these.&lt;br /&gt;
&lt;br /&gt;
- Make sure u call midiInStart(..) (else nothing will happen)&lt;br /&gt;
&lt;br /&gt;
- Your callback function must be declared in the following format :&lt;br /&gt;
  void CALLBACK myMidiInCallback(HMIDIIN _hMidiIn,&lt;br /&gt;
                                 UINT wMsg,&lt;br /&gt;
                                 DWORD dwInstance,&lt;br /&gt;
                                 DWORD dwParam1,&lt;br /&gt;
                                 DWORD dwParam2){&lt;br /&gt;
       &lt;br /&gt;
      /* ...do stuff with incoming midi msg's... */&lt;br /&gt;
      /* place a 'MessageBox(NULL,"YEAH!! I receive midi in!",MB_OK);*/&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
- make sure you extract the midi-bytes from the 'wMsg' parameter with&lt;br /&gt;
  functions like LOWORD(wMsg) or HIWORD(wMsg). Try to search for a&lt;br /&gt;
  win32 C example sourcecode to see how its done.&lt;br /&gt;
&lt;br /&gt;
good luck and keep the funky coding going!&lt;br /&gt;
funky greetz&lt;br /&gt;
&lt;br /&gt;
squezel&lt;br /&gt;
[www.boompje.com]&lt;br /&gt;
[www.mannetje.org]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: : : hello folks!&lt;br /&gt;
: : : I'm using WIN-VC_6; have opened th MidiIn already, but I still need a func to get the MIDI-data: who can tell me that? which header is required? in the MSDN I only found the function "MidiInMessage", which returns a DWORD, but it seems it won't make it (BTW: if the MSDN would give an advice, there would be no need to post... of course, any interface has to be opened to get anything).&lt;br /&gt;
: &lt;br /&gt;
: : : &lt;br /&gt;
: &lt;br /&gt;
: amando&lt;br /&gt;
: : : &lt;br /&gt;
: : : &lt;br /&gt;
: : You want to get MIDI data from a closed port in other words??&lt;br /&gt;
: : &lt;br /&gt;
: : -&lt;em&gt;&lt;strong&gt;&lt;span style="color: Red;"&gt;S&lt;/span&gt;&lt;span style="color: Purple;"&gt;e&lt;/span&gt;&lt;span style="color: Blue;"&gt;p&lt;/span&gt;&lt;span style="color: Green;"&gt;h&lt;/span&gt;&lt;span style="color: Red;"&gt;i&lt;/span&gt;&lt;span style="color: Purple;"&gt;r&lt;/span&gt;&lt;span style="color: Blue;"&gt;o&lt;/span&gt;&lt;span style="color: Green;"&gt;t&lt;/span&gt;&lt;span style="color: Red;"&gt;h&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/sound/231260/242064/re-win-midiin/#242064</guid>
      <pubDate>Wed, 11 Feb 2004 09:23:06 -0700</pubDate>
      <category>Sound &amp; Music</category>
    </item>
  </channel>
</rss>