查了相关资料,winmm.dll和directsound都可以做录音和录音波形图,都可以支持vista系统。
现在的问题是,此二者都可以做音频编辑吗?都可以做音频转换吗?
如果不行,请给一些相关建议!
有相关控件和C#示例代码参考就更好了!我最多只能给100分,问题解决可以另开帖加分!

解决方案 »

  1.   

    我试玩的 DirectShowLib 下有这样一个目录不知符合你的要求
    DirectShowLibV2-0\Samples\Editing\DESCombineThe DESCombine can be used to combine multiple audio and video files, or specific sections
    of those files into a single output.  For example, you can take seconds 5-9 of videofile1.avi
    combine them with seconds 2-7 of videofile2.mpg, and output them to foo.avi.  Similarly with
    audio files.  Note that this is only a small subset of what can be done with DES.A sample showing how the library can be used from VB is included in the DesCombineVB directory.When using the sample program, if you want to use both the video and audio from a file, you
    should add the same file as both the video and audio file (when using the lib, just call 
    AddAVFile).  If you add audio from different files, note that the library doesn't make
    any effort to make sure that a given audio clip and a video clip are the same length.
    If you have a 5 second audio and a 14 second audio clip playing under two 8 second video 
    clips, the second audio clip will start playing as soon as the first audio clip is comlete.
    Also, since the audio in this example is longer than the video (19 > 16), you would have 3
    seconds of audio with black video.Here are some step-by-step instructions of how the library might be used.  You should
    also check out DESCombine.chm.
      

  2.   

    谢谢兄弟们的支持!
    我做录音功能,mp3音频编辑,其他音频格式转换为mp3格式。
      

  3.   

    应该选择directshow
    DirectShow通过不同的Filter, 将输入输出处理通过Filter连接起来,成为一个完整的输入输出流。
    具体你可以上网找找啊,DirectShow如果不要自己写Filter是很简单的。录音, 其实就是使用声卡,将声音这种模拟信号,按照一定的采样率进行采样,变成离散的数字信号,也就是PCM数据。 然后你就可以用某一种文件格式进行编码保存了,比如MP3 OGG WMA等。录音就是这个采集的过程,一般来说,对于常见格式,可以非常方便地完成上述操作。直接Capture就可以,你自己完全不必担心中间的过程。音频转换一般是格式转换,最直接的方式,就是先将音频解码到PCM数据,然后根据需要输出的音频格式,对PCM数据再次编码输出。音频编辑要看你具体要实现什么功能,这个可以说是最复杂的了。
      

  4.   

    directsound 是使用硬件对声音进行播放的一个DX组件一般提供静态缓冲区 和 循环缓存区2种播放方式。 
      

  5.   

    楼上的兄弟有directshow的相关资料吗?,谢谢!!!
    我编写的时候是要引用directshow的一些动态库吗,但是我下载了之后没找到相关的.dll文件啊。
      

  6.   

    还有我的录音功能是要完成直接录制为mp3格式的,看了一些例子都是录成wav格式。而且我的录制时要实时现实mp3的录音波形。不知有什么建议?感谢!
      

  7.   

    我有java写的一个 不知道你有用不 需要可以qq 8526071
      

  8.   

    调用win32 API waveOutOpen + waveOutWrite WAVEFORMATEX是格式结构 
      

  9.   



    下载链接AudioStudio3
      

  10.   

    Please
    Download Link AudioStudio3
      

  11.   

    http://blog.donews.com/uplook/archive/2005/12/14/657145.aspx