CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Location
    Sydney-Australia
    Posts
    7

    Smile MP3 Information and Volume Setting?

    Hi im new here and just wanted to ask a couple of questions.

    1.Could anyone show me an example of how to change MIDI/Master Volume using API Calls i have managed to find API for changing WAVE Volume bit im having trouble finding these other two.

    2.Does anybody know where i can find out how to get information of MP3's like Name, Genre, Author etc.

    Thanks for your time

  2. #2
    Join Date
    May 2003
    Posts
    30

    sound volume

    Try sound voulme activex that have vb sample to control master volume.

    http://www.viscomsoft.com/soundvolume.htm

  3. #3
    Join Date
    Oct 2003
    Location
    .NET2.0 / VS2005 Developer
    Posts
    7,104

    Re: MP3 Information and Volume Setting?

    Originally posted by B1GR3D

    2.Does anybody know where i can find out how to get information of MP3's like Name, Genre, Author etc.
    for the first problem, i recommend you use directx/directsound.. www.directx.com

    mp3 names, genre etc.. hmm. you need to understand that this is textual information added to an mp3 file. version 1 tags were 128 bytes long, appended to the end of the file, version 2 tags are variable length, more like xml style markup, and prepended to the beginning of the file.
    writing a bit of code to parse the tags(if present.. it is not guaranteed) is re-inventing the wheel; its already been done for you. check out the libraries at www.id3v2.org
    "it's a fax from your dog, Mr Dansworth. It looks like your cat" - Gary Larson...DW1: Data Walkthroughs 1.1...DW2: Data Walkthroughs 2.0...DDS: The DataSet Designer Surface...ANO: ADO.NET2 Orientation...DAN: Deeper ADO.NET...DNU...PQ

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