CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 1999
    Posts
    37

    WAVEFORMATEX,increase the volume

    Hi gurus,
    I have one problem,i am getting the raw audio data from .wav file and i want send that rawdata(pcm data) to the sound card directly.But before sending it to the sound card i want to increase the volume.Can anyone please help me how i can solve this problem.
    Thank you..................

  2. #2
    Join Date
    Feb 2001
    Location
    QC
    Posts
    147
    Well, you got two options:
    - increase volume level in the system to play it;
    - process the data (scale) and then send it;
    Which one do you prefer?

  3. #3
    Join Date
    Apr 1999
    Posts
    37

    pcm data need to increase so that my volume will increased.

    Hello,
    I dont want to increase the data through mixer.I can explain one example.Suppose if you are palying windows media player and if you increase the sound then the volume control in the system will not change.But may be inside from sending pcm data to sound card they are increasing the sound.So,i want to increase the data of PCM(pulse code modulation) so that i will sound more.
    Before sending the data to soundcard if you change some values in the pcm data then the sound will increase and decrease.But i dont know where i can change.For that i need one small sample.Can anyone give me an idea.
    work work work,until you will get the output.

  4. #4
    Join Date
    May 2003
    Posts
    30

    volume

    Increase the volume, you can control the audio mixer.

    Jimmy
    www.viscomsoft.com (Multi Media ActiveX Solution)

  5. #5
    Join Date
    Apr 1999
    Posts
    37

    please read my requirement once again

    Helo bodybody,
    Try to understand my problem.The Solution what you mentioned is not what i expected.I hope you did't read my thread correctly.
    work work work,until you will get the output.

  6. #6
    Join Date
    Feb 2001
    Location
    QC
    Posts
    147

    sources

    Hi, here is a link to the WinAmp plugin's source code
    http://www.sunpoint.net/~oparviai/so...soundtouch.zip

    It lets perform all major transformations over an audio stream.

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

Featured