How do I debug my hubby?
-
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.
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.
-
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.
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.
-
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
I'm used to 4, so I'm jealous as well.
To err is human. Fortune favors the monsters.
-
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.
-
Replace the speaker with an LED, then it'll just blink. Manager: It _shouldn't_ be difficult, right? :rolleyes:
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.
-
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.
I wonder if Audacity [^] would be helpful?
The most expensive tool is a cheap tool. Gareth Branwyn JaxCoder.com
-
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.
-
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
I can't without physically dismantling the device and modifying it.
To err is human. Fortune favors the monsters.
-
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.
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
-
I can't without physically dismantling the device and modifying it.
To err is human. Fortune favors the monsters.
-
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.
-
Awesome. Now how do I connect it to this? M5 Stack Fire[^]
To err is human. Fortune favors the monsters.
-
Awesome. Now how do I connect it to this? M5 Stack Fire[^]
To err is human. Fortune favors the monsters.
Sorry not a clue other than breaking into the Fire thingamajig box and bypass the speaker but of course you already know that.
-
Awesome. Now how do I connect it to this? M5 Stack Fire[^]
To err is human. Fortune favors the monsters.
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
-
I can't without physically dismantling the device and modifying it.
To err is human. Fortune favors the monsters.
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
-
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.
-
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.
Earphones for you, earplugs for him.
-
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.
-
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.
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...
-
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.
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.