1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

real time compressor/amplifier programe help

Discussion in 'Programming & Webmastering' started by ste2425, Apr 19, 2010.

  1. ste2425

    ste2425

    Joined:
    May 27, 2008
    Messages:
    3,369 (1.50/day)
    Thanks Received:
    366
    Location:
    Huddersfield, uk
    im making a programme that checks a song playing if its below zero level it will amplify it to that level. reason being I have my sound system at allot of parties and some songs are not at zero level so when played there allot quieter meaning i have to rank my amp up to get the volume i want putting un-needed strain on it.

    My question is i want the programme to take effect before the audio is sent out of the computer, to work in real time. I dont no how to do that. I no how to make the audio editing side of it but is there anything extra i need to do to make it run in real time or will it automaticly do it? Hope that makes sense
    ste
  2. digibucc

    digibucc

    Joined:
    May 21, 2009
    Messages:
    4,863 (2.59/day)
    Thanks Received:
    1,465
    it'd be much better to just normalize your tracks. search for audio leveling/normalizing and it will just change the db in all your files, making them at an even level - not too quiet or loud compared to the others.

    itunes does it, mediamonkey does it, tons of apps do it.

    do it real time every time would be open to so many issues, and there is no need if you just normalize the tracks. in my experience it does not lower quality. if you were worried about that, i think it would be worth it to keep a backup of the ones you want to asave, and normalize them all. just so much easier.
    ste2425 says thanks.
  3. ste2425

    ste2425

    Joined:
    May 27, 2008
    Messages:
    3,369 (1.50/day)
    Thanks Received:
    366
    Location:
    Huddersfield, uk
    meh but the way it compresses it is, well ,crap, the quiet parts are cut down say i play track with a very heavy bass drum thumping well it i use the software like that to compress it to the same level it ruins the sound its hard to explain, its like the bass drum is loud then theres a short gap before and after it where everything quiet then back to the same level if that makes sense. Plus i like the challenge and for my uni course when i start my second year im making VSTI Pluggins for cubase etc so this would give me a heads up with making compressors etc.

    But if i have no luck i will go that way thanks for the input mate
    digibucc says thanks.
  4. spy2520 New Member

    Joined:
    Mar 8, 2006
    Messages:
    498 (0.16/day)
    Thanks Received:
    16
    I'd rather compress than normalize. You could normalize the peak values and the song could still be quiet. Alternatively you could normalize the RMS values (i think, correct me if i'm wrong) and risk clipping the peaks.

    I'd compress it, since dynamic range is somewhat less important in a "club/party setting", its not an opera house after all. No help on code though, sorry.
    ste2425 says thanks.
  5. ste2425

    ste2425

    Joined:
    May 27, 2008
    Messages:
    3,369 (1.50/day)
    Thanks Received:
    366
    Location:
    Huddersfield, uk
    thats great info though thanks :toast:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page