Doe anyone know how I can write a program to play sound but don't just want to use the API:
VB Code:
Private Declare Function sndPlaySound& Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long)
Because I also what to be able to pause and use an equalizer. I don't mind if you only know of controls that do this but I'd prefer to be able to do this from just code.
Thanx for any help.
Last edited by Electroman; Mar 28th, 2003 at 05:21 PM.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
Thanx but its important that I can have a equalizer and I don't think the Microsoft Multimedia Control 6.0 had it when I was playing with it earlier. As for the project MarkT i don't know if yours has one but i'll have a look in a minute when I come off-line.
Thanx anyway tho.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
I looked at the file at the other form manavo11 and its really great but i'm not sure how I can use this to create an equalizer, you know what I mean? like to adjust the amount of bass and treble being played.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
I've sort of solved the problem, I've managed to put the attached project together so far. Its made up of mainly the first example manavo11 gave a link to, but I've added my own code using some tutorials. I added the Procedure "ApplyEq()" but it only sort of works, I think its just that I can't work out what values to use for the frequenceys and bandwidths, if you look at the code I've marked out in the "ApplyEq()" procedure what I mean. Thanx for all the links tho manavo11.
Does anyone have any ideas?
Thanx
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.