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. The Lounge
  3. How do I debug my hubby?

How do I debug my hubby?

Scheduled Pinned Locked Moved The Lounge
questiondebugging
26 Posts 16 Posters 4 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.
  • honey the codewitchH honey the codewitch

    Meh, I'm irked because I'm in the middle of a project, right on the cusp of making it do something fantastic and I can't work on my code because my code is very ... loud, and hubby is sleeping. He can sleep for 12 hours at a stretch. My loud code does not want to wait. My little 8 bit speaker is eager to sound like a metal garbage can being dragged down a gravel road. For some reason he gets mad when that wakes him up. I don't understand it. :rolleyes:

    To err is human. Fortune favors the monsters.

    D Offline
    D Offline
    Daniel Pfeffer
    wrote on last edited by
    #7

    I doubt that you'll find many people here that know anything about debugging people. :-\ More to the point, can't you connect the speaker output to an oscilloscope, and see whether the output appears to be OK (turns on when expected, etc.)?

    Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

    honey the codewitchH 1 Reply Last reply
    0
    • D Daniel Pfeffer

      I doubt that you'll find many people here that know anything about debugging people. :-\ More to the point, can't you connect the speaker output to an oscilloscope, and see whether the output appears to be OK (turns on when expected, etc.)?

      Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

      honey the codewitchH Offline
      honey the codewitchH Offline
      honey the codewitch
      wrote on last edited by
      #8

      I can't really do that because it would be too hard to compare the downsampled and 2-channel down to 1-channel mix waveform with the original. Even if I preconverted the wav, it would go by too fast for me to do a real comparison, and to record it all and go over it would be laborious as heck.

      To err is human. Fortune favors the monsters.

      Mike HankeyM 1 Reply Last reply
      0
      • J jeron1

        honey the codewitch wrote:

        He can sleep for 12 hours at a stretch.

        I'm jealous, I'm lucky with 2 hours at a stretch. :(

        "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

        honey the codewitchH Offline
        honey the codewitchH Offline
        honey the codewitch
        wrote on last edited by
        #9

        I'm used to 4, so I'm jealous as well.

        To err is human. Fortune favors the monsters.

        1 Reply Last reply
        0
        • honey the codewitchH honey the codewitch

          The speaker is unamped so it probably wouldn't drive any kind of headphone - maybe one of those old in-ear monophonic pillow speakers or something but I don't even know where to find those now.

          To err is human. Fortune favors the monsters.

          raddevusR Offline
          raddevusR Offline
          raddevus
          wrote on last edited by
          #10

          Replace the speaker with an LED, then it'll just blink. Manager: It _shouldn't_ be difficult, right? :rolleyes:

          honey the codewitchH 1 Reply Last reply
          0
          • raddevusR raddevus

            Replace the speaker with an LED, then it'll just blink. Manager: It _shouldn't_ be difficult, right? :rolleyes:

            honey the codewitchH Offline
            honey the codewitchH Offline
            honey the codewitch
            wrote on last edited by
            #11

            Yeah, but I need to make sure it's reproducing the original sound, however badly. A little difficult to do by pulsing an LED. =)

            To err is human. Fortune favors the monsters.

            1 Reply Last reply
            0
            • honey the codewitchH honey the codewitch

              I can't really do that because it would be too hard to compare the downsampled and 2-channel down to 1-channel mix waveform with the original. Even if I preconverted the wav, it would go by too fast for me to do a real comparison, and to record it all and go over it would be laborious as heck.

              To err is human. Fortune favors the monsters.

              Mike HankeyM Offline
              Mike HankeyM Offline
              Mike Hankey
              wrote on last edited by
              #12

              I wonder if Audacity [^] would be helpful?

              The most expensive tool is a cheap tool. Gareth Branwyn JaxCoder.com

              1 Reply Last reply
              0
              • honey the codewitchH honey the codewitch

                Meh, I'm irked because I'm in the middle of a project, right on the cusp of making it do something fantastic and I can't work on my code because my code is very ... loud, and hubby is sleeping. He can sleep for 12 hours at a stretch. My loud code does not want to wait. My little 8 bit speaker is eager to sound like a metal garbage can being dragged down a gravel road. For some reason he gets mad when that wakes him up. I don't understand it. :rolleyes:

                To err is human. Fortune favors the monsters.

                abmvA Offline
                abmvA Offline
                abmv
                wrote on last edited by
                #13

                use a headphone

                Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

                We are in the beginning of a mass extinction. - Greta Thunberg

                honey the codewitchH 1 Reply Last reply
                0
                • abmvA abmv

                  use a headphone

                  Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

                  honey the codewitchH Offline
                  honey the codewitchH Offline
                  honey the codewitch
                  wrote on last edited by
                  #14

                  I can't without physically dismantling the device and modifying it.

                  To err is human. Fortune favors the monsters.

                  abmvA J 2 Replies Last reply
                  0
                  • honey the codewitchH honey the codewitch

                    The speaker is unamped so it probably wouldn't drive any kind of headphone - maybe one of those old in-ear monophonic pillow speakers or something but I don't even know where to find those now.

                    To err is human. Fortune favors the monsters.

                    J Offline
                    J Offline
                    jmaida
                    wrote on last edited by
                    #15

                    use Piezo Electric Crystal Earphone Sensitive High Impedance Ceramic Ear Piece 3.5mm for Transistor Radio/Crystal Radios DIY Electronics Projects 1/8 inch Audio Jack Connector Wire Piezoelectric Element or equivalent

                    "A little time, a little trouble, your better day" Badfinger

                    1 Reply Last reply
                    0
                    • honey the codewitchH honey the codewitch

                      I can't without physically dismantling the device and modifying it.

                      To err is human. Fortune favors the monsters.

                      abmvA Offline
                      abmvA Offline
                      abmv
                      wrote on last edited by
                      #16

                      u could get a cheap headphone and get the signal to it

                      Caveat Emptor. "Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long

                      We are in the beginning of a mass extinction. - Greta Thunberg

                      1 Reply Last reply
                      0
                      • honey the codewitchH honey the codewitch

                        The speaker is unamped so it probably wouldn't drive any kind of headphone - maybe one of those old in-ear monophonic pillow speakers or something but I don't even know where to find those now.

                        To err is human. Fortune favors the monsters.

                        B Offline
                        B Offline
                        BernardIE5317
                        wrote on last edited by
                        #17

                        Schiit Audio: Audio Products Designed and Built in California and Texas[^]

                        honey the codewitchH 1 Reply Last reply
                        0
                        • B BernardIE5317

                          Schiit Audio: Audio Products Designed and Built in California and Texas[^]

                          honey the codewitchH Offline
                          honey the codewitchH Offline
                          honey the codewitch
                          wrote on last edited by
                          #18

                          Awesome. Now how do I connect it to this? M5 Stack Fire[^]

                          To err is human. Fortune favors the monsters.

                          B J 2 Replies Last reply
                          0
                          • honey the codewitchH honey the codewitch

                            Awesome. Now how do I connect it to this? M5 Stack Fire[^]

                            To err is human. Fortune favors the monsters.

                            B Offline
                            B Offline
                            BernardIE5317
                            wrote on last edited by
                            #19

                            Sorry not a clue other than breaking into the Fire thingamajig box and bypass the speaker but of course you already know that.

                            1 Reply Last reply
                            0
                            • honey the codewitchH honey the codewitch

                              Awesome. Now how do I connect it to this? M5 Stack Fire[^]

                              To err is human. Fortune favors the monsters.

                              J Offline
                              J Offline
                              jmaida
                              wrote on last edited by
                              #20

                              Piezo Electric Crystal Earphone Sensitive High Impedance Ceramic Ear Piece 3.5mm for Transistor Radio/Crystal Radios DIY Electronics Projects 1/8 inch Audio Jack Connector Wire Piezoelectric Element or equivalent To connect to speaker Fancasee (4 Pack) 3.5mm Replacement Repair Jack TS 2 Pole Mono Female Jack Plug 1/8" 3.5mm Solder Type DIY Audio Cable Connector for Audio Cable Repair All for about $15 on amazon

                              "A little time, a little trouble, your better day" Badfinger

                              1 Reply Last reply
                              0
                              • honey the codewitchH honey the codewitch

                                I can't without physically dismantling the device and modifying it.

                                To err is human. Fortune favors the monsters.

                                J Offline
                                J Offline
                                jmaida
                                wrote on last edited by
                                #21

                                Repeat in case you missed it, You can wire this jack directly to speak wires if you can get to them. Piezo Electric Crystal Earphone Sensitive High Impedance Ceramic Ear Piece 3.5mm for Transistor Radio/Crystal Radios DIY Electronics Projects 1/8 inch Audio Jack Connector Wire Piezoelectric Element or equivalent To connect to speaker Fancasee (4 Pack) 3.5mm Replacement Repair Jack TS 2 Pole Mono Female Jack Plug 1/8" 3.5mm Solder Type DIY Audio Cable Connector for Audio Cable Repair All for about $15 on amazon

                                "A little time, a little trouble, your better day" Badfinger

                                1 Reply Last reply
                                0
                                • honey the codewitchH honey the codewitch

                                  Meh, I'm irked because I'm in the middle of a project, right on the cusp of making it do something fantastic and I can't work on my code because my code is very ... loud, and hubby is sleeping. He can sleep for 12 hours at a stretch. My loud code does not want to wait. My little 8 bit speaker is eager to sound like a metal garbage can being dragged down a gravel road. For some reason he gets mad when that wakes him up. I don't understand it. :rolleyes:

                                  To err is human. Fortune favors the monsters.

                                  E Offline
                                  E Offline
                                  englebart
                                  wrote on last edited by
                                  #22

                                  Don’t debug, plug! Buy some of the foam ear plugs you use for yard work and shooting. 25 cents/ pair Put them in your ears so you don’t hear him complain. Seriously, if installed correctly then he will sleep through it. Cotton balls are almost as good

                                  1 Reply Last reply
                                  0
                                  • honey the codewitchH honey the codewitch

                                    Meh, I'm irked because I'm in the middle of a project, right on the cusp of making it do something fantastic and I can't work on my code because my code is very ... loud, and hubby is sleeping. He can sleep for 12 hours at a stretch. My loud code does not want to wait. My little 8 bit speaker is eager to sound like a metal garbage can being dragged down a gravel road. For some reason he gets mad when that wakes him up. I don't understand it. :rolleyes:

                                    To err is human. Fortune favors the monsters.

                                    F Offline
                                    F Offline
                                    Franc Morales
                                    wrote on last edited by
                                    #23

                                    Earphones for you, earplugs for him.

                                    1 Reply Last reply
                                    0
                                    • honey the codewitchH honey the codewitch

                                      Meh, I'm irked because I'm in the middle of a project, right on the cusp of making it do something fantastic and I can't work on my code because my code is very ... loud, and hubby is sleeping. He can sleep for 12 hours at a stretch. My loud code does not want to wait. My little 8 bit speaker is eager to sound like a metal garbage can being dragged down a gravel road. For some reason he gets mad when that wakes him up. I don't understand it. :rolleyes:

                                      To err is human. Fortune favors the monsters.

                                      O Offline
                                      O Offline
                                      obermd
                                      wrote on last edited by
                                      #24

                                      Ah! Finally the wife's view. There are tons of jokes about upgrading wives and girlfriends but very few about husbands and boyfriends. ;P

                                      1 Reply Last reply
                                      0
                                      • honey the codewitchH honey the codewitch

                                        Meh, I'm irked because I'm in the middle of a project, right on the cusp of making it do something fantastic and I can't work on my code because my code is very ... loud, and hubby is sleeping. He can sleep for 12 hours at a stretch. My loud code does not want to wait. My little 8 bit speaker is eager to sound like a metal garbage can being dragged down a gravel road. For some reason he gets mad when that wakes him up. I don't understand it. :rolleyes:

                                        To err is human. Fortune favors the monsters.

                                        L Offline
                                        L Offline
                                        Luc Pattyn
                                        wrote on last edited by
                                        #25

                                        Drop the noisy hardware: Remove the speaker, let an ES32 capture the audio signal and stream it to shazam. They'll let you know if it is any good. :)

                                        Luc Pattyn [My Articles] The Windows 11 "taskbar" is a disgrace. It should be at the left of the screen, with real icons, with text, with progress, etc. So I declined the "upgrade" to Abomination 11. I can only hope they will continue to honor my choice...

                                        1 Reply Last reply
                                        0
                                        • honey the codewitchH honey the codewitch

                                          Meh, I'm irked because I'm in the middle of a project, right on the cusp of making it do something fantastic and I can't work on my code because my code is very ... loud, and hubby is sleeping. He can sleep for 12 hours at a stretch. My loud code does not want to wait. My little 8 bit speaker is eager to sound like a metal garbage can being dragged down a gravel road. For some reason he gets mad when that wakes him up. I don't understand it. :rolleyes:

                                          To err is human. Fortune favors the monsters.

                                          C Offline
                                          C Offline
                                          CodeZombie62
                                          wrote on last edited by
                                          #26

                                          12 hours of sleep reminds me of something that happened a few years back. I have sleep apnea and use a cpap machine to help me sleep. It records some info about how I’m sleeping onto an SD card that I take to the doctor and her staff would import the data into their computer. So I met with her and she said that it was showing that I was sleeping 12 hours per night. I said “no way”. I have never slept anywhere near 12 hours. She said “computers don’t lie.” She started to step to get one of her staff and I happened to look at the screen and saw that she had pulled up someone else’s record so I stopped her before she got out of examination room and could make too big of a fool of herself.

                                          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