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#
  4. Handling Volume and Mixing as a DJ

Handling Volume and Mixing as a DJ

Scheduled Pinned Locked Moved C#
csharpwinforms
3 Posts 2 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.
  • F Offline
    F Offline
    Filip D Williams
    wrote on last edited by
    #1

    I wondered if there is a possibility to listen to two or more MP3's at the same time and thus mixing them to the audio output, and also handle their volume apart. I saw an application such as Virtual DJ, and I would like to write a C# Winforms application but with very basic possibilities, mixing 2-3 mp3 files, handle their volume separately, and if possible listen to the headphones separately (pre-listening) while another audio file is playing. I looked for code here and there, but the only thing I found was mixing mp3 files and save them to a new file without listening....

    L 1 Reply Last reply
    0
    • F Filip D Williams

      I wondered if there is a possibility to listen to two or more MP3's at the same time and thus mixing them to the audio output, and also handle their volume apart. I saw an application such as Virtual DJ, and I would like to write a C# Winforms application but with very basic possibilities, mixing 2-3 mp3 files, handle their volume separately, and if possible listen to the headphones separately (pre-listening) while another audio file is playing. I looked for code here and there, but the only thing I found was mixing mp3 files and save them to a new file without listening....

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You can have multiple "media elements" playing at the same time; each with their own music source and settings. Beyond that, it's up to you, your equipment, and the app. "Pre-listening" implies "saving" / buffering. Why is "creating a new file" an issue? It's temporary; and I doubt "pre-listening" means the whole thing (which overlaps with other activities ... and that's why you probably need multiple machines too).

      It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

      F 1 Reply Last reply
      0
      • L Lost User

        You can have multiple "media elements" playing at the same time; each with their own music source and settings. Beyond that, it's up to you, your equipment, and the app. "Pre-listening" implies "saving" / buffering. Why is "creating a new file" an issue? It's temporary; and I doubt "pre-listening" means the whole thing (which overlaps with other activities ... and that's why you probably need multiple machines too).

        It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food

        F Offline
        F Offline
        Filip D Williams
        wrote on last edited by
        #3

        Thank you Gerry. Creating a new file, temporary, is not directly an issue, it is not a goal on itself. What I want to do is, when one audio file is playing using the output, I would like to pre-listen to another one for instance in the headphones, just like DJ's do. I wonder if I should give NAudio a try.

        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