1 Replies - 2148 Views - Last Post: 26 July 2011 - 03:25 PM Rate Topic: -----

#1 HeeroYuy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 26-July 11

MP3 to Microphone Input

Posted 26 July 2011 - 02:14 PM

I have no idea how to tackle this project. I need to write an MP3 file to the microphone in. So when i'm using VOIP, the mp3 file get played. I tried to write an mp3 to the default CAPTURE DRIVE with directsound out (with Naudio): this doesnt work (it does compile, execute, but the microphone in does not seem to get input:

Imports NAudio.Wave
Imports NAudio.Mixer

Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim DSO As New DirectSoundOut(DirectSoundOut.DSDEVID_DefaultCapture)
        Dim mp3 As WaveStream = New Mp3FileReader("D:\Muziek\Irish rebel songs\Athenrye - The armagh sniper.mp3")
        DSO.Init(mp3)
        DSO.Play()
    End Sub
End Class



Is there any way i can do this? I want to avoid making a whole virtual microphone driver

Attached Image <- illustration of what i want to do

This post has been edited by HeeroYuy: 26 July 2011 - 02:15 PM


Is This A Good Question/Topic? 0
  • +

Replies To: MP3 to Microphone Input

#2 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2871
  • View blog
  • Posts: 11,026
  • Joined: 15-July 08

Re: MP3 to Microphone Input

Posted 26 July 2011 - 03:25 PM

The VB.NET forum will be better place for this topic. **Moved**
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1