
Trying To Figure Out A Weird POP At The Start And End Of Sound Files.
After I installed a computer onboard the B9 robot and connected the three controller EZB's directly to the computer from the EZB's Camera Port using serial TX/RX data lines to the computer's USB ports, I noticed that every sound file has a pop at the start and end of the file.
I didn't have this issue when the EZB was connected over WIFI to the control computer running Synthiam's ARC.
It's not the file as it plays just fine through other devices. I read that a fix to this issue was to add silence to the beginning and end of the file with a audio editing program. I tried this with no luck. I did a ton of troubleshooting, Among the long list was taking components out of the system to eliminate anything that may be causing this and by breaking the sound system down to as basic as I could. Still after all this I still had the pops. I got it down to sending the sound file directly from the computer through its USB port, using serial converter cable and into the EZB, then out to a speaker.
I tried playing the sound files through two other EZB's mounted on the robot and heard the pops in their small speakers. The EZB I usually play the files on I've modified the board to bypass it's internal amp and send the sound signal directly to the robot's sound system. This can't be the issue as I said, I still get the pops on the other two unmodified EZB's.
I did find out in my troubleshooting that I can play a file directly out of the computer's headphone jack (bypassing the EZB and it's direct serial/USB connection) and into my sound system without hearing the pops. To do this I use ARC's PC sound board and not the EZB soundboard. i could switch all my sound files over to the PC soundboard and direct connect the computer to the robot and use ARC's PC soundboard but I have hundreds of sound files and it would take forever. Besides, I'm the kinda guy who hates to walk away from something that not working right and a challenge. LOL.
Please watch the video for a better explanation and demo of all this. Does anyone have any ideas? Thanks in advance for watching and any advice. Sorry about the washed out quality of the video. I think I need to clean my lense. LOL.
It sounds like you're experiencing a challenging issue with the popping sound when using the EZ-B v4's audio output. Let's try to address this systematically:
Potential Causes and Solutions
Audio File Format and Quality:
Silence Padding:
Audio Output Configuration:
Ground Loop Issues:
Firmware and Software Updates:
Direct PC Soundboard Use:
Hardware Check:
Testing with Different Cables:
Steps to Use PC Soundboard Efficiently
If you decide to use the PC Soundboard as a workaround, here's a quick guide to streamline the process:
Batch Conversion:
Automate File Loading:
ControlCommand for Soundboard:
ControlCommand()
function in ARC to control the PC Soundboard. This allows you to play specific tracks programmatically.Additional Resources
If these suggestions don't resolve the issue, please feel free to provide more details or ask further questions. I'm here to help!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
@Athena,
Thanks for the advice. I have thoroughly tried each of your suggestions many time and in different ways in my troubleshooting efforts. It's good to have my efforts validated by your suggestions. The only suggestion you gave that I hadn't considered and that has been suggested by many other people I've asked for assistance is a possible ground issue.
I have three AC to DC power converters powering my robot with devices. motors and lights split between them. I spent a bunch of time today testing and making sure I didn't have any floating DC neutrals or grounds. I used a continuity tester to make sure all DC grounds (neutrals ) and the earth ground were connected. I actually did find that one of the power supplies powering the sound system was isolated and the DC neutral side was not tied to any of the other two power supplies DC neutrals or to the earth ground. Sadly when I tied it down to earth and made sure it had continuity with the others the popping issue did not go away.
Judging from all my testing and troubleshooting the issue lies somewhere in the connection between the computer and the EZB. I have tried different USB to Serial conversion cables, different EZB's and the popping doesn't stop. The fact that I can hook a sound cable directly from the computer headphone jack into my sound system (bypassing the EZB and it's direct serial connection) then play a file using ARC's PC soundboard with no popping tells me that my sound system is not the issue. I have not tried to switch back to a WIFI connection to see if the popping will stop. However before I mounted the computer on the robot and directly connected it to the EZB I was connecting over WIFI and didn't have this issue. I may try just for giggles.
However at this point I think I'm just going to reroute the sound system to the PC headphone jack and load all my sound files into PC sound boards. I have hundreds of sound files scattered over many EZB soundboards so it's going to be a chore. @Athena, you mentioned a script that could do the work for me. Could you write an example of a Javascript that could exactly copy the EZB sound board sound file entries into PC soundboards? Would I have to create the PC sound boards first?
Certainly! While there's no direct method to automatically transfer sound files from the EZB Soundboard to the PC Soundboard within ARC, you can use a script to help automate the process of loading sound files into the PC Soundboard. Here's a step-by-step guide and a sample JavaScript script to assist you:
Steps to Automate Sound File Loading
Organize Your Sound Files:
Create PC Soundboards:
Use JavaScript to Load Files:
Sample JavaScript Script
Here's a sample script that demonstrates how you might automate the loading of sound files into the PC Soundboard. This script assumes you have a list of file paths and that you've already created the necessary PC Soundboards in your ARC project.
Notes
soundFiles
array are correct and point to the actual location of your sound files."Soundboard PC 1"
with the actual name of your PC Soundboard in ARC. If you have multiple soundboards, you'll need to repeat the process for each one.Additional Considerations
This approach should help streamline the process of transferring your sound files to the PC Soundboard, reducing the manual effort required. If you have any further questions or need additional assistance, feel free to ask!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
Hi Dave,
I've watched your video (very good troubleshooting there all the way around) and I feel like I've ran into very similar issues with my Halloween robot Captain Sisco. I think all of Athena's advice is all good general troubleshooting, but you can see the difference in the video, and I believe you did rule all those suggestions out.
My only question that I haven't seen answered yet is - did the sound work at one point with the EZ-B soundboard and speaker system without the pops or this is the first go and just discovered the pops? Like, perhaps it worked with a previous version of ARC but the newest updated introduced the pops? Or it worked fine with a different EZ-B but with this one it pops?
With my Captain Sisco pirate robot, I got all sorts of pops at first using the EZ-B speaker output with an audio cable to an external powered speaker. What I had to do was fine tune the audio level slider of the EZ-B sound board in ARC (adjust it down) and adjust the powered speaker system to where it was louder (but not so loud it sounded like a muffled fast-food speaker from 1982). Once I found the sweet spot I had clean audio without the pops from the EZ-B.
Overall though I can't help but think the soundboard of the PC audio from ARC is probably more robust if you have an onboard PC available vs. the EZ-B soundboard.
Hi @JustinRatliff . Sorry for the late reply. I've been prepping for this hurricane that is approaching.
Anyway, to answer your question as best as I can; Actually in the past with other ARC versions (and before I mounted the computer on the robot and direct connected) I did have random pops. However for the most part, they were few and far between. Nothing as pronounced as now and that I showed in the video. Also I've been experimenting with the volume sliders on the EZB soundboard with no results. I've lowered the slider to below 10 and the pop stays. It only reduces in volume in proportion to the voice file volume. Adjusting my amp volume up as you mentioned only make the pop louder.
Also I have tried sending this sound file through two other EZB's and still can hear the POP in their small onboard speaker.
I'm really out of options and energy to keep working on this issue. The only things I haven't really done to troubleshoot is to rebuild a stand alone sound system outside of the robot to see if isolating the it helps. The other thing is to switch an EZB over to WIFI and test that way.
I'm kind of discouraged and frustrated that I can't get a sound file to play without that popping at the start and finish. I feel my only path forward to a clean voice is to directly connect my PC from the headphone out jack to the robots sound system amp. That has proven to work and sound nice. Once done, I'm going to have to re-load all my sound files I'm using into the different ARC PC soundboards needed.
Thanks again for reaching out with the thoughtful suggestions.
Dave, that's right, I forgot you are down there in Florida and there is another hurricane heading that way! Stay safe!!
I feel your frustration, I keep thinking about the audio playback and it sure seems like something in the hardware but darned if I can think of anything else to suggest.
I never was able to figure out why I had the loud Pop at the start and end of my sound files when running them through the EZB that I showed in the above video. I decided to go another way that actually works better.
As seen in Part 1, my last video (above), I had all sound files (along with all other robot control) running through a direct connection between the computer and the EZB via a USB to Serial converter cable.
After much testing and troubleshooting I came to believe that the sound Popping problem lies in that connection somewhere. All other control of the robot works great. As I demonstrated in the above video, I show I can move the robot's sound system patch cord from the EZB to the Headphone Out Jack of the computer, move sound files into an ARC PC (digital) Soundboard Skill from the EZB Soundboard and when played the Pop goes away.
This video, Part 2, shows how all that worked out. As a treat I also show some of the response and animation I can get from the robot using my main form of control, voice recognition. Enjoy!
I'll try this again, as my last post didn't go through.
I might end up contacting EZ-Robot about this issue, but I thought I'd consult some of the experts here first.
For the past few months, my EZ-B v4 has been making a ticking sound, similar to a fast clock. It's not very loud, but it can be heard from about 2 feet away from the robot. The ticking occurs approximately 2 or 3 times per second.
Does anyone have any idea what might be causing this? Could it be a component on one of the boards that's about to fail? Whatever the cause, I suspect a new EZ-B might be in my robot's future.
Hello Dave,
The ticking sound you're experiencing with your EZ-B v4 could be due to a few different factors. Here are some possibilities and steps you can take to diagnose the issue:
Power Supply: Ensure that the power supply to the EZ-B v4 is stable and within the recommended voltage range. An unstable power supply can sometimes cause components to behave erratically.
Servo Noise: If you have servos connected to the EZ-B, they might be causing the ticking sound. Disconnect the servos one by one to see if the noise stops. Sometimes, servos can make a ticking noise if they are under strain or if there is a signal issue.
Loose Connections: Check all connections to the EZ-B, including any connected peripherals. A loose connection might cause intermittent electrical contact, leading to a ticking sound.
Component Issue: It's possible that a component on the board is failing. Inspect the board for any visible signs of damage, such as burnt components or swollen capacitors.
Firmware Update: Ensure that your EZ-B v4 is running the latest firmware. Sometimes, firmware updates can resolve unexpected behavior.
Environmental Factors: Consider any environmental factors that might be affecting the EZ-B, such as temperature or humidity, which could impact the board's performance.
If none of these steps resolve the issue, it might be worth considering a replacement or contacting EZ-Robot for further assistance. However, before doing so, you could try resetting the EZ-B to its factory settings to see if that resolves the issue.
If you have any further questions or need additional assistance, feel free to ask!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
As Synthiam does not manufacture the EZ-Robot EZB v4 controller, we cannot diagnose hardware issues. However, the audible ticking you hear is related to signal noise, most likely from the WiFi or digital power supply. We are sure that ez-robot has performed as much optimization as possible for such a small form factor of the EZB v4. While the EZB v4 is a great little robot controller, you may have reached its usage limit. That being said, having an onboard computer means you can access the PC soundcard. The PC soundcard has a higher bitrate, resulting in a fuller sound because of the more extensive frequency range available to the audio samples. If you have an onboard computer, we recommend using the PC's built-in sound card rather than the EZB v4.
Lastly, contacting EZ-Robot may provide more information about locating the EZB away from radio signals, antennas, power wires, servos, DC motors, controllers, etc., or even shielding the EZB v4 if the wifi is not used.
I know the tick you're talking about. I get it most when there's Wi-Fi around the Ezb V4. Also, my iPhone makes it tick when I get a text message when it's near. It does the same thing to my computer speakers when my iPhone receives a text. I remember Jeremie fighting with the signal noise in the past. Support is correct, though; using the PC soundcard for an embedded pc is the best way to go because you'll get higher fidelity and more depth to the sound.
I'm not sure how this thread got attached to the thread I started about my robot's main sound system pop issue that I had a few months ago. This noise is entirely different then that.
To clarify, To solve the Popping issue I did switch the sound delivery method to the robots main sound system from the EZB to the PC's sound card. The sound is now going through the headphone out jack of the PC to my robot's sound amp.
This ticking sound is not coming through my main sound system or when a sound file plays. It's a constant tick and it's coming directly from the EZB itself. However CS ad @DJ does bring up a good point. It could be coming from this EZB's little speaker. So, I'll look for anything that could cause interference. If I cant find any I'll probably swap out the EZB and see if it stops then.
Thanks for the help and suggestions.
I think the system detected the similar post content that you made. It links posts based on subject to avoid redundancy