UGN Security Forums
My ProfileMember DirectoryLogin
Search our ForumsView our FAQView our Site Rules
View our CalendarView our Active TopicsGo to our Main Page

UGN Security Store
 

Network Sites UGN Security, The GoNix Initiative, Elite Web Gamers, Back of the Web, EveryDay Helper, VNC Web Design & Development
November
Su M Tu W Th F Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
Sponsored Links
Latest Postings
Latest Reviews
Topic Options
Rate This Topic
#17710 - 09/27/03 09:57 PM Midi files!
n3o Offline
Junior Member

Registered: 09/15/03
Posts: 20
Loc: England
Hi,

I was wondering if any body could help me in being able to integrate a midi file into an application.

I am currently using VB Pro 5.

Any help would be greatly appreciated!

Thanks for those who help ¦:¬)

Top
Sponsored Links
      
#17711 - 10/03/03 05:43 AM Re: Midi files!
BackSlash Offline
UGN's Resident Homo

Registered: 03/16/02
Posts: 599
Loc: TN
you could bring in the windows media player control. it is msdxm.ocx on my computer. then just do MediaPlayer1.play(filename) that should work. also look into the PlaySound function in the API. it achieve the same effect.
_________________________
"It's better to burn out, than to fade away."

Top
#17712 - 10/04/03 10:42 PM Re: Midi files!
n3o Offline
Junior Member

Registered: 09/15/03
Posts: 20
Loc: England
The only problem with doing that, is it will not actually be intergrating the midi file its self.

Do you know anyway of actually putting the midi script for playing the notes into the appliction.

Thanks

Top
#17713 - 10/04/03 11:06 PM Re: Midi files!
SilentRage Offline
DollarDNS Owner

Registered: 03/04/02
Posts: 1273
Loc: OH, USA
add it as a resource file. When the program runs you can save the resource file to a temp directory as a temp file and play it.
_________________________
Domain Registration, Hosting, Management
http://www.dollardns.net

Top
#17714 - 10/26/03 12:36 AM Re: Midi files!
Red Mage Offline
Member

Registered: 10/24/03
Posts: 209
Loc: here.
If you know all of the notes, you can input it as:

PLAY "O4ABCDEFGO2ABC" (ABCDEFG being notes, O1-4 being octaves, and using + or - for sharp and flat)

Unfortunatly this only works if you know every note, and I'm not sure if it can do multiple notes at the same time (I use QBasic, so I don't know what the newer ones can do).
_________________________
Those who say do not know.
Those who know do not say.

Top

Featured Member
Registered: 10/28/14
Posts: 1
Forum Stats
2150 Members
46 Forums
35738 Topics
70908 Posts

Max Online: 1567 @ 04/25/10 05:20 AM
Top Posters
UGN Security 28899
Gremelin 7193
§intå× 3255
SilentRage 1273
Ice 1146
pergesu 1136
Infinite 1041
jonconley 955
Girlie 908
unreal 860
Newest Members
HushHush, golqm, Tim050, Gecko666, defghi795767
2150 Registered Users
Who's Online
0 registered (), 477 Guests and 284 Spiders online.
Key: Admin, Global Mod, Mod
Latest News
luxury goods sales at $405B by 2019
by golqm
10/28/14 05:19 AM


Donate
  Get Firefox!
Get FireFox!