Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. audio recording

audio recording

Scheduled Pinned Locked Moved C / C++ / MFC
questioncom
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kadkir
    wrote on last edited by
    #1

    I am trying to record a wave file using "winmm.dll" from a web application. I am able to record that .WAV file in 11025 samplespersec, 16 bit, mono format. But my requirement is to record that in 8000 samplespersec, 16 bit, mono format (wave format). How do I meet my requirement ? Is there any other DLLs or ActiveX control to meet my specifications ? thank u all.... with regards, kiran

    M N M 3 Replies Last reply
    0
    • K kadkir

      I am trying to record a wave file using "winmm.dll" from a web application. I am able to record that .WAV file in 11025 samplespersec, 16 bit, mono format. But my requirement is to record that in 8000 samplespersec, 16 bit, mono format (wave format). How do I meet my requirement ? Is there any other DLLs or ActiveX control to meet my specifications ? thank u all.... with regards, kiran

      M Offline
      M Offline
      Matthew Faithfull
      wrote on last edited by
      #2

      Have you got a copy of Goldwave? I'm not sure if it's open source these days but it is the business when it comes to audio formats.

      Nothing is exactly what it seems but everything with seems can be unpicked.

      1 Reply Last reply
      0
      • K kadkir

        I am trying to record a wave file using "winmm.dll" from a web application. I am able to record that .WAV file in 11025 samplespersec, 16 bit, mono format. But my requirement is to record that in 8000 samplespersec, 16 bit, mono format (wave format). How do I meet my requirement ? Is there any other DLLs or ActiveX control to meet my specifications ? thank u all.... with regards, kiran

        N Offline
        N Offline
        Nishad S
        wrote on last edited by
        #3

        kadkir wrote:

        But my requirement is to record that in 8000 samplespersec, 16 bit, mono format (wave format).

        You can simply change these things in the header that is prepared for recording as well as file writing. Have you look at the code in deep?

        - NS -

        K 1 Reply Last reply
        0
        • K kadkir

          I am trying to record a wave file using "winmm.dll" from a web application. I am able to record that .WAV file in 11025 samplespersec, 16 bit, mono format. But my requirement is to record that in 8000 samplespersec, 16 bit, mono format (wave format). How do I meet my requirement ? Is there any other DLLs or ActiveX control to meet my specifications ? thank u all.... with regards, kiran

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          kadkir wrote:

          I am trying to record a wave file using "winmm.dll"

          So you're using the waveIn___() APIs? If so, you can specify the format you want to record in your call to waveInOpen() (see the WAVEFORMATEX struct parameter). Mark

          Mark Salsbery Microsoft MVP - Visual C++ :java:

          1 Reply Last reply
          0
          • N Nishad S

            kadkir wrote:

            But my requirement is to record that in 8000 samplespersec, 16 bit, mono format (wave format).

            You can simply change these things in the header that is prepared for recording as well as file writing. Have you look at the code in deep?

            - NS -

            K Offline
            K Offline
            kadkir
            wrote on last edited by
            #5

            I did the same using set command string (passed as param to mcisendstring function). But I am getting "value out of range exception..", what to do with this ? thank u, kiran.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups