1. #1
    AceInfinity's Avatar
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,725

    DOSBeep - New Experimental Application



    Here's a new experimental app i've been working on, what this does is it translates string unicode over to a frequency which is played by your system audio.

    Attached Files Attached Files
    Last edited by Laxer; 05-02-2012 at 01:42 AM.
    Automation Programmer
    Microsoft MVP [2012 - 2018]


    • Ad Bot

      advertising
      Beep.

        
       

  2. #2

    Join Date
    Apr 2012
    Location
    United States, TX.
    Age
    25
    Posts
    25

    Re: DOSBeep - New Experimental Application

    That looks very entertaining . What do you plan on using it for?

  3. #3
    AceInfinity's Avatar
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,725

    Re: DOSBeep - New Experimental Application

    Quote Originally Posted by Ninjaboi View Post
    That looks very entertaining . What do you plan on using it for?
    haha, entertainment for when i'm bored :) that's what instigated the development of such a useless program, however it is cool. kernel32 is responsible for most of the beeps you hear on your system even on boot.
    Automation Programmer
    Microsoft MVP [2012 - 2018]

  4. #4

    Join Date
    Apr 2012
    Location
    United States, TX.
    Age
    25
    Posts
    25

    Re: DOSBeep - New Experimental Application

    I learn something new every day I suppose . I like that you have so many interesting projects going on, keeps me wanting more .

  5. #5
    GZ's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,923
    • specs System Specs
      • Manufacturer:
        GZ Technologies LLC
      • Model Number:
        Phenom-INAL
      • Motherboard:
        ASUS M5A97-EVO
      • CPU:
        AMD PhenomII x6 (1100T)
      • Memory:
        16GB Kingston Hyper-X blu PC3-12800
      • Graphics:
        XFX Radeon HD6770
      • Sound Card:
        Realtek ALC892
      • Hard Drives:
        500GB WD Caviar Black / 1TB WD Caviar Black / 1TB Seagate / 500GB Hitachi
      • Disk Drives:
        HP DVD 1270i SATA DVD RW
      • Power Supply:
        Corsair 850TX
      • Case:
        Antec 300
      • Cooling:
        Coolermaster V8 / 2x 12CM intake / 1x 12CM rear exhaust / 1x 14CM top exhaust
      • Display:
        Acer 23in 1920x1080 / Acer 20in
      • Operating System:
        Microsoft Windows 8 Professional x64

    Re: DOSBeep - New Experimental Application

    How many instances of that little app can you run at one time????

    "Among the tales of sorrow and of ruin that come down to us from the darkness of those days there are yet some in which amid weeping there is joy and under the shadow of death light that endures."

    J.R.R. Tolkien - The Silmarillion

  6. #6
    AceInfinity's Avatar
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,725

    Re: DOSBeep - New Experimental Application

    Quote Originally Posted by Ninjaboi View Post
    I learn something new every day I suppose . I like that you have so many interesting projects going on, keeps me wanting more .
    I also have another project on the go for visual Bit encryption. A visual way of displaying a number of bytes down to an image file created from an original file's binary stream :)

    Quote Originally Posted by gavinzach View Post
    How many instances of that little app can you run at one time????
    As many as your computer resources can withstand if you desired :)
    Automation Programmer
    Microsoft MVP [2012 - 2018]

  7. #7
    GZ's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,923
    • specs System Specs
      • Manufacturer:
        GZ Technologies LLC
      • Model Number:
        Phenom-INAL
      • Motherboard:
        ASUS M5A97-EVO
      • CPU:
        AMD PhenomII x6 (1100T)
      • Memory:
        16GB Kingston Hyper-X blu PC3-12800
      • Graphics:
        XFX Radeon HD6770
      • Sound Card:
        Realtek ALC892
      • Hard Drives:
        500GB WD Caviar Black / 1TB WD Caviar Black / 1TB Seagate / 500GB Hitachi
      • Disk Drives:
        HP DVD 1270i SATA DVD RW
      • Power Supply:
        Corsair 850TX
      • Case:
        Antec 300
      • Cooling:
        Coolermaster V8 / 2x 12CM intake / 1x 12CM rear exhaust / 1x 14CM top exhaust
      • Display:
        Acer 23in 1920x1080 / Acer 20in
      • Operating System:
        Microsoft Windows 8 Professional x64

    Re: DOSBeep - New Experimental Application

    Hmmm... I want to check that out if it's alright with you!

    "Among the tales of sorrow and of ruin that come down to us from the darkness of those days there are yet some in which amid weeping there is joy and under the shadow of death light that endures."

    J.R.R. Tolkien - The Silmarillion

  8. #8
    Laxer's Avatar
    Join Date
    Feb 2012
    Location
    Portland, OR
    Posts
    3,857
    • specs System Specs
      • Motherboard:
        GIGABYTE GA-Z97MX
      • CPU:
        Intel 4690K @ 4.6Ghz
      • Memory:
        Corsair Vengeance Pro 16GB @ 2666Mhz
      • Graphics:
        2x Sapphire 7970s
      • Hard Drives:
        2x Corsair Force 3GT 120GB (RAID 0) + 2x Western Digital Red 3TB (RAID 1)
      • Disk Drives:
        LG Black 10X Blu-ray Burner
      • Power Supply:
        CORSAIR 950HX
      • Case:
        Corsair 350D
      • Cooling:
        Corsair H100i
      • Display:
        3 x 22" Samsung 1080p Displays
      • Operating System:
        Windows 8 Pro x64

    Re: DOSBeep - New Experimental Application

    Link added to first post...

    @ace, hope you don't mind
    AceInfinity says thanks for this.

  9. #9
    AceInfinity's Avatar
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,725

    Re: DOSBeep - New Experimental Application

    No I don't mind, actually appreciative that you did that, i'd forgotten, i'm not so used to using attachments here quite yet lol. Thankyou Laxer :)

    >>Hmmm... I want to check that out if it's alright with you!

    Completely fine if you want, Laxer was kind enough to add a download there, requires .NET 4, but I could reduce this if I recompiled and people request better compatibility, down to maybe 3.0 or 3.5 as well. Kernel32.dll is a GREAT resource. :)

    lol, I just realized how geeky this application looks. But it's actually quite simple, (for me anyways), and another idea came to mind. Perhaps I can read Morse Code somehow in this way? I'd need to research it, as I don't know much about Morse Code, but I think it would be possible.
    Last edited by AceInfinity; 05-02-2012 at 07:27 PM.
    Automation Programmer
    Microsoft MVP [2012 - 2018]

  10. #10
    GZ's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,923
    • specs System Specs
      • Manufacturer:
        GZ Technologies LLC
      • Model Number:
        Phenom-INAL
      • Motherboard:
        ASUS M5A97-EVO
      • CPU:
        AMD PhenomII x6 (1100T)
      • Memory:
        16GB Kingston Hyper-X blu PC3-12800
      • Graphics:
        XFX Radeon HD6770
      • Sound Card:
        Realtek ALC892
      • Hard Drives:
        500GB WD Caviar Black / 1TB WD Caviar Black / 1TB Seagate / 500GB Hitachi
      • Disk Drives:
        HP DVD 1270i SATA DVD RW
      • Power Supply:
        Corsair 850TX
      • Case:
        Antec 300
      • Cooling:
        Coolermaster V8 / 2x 12CM intake / 1x 12CM rear exhaust / 1x 14CM top exhaust
      • Display:
        Acer 23in 1920x1080 / Acer 20in
      • Operating System:
        Microsoft Windows 8 Professional x64

    Re: DOSBeep - New Experimental Application

    Yeah... I downloaded it... It didn't work as I had hoped! Each instance, rather than playing back it's own tones, just interfered with the other open instances...

    Oh well... It was fun anyhow!

    "Among the tales of sorrow and of ruin that come down to us from the darkness of those days there are yet some in which amid weeping there is joy and under the shadow of death light that endures."

    J.R.R. Tolkien - The Silmarillion

  11. #11
    AceInfinity's Avatar
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,725

    Re: DOSBeep - New Experimental Application

    That would be an internal limitation of the kernel32.dll system beep process. I don't think it allows you to make more than one single call to the function that way. I had thought of doing this myself though in the beginning though to for curiosity, so in the beginning I was trying to play chords, and I had several textboxes playing at a single time, on multiple threads, but it seemed to be playing them in sequential order anyways. Perhaps the next thing to try would be parallel processing with CPU cores? Fooling around with affinity. I'd developed a previous application to read the bits to determine which CPU cores to use and how many are available as well, it's basically like a bunch of switches. You may have them turned on in a way something like this 0001, or 1111, or 0101, 1100, etc... This all tells you which cores are being used and which aren't, I would arrange it in a way to be using 0001, 0010, 0100, 1000 for each beep being called from kernel32.dll, and may have better luck!

    As threading does have it's limitations as well, I think this would be the best bet, but it means it's a limitation of how many cores are available for your computer to use as well, whether that's 2, 4, 6, or even 8 for example. I have 4 to test with currently.

    I had noticed while playing beeps FAST enough, that even at a current speed it would sometimes lag finishing and disposing of the last call to create a beep with a certain frequency, so there must be something in the kernel32.dll which queue's the calls, meaning we may or may not have better luck calling it from different CPU's cores.
    Last edited by AceInfinity; 05-02-2012 at 07:34 PM.
    Automation Programmer
    Microsoft MVP [2012 - 2018]

  12. #12
    GZ's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,923
    • specs System Specs
      • Manufacturer:
        GZ Technologies LLC
      • Model Number:
        Phenom-INAL
      • Motherboard:
        ASUS M5A97-EVO
      • CPU:
        AMD PhenomII x6 (1100T)
      • Memory:
        16GB Kingston Hyper-X blu PC3-12800
      • Graphics:
        XFX Radeon HD6770
      • Sound Card:
        Realtek ALC892
      • Hard Drives:
        500GB WD Caviar Black / 1TB WD Caviar Black / 1TB Seagate / 500GB Hitachi
      • Disk Drives:
        HP DVD 1270i SATA DVD RW
      • Power Supply:
        Corsair 850TX
      • Case:
        Antec 300
      • Cooling:
        Coolermaster V8 / 2x 12CM intake / 1x 12CM rear exhaust / 1x 14CM top exhaust
      • Display:
        Acer 23in 1920x1080 / Acer 20in
      • Operating System:
        Microsoft Windows 8 Professional x64

    Re: DOSBeep - New Experimental Application

    I have 6... I opened that many instancess...

    But wouldn't the call go over the same interrupt??? That would keep the beeps playing in sequential order...

    "Among the tales of sorrow and of ruin that come down to us from the darkness of those days there are yet some in which amid weeping there is joy and under the shadow of death light that endures."

    J.R.R. Tolkien - The Silmarillion

  13. #13
    AceInfinity's Avatar
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,725

    Re: DOSBeep - New Experimental Application

    I edited my last post with a bit more information. It would be up for testing, or dll investigation to see what actually happens when a call is made to create the beep from the system.
    Automation Programmer
    Microsoft MVP [2012 - 2018]

  14. #14
    GZ's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,923
    • specs System Specs
      • Manufacturer:
        GZ Technologies LLC
      • Model Number:
        Phenom-INAL
      • Motherboard:
        ASUS M5A97-EVO
      • CPU:
        AMD PhenomII x6 (1100T)
      • Memory:
        16GB Kingston Hyper-X blu PC3-12800
      • Graphics:
        XFX Radeon HD6770
      • Sound Card:
        Realtek ALC892
      • Hard Drives:
        500GB WD Caviar Black / 1TB WD Caviar Black / 1TB Seagate / 500GB Hitachi
      • Disk Drives:
        HP DVD 1270i SATA DVD RW
      • Power Supply:
        Corsair 850TX
      • Case:
        Antec 300
      • Cooling:
        Coolermaster V8 / 2x 12CM intake / 1x 12CM rear exhaust / 1x 14CM top exhaust
      • Display:
        Acer 23in 1920x1080 / Acer 20in
      • Operating System:
        Microsoft Windows 8 Professional x64

    Re: DOSBeep - New Experimental Application

    Well... You could remove the call to kernel.dll altogether... create a library of the beeps and associate each character with it's beep in the library...

    Well, that's how I (worse than noob) thinks it should work!

    "Among the tales of sorrow and of ruin that come down to us from the darkness of those days there are yet some in which amid weeping there is joy and under the shadow of death light that endures."

    J.R.R. Tolkien - The Silmarillion

  15. #15
    AceInfinity's Avatar
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,725

    Re: DOSBeep - New Experimental Application

    You could remove the call to kernel.dll altogether
    Could, but then I would have to find an alternative beep, which is separate from the built in system beep function.

    create a library of the beeps
    As a bunch of frequencies in wav/mp3 format for example? Could increase the filesize quite dramatically, and the range of frequencies for beeps would be limited unless I had a way to increase the pitch myself, but then I'd go with only one embedded sound file.

    associate each character with it's beep in the library
    There's 1000's of unicode characters, in which case my current application doesn't even have to "know" all of which, just how to convert it to a unicode value. To personally do that could take some time...

    For the way my application is now anyways, it's much better, however, if adapted i'm sure I can figure something out, haven't had time to play with anything all day though, and it's about 3AM here now, my week as mentioned someplace else on this forum is swamped with things to do lol, I need to be on a sugar high everyday just so that I don't slow down lol. Otherwise i'll never get done the things I need to do in my personal life, letalone even online. I hate it though, can't stand having a lack of time
    Automation Programmer
    Microsoft MVP [2012 - 2018]

  16. #16
    GZ's Avatar
    Join Date
    Apr 2012
    Location
    New Jersey
    Posts
    1,923
    • specs System Specs
      • Manufacturer:
        GZ Technologies LLC
      • Model Number:
        Phenom-INAL
      • Motherboard:
        ASUS M5A97-EVO
      • CPU:
        AMD PhenomII x6 (1100T)
      • Memory:
        16GB Kingston Hyper-X blu PC3-12800
      • Graphics:
        XFX Radeon HD6770
      • Sound Card:
        Realtek ALC892
      • Hard Drives:
        500GB WD Caviar Black / 1TB WD Caviar Black / 1TB Seagate / 500GB Hitachi
      • Disk Drives:
        HP DVD 1270i SATA DVD RW
      • Power Supply:
        Corsair 850TX
      • Case:
        Antec 300
      • Cooling:
        Coolermaster V8 / 2x 12CM intake / 1x 12CM rear exhaust / 1x 14CM top exhaust
      • Display:
        Acer 23in 1920x1080 / Acer 20in
      • Operating System:
        Microsoft Windows 8 Professional x64

    Re: DOSBeep - New Experimental Application

    Trust me, I know what you mean! It's 5:30am and I just completed my 3rd Fedora install of the night... I broke the first two installs by messing around with configuration files!

    "Among the tales of sorrow and of ruin that come down to us from the darkness of those days there are yet some in which amid weeping there is joy and under the shadow of death light that endures."

    J.R.R. Tolkien - The Silmarillion

  17. #17
    AceInfinity's Avatar
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    1,725

    Re: DOSBeep - New Experimental Application

    Curiosity strikes again? haha :)
    Automation Programmer
    Microsoft MVP [2012 - 2018]

Similar Threads

  1. [C#] MessageBox Notification In Console Application
    By AceInfinity in forum Programming
    Replies: 3
    Last Post: 08-10-2015, 01:11 AM
  2. TortoiseSVN Application Lifecycle Control
    By AceInfinity in forum Programming
    Replies: 2
    Last Post: 03-09-2013, 04:55 PM
  3. BSOD caused DirectX 9 application
    By noxz in forum BSOD, Crashes, Kernel Debugging
    Replies: 1
    Last Post: 10-15-2012, 05:00 PM
  4. CleanUp MsConfig Application List [How To]
    By JMH in forum News You Can Use
    Replies: 0
    Last Post: 06-07-2012, 04:10 PM

Log in

Log in