Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Question] Detect playing music

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Kerelmans
Advanced Cheater
Reputation: 0

Joined: 29 Oct 2007
Posts: 57

PostPosted: Wed Sep 24, 2008 11:18 am    Post subject: [Question] Detect playing music Reply with quote

Hey,

I'm making a program in VB6 that needs to detect what music is playing (for ex. in Media Player etc.) & then return the music file path. I'm not sure what API I need for it and I searched the net, no results... please help!

e.g. I open MySong.mp3 with media player & my program can say: it's saved in that directory (if it's even possible... prob I need to write hooks?)

EDIT: Is it possible to lower mp3 bitrate in VB6?

Sincerely,
Kerelmans
Back to top
View user's profile Send private message
AndrewMan
Grandmaster Cheater Supreme
Reputation: 0

Joined: 01 Aug 2007
Posts: 1257

PostPosted: Fri Sep 26, 2008 8:33 pm    Post subject: Reply with quote

Good question.

To be honest here, i'm not sure this is possible.

I've never seen any program "detect music playing", unless you want it to detect the Media Player being used, which would be very simple.

Music(.mp3's for example) is not the same as a process. You cant just scan for a .mp3 playing.

Idea for how this could work:

- Have your program scan for common Media Player's in the process list.
- Next, have it scan your computer for music files, and open them.

Note: Usually if you open a music file that is already being played, it will pop up with a message "This file is already being used".

Anyone have any other thoughts?

_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Sep 26, 2008 9:21 pm    Post subject: Reply with quote

For example, check if Winamp or whatever is open. Continuing on that, if Winamp is playing, it's caption will be the title of the song, which you can easily get from it.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Fri Sep 26, 2008 9:25 pm    Post subject: Reply with quote

Look into Foxytunes
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Fri Sep 26, 2008 9:33 pm    Post subject: Reply with quote

Make a output graph for the speaker, and make it detect if the sound increases beat or melody for a period of time.
Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Fri Sep 26, 2008 10:58 pm    Post subject: Reply with quote

Is it just me, or did you guys too not understand the question? Are you trying to see what song is playing or what file?
Back to top
View user's profile Send private message
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Fri Sep 26, 2008 11:04 pm    Post subject: Reply with quote

i think he's trying to see what sont is playing like MSN Live does on the personal message
_________________
Stylo
Back to top
View user's profile Send private message
Overload
Master Cheater
Reputation: 0

Joined: 08 Feb 2008
Posts: 293

PostPosted: Sat Sep 27, 2008 12:16 am    Post subject: Reply with quote

Well what kind of method do MSN and iTunes use? When you play a song on iTunes and it shows up on MSN?

Not sure how that works, but give that some thought.

_________________
Blog

Quote:
Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that
Back to top
View user's profile Send private message MSN Messenger
Kerelmans
Advanced Cheater
Reputation: 0

Joined: 29 Oct 2007
Posts: 57

PostPosted: Fri Oct 03, 2008 9:29 am    Post subject: Reply with quote

Overload wrote:
Well what kind of method do MSN and iTunes use? When you play a song on iTunes and it shows up on MSN?

Not sure how that works, but give that some thought.


That's what I mean, MSN can detect the current song... maybe Media Player stores it somewhere in registry? No idea...
Back to top
View user's profile Send private message
sloppy
Expert Cheater
Reputation: 0

Joined: 17 Aug 2008
Posts: 123

PostPosted: Fri Oct 03, 2008 7:19 pm    Post subject: Reply with quote

Download the WMP SDK and check out the remote skin sample, or make use of a Now Playing plugin.

WMP SDK -> msdn . microsoft . com/en-us/windowsmedia/bb190327.aspx
Now Playing Plugin -> brandon . fuller . name/archives/hacks/nowplaying/wmp/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites