Add Effects To Sounds That Are Playing Using The Mediaplayer Control?

Sep 15, 2009

is it possible to add effects to sounds that are playing using the mediaplayer control?. i have tried using directsound which works good and i can add effects to the sounds playing but it wont play mp3 files and i have looked all over for information on directshow which does play mp3s but all the examples i managed to find all have about 50 lines of code just to play one track and dont show how to add effects.

i need to play several sounds at the same time and add different effects to each track and also be able to play - stop - pause each individual track at will mediaplayer i can do this but dont know how to add effects directsound i can do all of this but cant play mp3s.is there any way to add effects using mediaplayer control? or does anyone please know where i can see a code example in directshow that adds effects to the sounds playing?

View 2 Replies


ADVERTISEMENT

Playing Video - Auto Seeking In MediaPlayer

Mar 4, 2010

If I have a video of 70 Seconds and I want to play it directly from 31 seconds to onwards how can I do that in vb.net.

View 1 Replies

Playing Two Sounds At A Time?

May 26, 2012

how do you do this playing two sounds at a time?

View 4 Replies

Playing Two Sounds Simultanously?

Nov 8, 2009

Is it possible to play two sounds using SoundPlayer simultaneously. I have got 2 sounds, one a music file which keeps on playing in the background and a message sound that will play if some condition is true over that sound. Is it possible??

View 4 Replies

Playing Multiple Sounds Without Using DirectX

Feb 1, 2010

Is it possible to stream more than two sounds simultaneously in .NET without using DirectX?

To obtain foreground and background effects I currently use the following:

' Background music
Private bkMusic As New SoundPlayer(My.Resources.bkm)


[CODE]..................

SoundPlayer is a wrap around to the win32 API:

Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long

While for actual in game sound effects I am using a class that implements:

Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpszCommand As String, ByVal lpszReturnString As String, ByVal cchReturnLength As Long, ByVal hwndCallback As Long) As Long

It works. 1 snd effect at a time overlapping / mixing with the background music. But I am on the hunt for a better method which allows me to stream multiple snd effects simultaneously. DirectX is not an option, because most people (my audience) don't have the SDK (software development kit)

View 4 Replies

Playing Sounds (.wav, .mp3, Etc) From Gamepad Input

Nov 22, 2009

[URL]

I just got back into VB since being, at best, a hobby programmer with VB6. Wow, so much has changed since then, so I feel like I am starting all over again.

After much hunting and searching, I found that great code sample that shows the input from the game pad/joystick. (Finding visual basic 2008 and gamepad input information isn't easy!)

Now I want specific buttons to play a random file from a specific folder.

The application runs on a Netbook, which is a bit light on resources. I would prefer to play WAVs and MP3s with something that's less resource intense than windows media player. (Perhaps its very easy to do so from the code level. I've noticed WMP is so loaded with visualizations and so forth, its hard to turn all that crap off)

View 7 Replies

Game Programming :: Playing 2 Sounds At One Time?

Feb 19, 2009

Its me again the newb programmer. lol why does it not allow you to play 2 sounds at the same time? the back ground loop ends when the button click sound is played :/ and I'm using vb express 2008 .net

[Code]...

View 1 Replies

Make An Option For Making A Playlist Instead Of Playing The Sounds Right Away When Press The Button

Nov 7, 2010

I have a Form that has several buttons on it, and each one plays a certain mp3 file. Thing is I want to make an option for making a playlist instead of playing the sounds right away when you press the button, adding them to a ListBox. So the code would look something like this on Button1_Click

[Code]....

View 18 Replies

Which Of The MediaPlayer Events Is Related To "FileEnd" (when The Playing File Reaches To Its End)?

Apr 11, 2007

Which of the MediaPlayer events is related to "FileEnd" (when the playing file reaches to its end)?

I tried "EndOfStream" event, but it didn't work.

View 5 Replies

Use A WPF Control In WinForms To Achieve Transparency Effects?

Feb 10, 2011

Is it possible to use WPF in WinForms, to implement the idea used in this question. I am trying to create a semi-transparent panel.

View 3 Replies

Use Vb To Open Windows 7 Visual Effects In Control Panel And Only Select Certain Options Then Saving It?

Oct 7, 2010

I am trying to use vb to open windows 7 visual effects in control panel and only select certain options then saving it. Either buy making vb do all the work or making vb find the registry keys.

View 9 Replies

ITunes Library Control - Current Song Playing?

May 10, 2010

I'm using the iTunes library control to figure out the current song playing in my iTunes, but theres 1 annoying thing... everytime I load my program it now automatically starts iTunes. Is there a way to use the control and not have it launch iTunes with my program? Or a better way of getting the current iTunes song without using the iTunes control?

View 3 Replies

VS 2008 Playing Camtasia Video In Web Browser Control

Dec 24, 2009

I have tried to play a Camtasia video inside a web browser control but it comes up with javascript needs to be enabled error on page. How can I work it or find a work around that? I'd like to have a listbox that contains the movies and they would play in the browser. I have a membership site that I'd like to have a player that authenticates the user before playing them but first things first, what is the best way to accomplish playing Camtasia videos inside a form?

View 25 Replies

Windows Media Player Control Playing Behind Form

Aug 25, 2010

I have been trying to tweak the form and all of a sudden it doesn't show anymore. I have tried reversing all the settings back to original but nothing. Then I have tried:

[Code]...

View 3 Replies

Get Media Playing Now Playing Using Sendmessege / Wmp.dll?

Jan 22, 2010

How I can get the Media playing now playing using Sendmessege or wmp.dll?

View 5 Replies

Create A MediaPlayer Program?

Nov 5, 2009

I need to know how to create a program like MediaPlayer from scratch .Does Directshow do this ??? And if yes , what the steps I should follow to have full control at this side of programming ( Is there any SDK I should download )?I'm using VisualBasic 2008 Pro.

View 10 Replies

Different Playback Speed Mediaplayer

Dec 27, 2009

I am making a program that works with my hometrainer so i can now have my speed and distanse on my screen but now when i start byking i would like to play a video on my screen also when i am biking slow the video has to play slow when i am biking fast the video has to play fast is there any one how can tell my how todo this whith a sample

View 3 Replies

Load The Decrypted One On A Mediaplayer?

Jun 5, 2009

I have a wpf application that stores videos/images and generic files

1) what is the best way to encrypt these type of file in term of performances

2) and when you encrypt a video how do you load the decrypted one on a mediaplayer?

View 10 Replies

VS 2008 MediaPlayer For Windows Xp?

Jan 9, 2012

I wrote a program for Playing Video's , I used 'AxInterop.WMPLib.dll' This i think will only work with 64 bit machines because it is Media player 12. I need to play my video's on a Windows XP 32 bit machine. But i need a older version of the player. Where can i download the dll for Mediaplayer 11.

View 1 Replies

Forms :: Mediaplayer Time In Label?

Dec 4, 2011

so i am busy with a mediaplayer ( just for fun ) and everything pretty much works, but one thing doesn't.the thing is ive got 2 labels, the first label needs to show how much ive already played, and the second label needs to show the duration of the media file.example: a media file from 1 hour 32 minutes and 18 second and i have already player 43 minutes and 9 seconds from it, then the first label needs to show 00:43:09 and the second label 01:32:18.

View 5 Replies

Mediaplayer : Unable To Play Some Songs?

Dec 21, 2009

In my VB.Net application, I am using Mediaplayer for playing songs. It is working fine with some songs. But some songs are not playing. I gave msdxm.ocx for COM componetes. I used breakpoint to see what is happening, I got the the error as "Error HRESULT E_FAIL has been returned from a call to a COM component.". I am using the following code,

AxMediaPlayer1.FileName = "D:Songsabc.mp3"
AxMediaPlayer1.Play()

View 2 Replies

Mediaplayer Fade In Visual Studio?

Sep 14, 2010

Is there any ready method/function etc to create a fade in/fade out effect for sound with Windows Mediaplayer in Visual Studio Express 2008?

View 3 Replies

MediaPlayer.URL Makes Vb 2010 Application Not Responding?

Sep 19, 2011

Im building an application in vb 2010 which uses window media player component. When I run the application in debug mode and Press Play button, the application hangs up and stops responding. When I press PAUSE button in vb 2010 the line it shows is

mediaPlayer.URL = curl

View 3 Replies

VS 2005 Receive The Time And If The Mediaplayer Is Paused Using Api?

Oct 30, 2010

I want to receive the time and if the mediaplayer is paused using api.My problem is that the child is called Static but there�s 3 items there and it seems that I just get the first of them.

Heres my code so far:

Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr
Private Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As

[code].....

View 4 Replies

Flash Movie Playing Choppily Inside Flash ActiveX Control

Aug 19, 2008

Good day all,A Flash movie that plays fine when opened in a web browser is playing slowly and choppily in my VB 2005 WinForm application on the same machine.

View 7 Replies

Move And Re-size A Window That Has BorderStyle = None With MediaPlayer As Child

Jul 10, 2011

What I am doing is making a Media Player, but I am making it to be some sort like BS Player.

The Video part of the player is on its own with no border and then there is going to be a separate Form for the controls. (I might need help with that later) But the first thing that I have to do is make the window movable and re-sizable by dragging the Media Player (WMP). WMP is taking up the whole screen of the Form so there is no where to click on the original Form. If possible, I would like it to show contents while dragging, ignoring the Windows Appearance and Performance. If that can't be done or is to much work, I will settle for just the border of the Form being showed while moved.

For re-sizing, the media player has to stay the same size as the form, but it also has to stay the same Ratio of the video. So as long as I can specify the current height and width of the window and also get then get the width while the window is being re-sized, I can get the height that the window needs to be by using this formula.

Window.y / Window.x * Sized Window.x = New Window.y .

I know that may sound complicated or maybe I am making it harder then it actually is, this is just how I know how to do it. I will explain what each variable in the Formula means.

Window.y is the current height of the window

Window.x is the current width of the window

Sized Window.x is the width of the window while it is being re-sized

New Window.y is the final height for the new size of the window

View 11 Replies

Transitions Effects On .NET?

May 10, 2012

I'm trying to make an image gallery in VB.net and i want that the image move to the left side of the screen and the next image appear from the right side and move to the center when the user click in the next button. Like a slider in HTML sites.I already make some Sliders but the Picture Box leave a trace.

View 1 Replies

Enable Effects On SecondaryBuffer?

May 11, 2012

According to this article, to clone a secondaryBuffer you need to disable the EffectCaps.

"Initially, the duplicate buffer will have the same parameters as the original buffer. However, the application can change the parameters of each buffer independently, and each can be played or stopped without affecting the other."

How can i re-enable the EffectCaps on the cloned SecondaryBuffer?

View 7 Replies

Giving Effects To Buttons

Mar 6, 2011

Image shows the buttons on my UI in vb.net.All these buttons are having background images. Now what i want is these buttons be shown as inactive when actions corresponding to them are not available so I am making them cmd.enable = false but still on UI there is no visual effect of this disabling them on these buttons. They keep looking same as in enabled mode. So how to give effect of disabled state to these buttons.In the same way i want effect to be visible when mouse is hovered over these buttons and buttons are clicked

View 1 Replies

How To Make Lighting Effects

Jun 10, 2010

Is it possible to make simple but good looking lighting effects? I would give a pic but i dont know how. So anyway all i want it to do is light up a object but not have like a square or anything just a lit up area.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved