Results 1 to 8 of 8

Thread: [2008] My app. records my voice but I want to hear my voice while it records 2 .wav

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2007
    Posts
    80

    [2008] My app. records my voice but I want to hear my voice while it records 2 .wav

    Hi,

    The code I have here, records whatever i speak into the microphone, but I want to be able to hear what im saying while im recording through the speakers. How do i do this?

    Also when it records my voice in .wav it is quite distorted but when I use other applications like skype or teamspeak or audacity my voice comes clear through the mic.

    Is there another way I can just listen to my voice from my microphone to my speakers? Say if I just had a button which I could click and I could just hear my voice playback through my speakers.

    this is the code i use to record

    Code:
      
      Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Integer, ByVal hwndCallback As Integer) As Integer
    
        Dim SoundName As String
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    
            ' record from microphone
    
            mciSendString("open new Type waveaudio Alias recsound", "", 0, 0)
    
    
            mciSendString("record recsound", "", 0, 0)
    
    
        End Sub
    thx all help appreciated

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2008] My app. records my voice but I want to hear my voice while it records 2 .wav

    Feels like I've promoted these components all month, and I'll do it again now.
    AudioLab is a bundle of free audio components for, amongst other technologies and languages, .NET.
    It is very simple to use aswell, makes it very easy to implement more advanced audio functions in your application. Give it a try.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: [2008] My app. records my voice but I want to hear my voice while it records 2 .wav

    Quote Originally Posted by Atheist
    Feels like I've promoted these components all month, and I'll do it again now.
    AudioLab is a bundle of free audio components for, amongst other technologies and languages, .NET.
    It is very simple to use aswell, makes it very easy to implement more advanced audio functions in your application. Give it a try.
    I checked out AudioLab web site and it doesn't seem to be free as you said. As a matter of fact, the library cost quite a bit of $$$.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  4. #4
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2008] My app. records my voice but I want to hear my voice while it records 2 .wav

    Quote Originally Posted by stanav
    I checked out AudioLab web site and it doesn't seem to be free as you said. As a matter of fact, the library cost quite a bit of $$$.
    It is free, it only costs money if you want the source code aswell.

    Edit: Here's the link for the download.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  5. #5
    Frenzied Member
    Join Date
    Mar 2005
    Location
    Sector 001
    Posts
    1,577

    Re: [2008] My app. records my voice but I want to hear my voice while it records 2 .wav

    It is free for non commercial uses. As to the question, mci send string can be very useful but not here (slow and no access to the audio data). Something that can put audio into a memory stream and something that can play audio from a memory stream would be the fastest way. Maybe it can be done with DirectX too.
    VB 2005, Win Xp Pro sp2

  6. #6
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: [2008] My app. records my voice but I want to hear my voice while it records 2 .wav

    Quote Originally Posted by Atheist
    It is free, it only costs money if you want the source code aswell.

    Edit: Here's the link for the download.
    That's only the trial version. The full version will cost you $$$.

    Full version + source code = $900
    Full version without source code = $380.00

    Prices can be verified here:

    http://www.shareit.com/product.html?..._audiolab.html
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

  7. #7
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2008] My app. records my voice but I want to hear my voice while it records 2 .wav

    Quote Originally Posted by stanav
    That's only the trial version. The full version will cost you $$$.

    Full version + source code = $900
    Full version without source code = $380.00

    Prices can be verified here:

    http://www.shareit.com/product.html?..._audiolab.html
    Well I've been using it for a short while now without noticing anything implies that it is a trial version. And this text also says otherwise:

    AudioLab is fully functional and free for non commercial purposes! This means that you can use it for your personal non commercial needs, for fun, hobby, or evaluation purposes. You can also use it free for study and even teaching. If you are teacher currently you also will not need a commercial license. In the future however a special low cost tutor license will be introduced. For students the product is absolutely free!

    Where have you seen that the free version is actually a trial version?
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  8. #8
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: [2008] My app. records my voice but I want to hear my voice while it records 2 .wav

    Quote Originally Posted by Atheist
    Well I've been using it for a short while now without noticing anything implies that it is a trial version. And this text also says otherwise:

    AudioLab is fully functional and free for non commercial purposes! This means that you can use it for your personal non commercial needs, for fun, hobby, or evaluation purposes. You can also use it free for study and even teaching. If you are teacher currently you also will not need a commercial license. In the future however a special low cost tutor license will be introduced. For students the product is absolutely free!

    Where have you seen that the free version is actually a trial version?
    Alright, you're right... As for your question, when I click on the "Download Trial" button on the order page, it links right back to mitov.com page where when I click on download, it goes to the page you posted.
    Let us have faith that right makes might, and in that faith, let us, to the end, dare to do our duty as we understand it.
    - Abraham Lincoln -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width