Results 1 to 5 of 5

Thread: Recording music via a VB6 application

  1. #1
    Member
    Join Date
    Sep 05
    Location
    West Chester, PA
    Posts
    42

    Unhappy Recording music via a VB6 application

    Simple question, long into.

    OK, I have "created" basically my own private media player. I say "created" because I just added a windows media player control to my project, and I can feed it the songs and stuff I want to play via sending it the URL of the media. So I didn't really "create" any new code to play the files.

    What I really want to do with my program, though, is to have some sound recording program kick off when a media beings to play. I can't find any controls or references that will let me turn them on/off or save files. I tried adding the Wave Sound control as an insertable component, but I can find any way to make it start recoding programatically. I also tried using the SndREcCtrl library, but that won't let me gain access to the conrols either. The Windows Movie Maker would also work for me, in theory, but I can find a way to access it's methods programatically either.

    Do you know of anyway I can accomplish this? Any known controls or referneces that can be controlled completely from VB? Any way to create some sort of macro that would kick off and start recording programmatically?

    Thanks.

    -Mike

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 04
    Location
    Center of it all
    Posts
    17,901

    Re: Recording music via a VB6 application

    Find the link in Jacob Romans signature to a Direct X site. That should let you record.

  3. #3
    Member
    Join Date
    Sep 05
    Location
    West Chester, PA
    Posts
    42

    Talking Re: Recording music via a VB6 application

    Thanks, man. I eventually found the link, which directed me to the DirectSoundCapture object on microsoft.com. I have some research to do on that, but it looks like what I am looking for.

  4. #4
    The DirectXpert Jacob Roman's Avatar
    Join Date
    Aug 04
    Location
    Miami Beach, FL
    Posts
    4,847

    Re: Recording music via a VB6 application

    He meant this:

    http://directx4vb.vbgamer.com/DirectX4VB/TUT_DX7_DS.asp

    And it wasn't in my signature.
    Useful Forum Tips:

    - If you found any post that was useful, please consider rating their post

    - Give sensible thread titles, please!
    - Be sure to use [HIGHLIGHT=VB][/HIGHLIGHT] tags when posting code written in VB.
    - Write posts like a conversation, not like an email. That way you can avoid saying "Dear so and so" in every post.
    - When your problem is solved, go up to Thread Tools and click on Mark Thread Resolved

    My Contributions: Massive DirectX 2D Tutorials For VB5/VB6/VB.NET || 3D Engine In Pure VB || Friction Force ||DJ Turntable Simulation || Scratching Wavs || Time Based Movement || Newton Physics Simulation || Managed Game Loop || Rigid Body Collision Detection || World of Warcraft RGB Battle System || Bosskillers (World of Warcraft 2D Clone) || Street Fighter Controls (Flawless Simulation) || A* Pathfinding (VB6 & VB.NET) *UPDATED || *NEW* Nintendo Entertainment System Emulator (VB6) || *NEW* Video Game Making Tips (VB6 & VB.Net)

    Expert. Ask me anything NES!

    My Smilies:


  5. #5
    Banned dglienna's Avatar
    Join Date
    Jun 04
    Location
    Center of it all
    Posts
    17,901

    Re: Recording music via a VB6 application

    And why not? I've been referring people to it for a few weeks. I guess I'll have to make it a shortcut on my system.

Posting Permissions

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