Grab the file Intro.bin from your Teddy Ruxpin's original files and save it as orig_Intro.bin. It is used as the basis for the modified (patched) story file.
Now, you have all the files needed to run earpatch from snxrom.git.
Back in your terminal window, type a command like:
python3 earpatch.py --wav Intro.wav --rhubarb-json mouth_intro.json orig_Intro.bin new_Intro.bin
A file called new_Intro.bin will be created. Rename this to Intro.bin and copy to your Teddy's NO_NAME/Books drive, replacing the existing Intro.bin file.
Eject Teddy and turn him off with the switch on his back. Unplug the USB cable and turn him on again. Your new Intro file will play in place of the original intro.
Do the same with Story01.bin, Story02.bin and Story03.bin. If the mouth movements don't quite match up to your liking, head back to the Mouth Movement page of this guide for instructions on how to edit the mouth.json files, then create another .bin file using the edited .json file.
File "/Users/erin/Rhubarb/earpatch.py", line 109, in earpatch assert wav_params.framerate in (16000, 32000) AssertionError
This is telling me that my .wav file is formatted incorrectly. The script needs a 16-bit WAV file and my framerate is too high. Try again using our sample Audacity project on the previous page of this guide. If that one works, try opening your audio file into the same Audacity project and export it using the existing settings.
Be sure you've named your new files to be exactly the same as Teddy's original files. Intro.bin is not the same as intro.bin -- make sure the name and case match exactly.
Text editor powered by tinymce.