realbasic-nug
[Top] [All Lists]

Re: Noteplayer Drum Sounds in Win32

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: Noteplayer Drum Sounds in Win32
From: Ron Benditt <rbenditt at alienapparatus dot com>
Date: Mon, 17 Jan 2005 02:41:50 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050117050042 dot 7BA296927E3 at lists dot realsoftware dot com>
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>

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