Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 29th Apr 2003 04:22
Hi, just a simple question but:
Is there a DLL around that enables control of MIDI ports? Tired of looking at programs that cost $10 000, I have decided to try my hand at programming my own Lighting control proggy. It'll be a simple one, but I can't do anything without a MIDI DLL

This sounds like a job for Mr. TA Toad if he feels up to it
Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 29th Apr 2003 06:37
i think TATOAD needs to make one too just cause i think he's getting lazy on the DLL front the past few weeks

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 29th Apr 2003 15:10
lol I agree, but only because I want that DLL lol

I've got myself a model of a theatre, a few light models w/ working rigs so you can swivel them and such. I have it all planned on paper how it will work. I have the GUI planned out, etc etc etc, but no way to send the messages to the lightboard

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Apr 2003 15:29 Edited at: 29th Apr 2003 15:34
No thank you! Had enough trouble with the serial one... I'm sure Raven would love to do that, or pehaps IanM... Besides I've done 23 plug-ins, so its time everyone else caught up.

I suppose if you hassle me enough in a few weeks I may think about it, if no-ones done it. Again, its nothing I'll be able to test though.

Getting lazy on DLL's! What cheek! I'm mainly working on my game. However, I have done (aside from the serial one which I dont really count until someone tells me it works), a circle DLL (for 3D circles - you'll see that in action when I upload the new pre-release demo of my game), and printers (which no-one seems to be using after all the bleating some people did).

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 29th Apr 2003 16:34
Nah, I'm not silly enough to accept an assignment that I can't test

BTW, What's a 3D circle? Did you mean a sphere?
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Apr 2003 16:47 Edited at: 29th Apr 2003 16:51
Nope. It generates 360(degree) 3D positions to create (effectively) a 2D circle... Works very well too...

Y'all be able to see it in action when I do the next demo upload... Bet you cant wait...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 29th Apr 2003 17:13
Ah, a circular plain?
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Apr 2003 17:47
More or less...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 29th Apr 2003 21:06
Nice, nice. It's ok Mr. Toad I can do without for a while, maybe there is one roaming on the internet. Oh, and I will be putting your printer DLL to good use, don't you worry!

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 29th Apr 2003 23:04
hehee (^_^) ... don't lookit me to make it i'm working on my portfolio project + mechwarrior-gensis.

i've nearly finished the Museum design, and i think alot of building developers are probably glad i never became an architect
you're Circle Plane sounds cool
and hey c'mon your Toady, ego the size of a planet ... you can't make this - hehee

don't worry i'm just messing, perhaps Raps you should go off to a C++ forum see if anyone there is up for a challenge like that.

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 30th Apr 2003 00:35
lol right...

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Apr 2003 00:57 Edited at: 30th Apr 2003 00:59


Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 30th Apr 2003 03:13 Edited at: 30th Apr 2003 03:14
Hey, I might as well start grovelling right?



Once your done your project of course

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Apr 2003 11:56
Shame you cant use the serial ports...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 30th Apr 2003 13:49
i don't see why he can't... (^_^) i mean if the tech is old enough it should be a simple case of going down to Tandy/Maplin and getting the wires and such to splice himself a quick solution

i mean they should be running at the nessary speeds already

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Apr 2003 14:10
Would certainly save a lot of time if serial I/O can be used - then he could test my plug-in for it...

I cant work out whether you need to create a driver to access the MIDI ports or whether the midiX commands work without... I dont think you need one (MSDN is rather vague on this)...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 30th Apr 2003 15:53
Hmm... see I don't have any MIDI ports myself. I got the game port, which people say can be converted to a midi port with a little add on. This little app will run on a comp w/ a proper MIDI port tho. I was either going to get a real MIDI port or adapt the game port for this comp, when and if I find a control DLL. Is there some way I can use serial port? Is it fast enough?

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 30th Apr 2003 16:00
Ok, if I got the cable that converts the Game port to MIDI In/Out ports, could I use the serial dll?

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Apr 2003 16:29 Edited at: 30th Apr 2003 16:34
Hmmm - pass... I dont use any game port or MIDI ports, and unfortunately I dont know... If your thinking of using a gameport then it should be possible to control things using the same system that dual-shock joypads use...

You shouldn't need to convert a game port for using the serial DLL - you should have a couple of serial I/O availiable (and hopefully free) for use.

This is getting way beyond me!

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Muddleglum
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: New Zealand
Posted: 1st May 2003 01:05
On my old amiga the serial port handled midi very easily in AMOS. I don't see why PC serial could not be able to do so.

Midi data is sent as a serial stream with quite a simple code pattern.
AMOS stored it in a buffer and you could retrieve it as required.
Lee, coming from the AMOS line, could probably implement it fairly easily ????

It was -and could again be - fun to use a midi keyboard to play sound. And perhaps use it to control various things. Or synchronise graphics to beat.

cheers.
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 1st May 2003 06:43
Not necessarily, remember poor Lee has Windows and DX to wrestle with. Near as I can tell, it's risky business to directly access the MIDI port. Certainly a bad idea for something you want to run without a hitch, such as this lighting control prog!!!

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 1st May 2003 23:47


Circular plain?

You are the th person to view this signature.
Programmers don't die, they just Gosub without return....
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 2nd May 2003 00:09
no, I don't think so lol

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 2nd May 2003 00:14
Unfortunately, it'll require a bit of research for the person doing it...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 2nd May 2003 02:55
the Gameport is also a Midi port Raps, infact was a midi port before it was used as a gameport by Creative
so getting a lead shouldn't be too hard...
and Toady has a good idea, if you could get someone who understand asm then it should be a peice of piss to setup a windows driver for what you need.
All you need to do is get the timings and command stream setup done and you'd be good to go - i'd suggest making a driver which takes data from the gameport when called and hands DB the information in a Memoryblock, that way you can do with it as you please.
i could show you what i did to get my N64 controller to work using ASM for the USB port but i'm not sure that'd help to much cause you still would need to get the irq of the gameport to set the pointer address to access the information.

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 2nd May 2003 06:32
lol anyone know a good asm coder?
I'll take care of this midi thing when the time comes I suppose. For now I'll get the bulk of the GUI work done.

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Danmatsuma
23
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 2nd May 2003 07:23 Edited at: 2nd May 2003 07:29
Raps, The simplest solution to what you seem to be trying to do is to use a midi sequencer like cakewalk or cubase for instance, or some freebie you can find and get the cable from any music store which will connect your soundcard to any midi device, it's just called a midi breakout cable and is actually quite easy to make yourself.

If you try various voices/patches in your sequencer you'll find some of them will activate a mmc (midi machine control) lighting rig. Once you decode that logic you could just generate a library of midi files which switch the patterns on/off in the ways you want and run those midi files from DB.

No .dll required
[edit]

If you find each sysex control protocol for your particular rig, (you should be able to find the data for it on the net somewhere if you don't have the manual) You can make single note midi files, and load them all into your db prog. Then you could trigger them individually, instead of in preset patterns.

But the question is whether you need a db program at all, when if you just want to control a mmc lighting rig all you need is a sequencer.

If you want to syncronize graphics/audio etc to it though I reckon the above method would work a treat

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
rapscaLLion
23
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Canada
Posted: 3rd May 2003 07:55
Erm, I could just compose a "song" that would control the board but I don't want to lol, at that point it's easier to program the board itself. Computer control for this thing is a huge improvement over manuel switching, but I thin making midi music is a work around... the point of this is (to some degree) to teach students a little about lighting. Obviously they won't be learning industry standard programs, but it's a start. The rest of it is just me wanting to see if I can do it

Alex Wanuch
aka rapscaLLion
Kousen Dev Progress >> Currently Working On Editors
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 4th May 2003 08:57
well why don't you just make a wrapper program that will encode a midi music sequence based on instructions?
surely it can't be too hard hehee

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Danmatsuma
23
Years of Service
User Offline
Joined: 2nd Mar 2003
Location: Australia
Posted: 4th May 2003 15:28
I was thinkin' more along the lines of creating a cut down midi sequencer within darkbasic, by just saving lots of teeny .mid files with only one instruction in each to make up a library of commands which you could trigger simply from a db program

ZX Spectrum 48k Issue 3, Radio shack Tape drive, Rank arena 12" T.V. set.
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 4th May 2003 15:58
essentially you'd have to have that Dan... only rather than making it a simple trigger sequence, he can make a compiler + language which is say in basic which he can use to code the sequence in a form he'll understand

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?

Login to post a reply

Server time is: 2026-07-11 12:02:01
Your offset time is: 2026-07-11 12:02:01