realbasic-nug
[Top] [All Lists]

RE: Noteplayer Drum Sounds in Win32

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: RE: Noteplayer Drum Sounds in Win32
From: "vvor" <vvor at jesuschrysler dot com>
Date: Mon, 17 Jan 2005 10:52:22 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Importance: Normal
windows installations will include something called "microsoft gs wavetable
synth", which is a general midi synth, a part of directx for many years.

since this is general midi, you can directly access the drums on channel 10.

if you are using the realmidi plugin, you ought to see "microsoft gs wavetable
synth" as a destination device. if you open the "realmidi echo" sample program
included with realmidi, you will see that device in the MIDI Devices menu. set
the output channel to 10, then use the note-on slider to send notes to that
device.

it won't take you much to go from there to developing a directx note-player. if
you have any trouble doing this with realmidi, email me offlist and i'd be happy
to assist.

if you don't have this midi player, then you don't have directx, and you are in
trouble! something is screwy with your windows installation.

vora

> -----Original Message-----
> From: realbasic-nug-bounces at lists dot realsoftware dot com
> [mailto:realbasic-nug-bounces at lists dot realsoftware dot com]On Behalf Of 
> Ron
> Benditt
> Sent: Monday, January 17, 2005 2:42 AM
> To: realbasic-nug at lists dot realsoftware dot com
> Subject: Re: Noteplayer Drum Sounds in Win32
>
>
> > Is QuickTime installed?
>
> Yes, its installed.  As I understand it, the Noteplayer control doesn't
> use QuickTime on Windows, but uses some DirectX business instead.  And
> it appears that whatever the DirectX implemetation is, it doesn't
> implement drum kits the same way that QuickTime does.
>
> Apparently there was a workaround in which someone came up with a way
> to play notes without the noteplayer by using QuickTime declares.  I
> haven't been able to find example code of this, but I've looked into
> this briefly to see what it would involve to do it from scratch and it
> looked extremely ugly!
>
> Personally, I'd rather use the DirectX way anyway, because it seems
> simpler and I wouldn't need to send the .dll from the QuickTime SDK
> along with the built application.  From what I can tell, to access the
> drum sounds I would have to send notes to MIDI channel 10, which is
> where drums are customarily put in MIDI.  The RB noteplayer control
> doesn't have direct channel control, but someone apparently figured out
> that the first noteplayer control placed in an RB application is
> channel 1 and the second is channel 2, and so forth.   ...until channel
> 10 is reached, in which case it conveniently skips to channel 11!!!!!!
> Thus no drums!
>
>
> Ron Benditt
> Alien Apparatus Company, Inc.
> http://www.alienapparatus.com
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>