Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating phrases with Python Wizard #42

Open
Lateralleap opened this issue Jun 19, 2023 · 0 comments
Open

Generating phrases with Python Wizard #42

Lateralleap opened this issue Jun 19, 2023 · 0 comments

Comments

@Lateralleap
Copy link

Lateralleap commented Jun 19, 2023

I believe I followed the instructions correctly for installing and running the wizard gui

When I run it, it seems to ignore the "-f arduino" parameter and starts in python format. I then change it manually to arduino format

I record a .wav file using Microsoft Sound Recorder in medium (lowest) quality mode

When I load the .wav file with the gui, it generates a byte sequence

However when I copy that sequence into a sketch that is successfully synthesising text from the large vocab example, all i get is a high pitch squeak for the new phrase I recorded

Here is the byte stream it generated:

{0xC8,0x5B,0xE1,0x6E,0xA6,0xA2,0xD0,0x0B,0x36,0x3C,0xCC,0x65,0xA1,0x1F,0x8C,0x47,0x98,0xCA,0x06,0x00,0x00,0x40,0xD0,0x9B,0x8C,0x70,0x93,0x8D,0xBE,0xB7,0xE1,0x69,0x2E,0x1B,0xC1,0x98,0x3C,0xD3,0xDC,0x32,0x81,0x31,0x7A,0x97,0x45,0x69,0xA7,0xCC,0xB3,0xF2,0x2A,0x7B,0x41,0x99,0x63,0x99,0x5D,0xF6,0x93,0xB6,0x23,0xC2,0xB2,0xA3,0x07,0xED,0x62,0xA6,0x85,0x97,0x4D,0xDA,0xB5,0x70,0x8B,0x8A,0x9B,0xB4,0x6D,0x9A,0x5E,0x9D,0x3A,0x19,0xDB,0xA4,0xCA,0xB7,0x89,0xB3,0x66,0x70,0xA5,0x4F,0x5D,0xE3,0xD4,0xB4,0x28,0x8F,0x73,0xC6,0xC9,0x1E,0x56,0xA5,0x57,0x9C,0x53,0x47,0xAD,0xCB,0xAB,0xB8,0xAF,0x97,0x46,0x77,0x54,0x71,0x5F,0x4F,0xCB,0x9E,0x0C,0xEB,0x82,0x1E,0x5E,0xD5,0x1D,0xD6,0x04,0xDD,0xBC,0xA2,0xD6,0xAC,0x0A,0xBA,0x5A,0x46,0x8D,0x59,0x17,0x4C,0xD2,0xCA,0xAE,0x24,0xCE,0xBB,0xCC,0xD9,0x55,0x51,0x8C,0x73,0x89,0x72,0xB2,0x23,0x33,0x67,0x02,0xE7,0x67,0x5B,0x46,0xD7,0x25,0x8E,0x89,0xB1,0x8C,0xA0,0x8F,0xEA,0xED,0x65,0x07,0x39,0xDB,0x2A,0x52,0x2D,0x09,0x6A,0x2E,0x6E,0x59,0xAA,0x63,0x14,0x93,0xAE,0x0A,0x53,0xD9,0x08,0x34,0x51,0x89,0x40,0x15,0x91,0x08,0x54,0x17,0x86,0x40,0x36,0x61,0x28,0x79,0xED,0x91,0xAA,0xB2,0x00,0x41,0x6F,0xDC,0xDB,0xC2,0x0E,0x82,0xA9,0xA9,0x9B,0xB5,0x65,0x01,0x63,0xA3,0xF0,0x2C,0x2B,0xC2,0xF8,0x40,0x19,0x55,0x51,0x99,0x75,0x81,0x22,0xAA,0xC2,0x22,0x60,0x2D,0x27,0x02,0xD1,0xB9,0x23,0x18,0x43,0x7A,0xBA,0xCB,0x41,0x37,0xB9,0xF4,0xC8,0x90,0x8D,0x40,0xB3,0x5E,0x68,0x64,0x13,0x19,0x61,0xB6,0xD1,0x4D,0x3A,0x22,0x5D,0x65,0x23,0x50,0x7C,0x38,0x7B,0xCE,0xBB,0x85,0x7B,0x2C,0x65,0x54,0xB0,0xEE,0x8C,0x18,0xCA,0x88,0x12,0x93,0xE9,0x36,0x95,0x91,0x5D,0x27,0x3A,0x23,0x29,0xA3,0x3A,0x77,0x4E,0xC4,0x32,0x46,0x57,0xA9,0xAA,0xA8,0x6C,0xB4,0x2B,0x9C,0x9D,0x3E,0xD9,0xE8,0x38,0x55,0x33,0x6C,0x8C,0xD2,0xC1,0x99,0xE6,0x5A,0x25,0xA1,0x83,0x75,0xD1,0xD7,0xA8,0x42,0x3B,0x16,0x96,0xE3,0x76,0x94,0x72,0xD9,0x22,0xBC,0x22,0x3B,0xE3,0x86,0x36,0x77,0xD9,0x09,0xC6,0x6E,0x6F,0xF1,0xB2,0x16,0x8C,0x5D,0x59,0xAE,0x51,0x36,0x18,0xBB,0xC3,0xDD,0xB2,0x9C,0x33,0x36,0xB9,0xB5,0x47,0x1C,0x67,0x43,0x51,0x8F,0xB0,0xAA,0x4A,0x45,0xEF,0xE6,0x61,0x49,0x18,0x28,0x3A,0x9D,0x80,0x66,0xD3,0x11,0xA8,0x2A,0x0D,0xC1,0x24,0xC3,0xC3,0x5D,0x36,0x2B,0x59,0x57,0x64,0xBA,0x1A,0x06,0x9A,0xE8,0x60,0xD1,0xA8,0x90,0x8C,0x8C,0x4C,0x92,0xD0,0x11,0xED,0x65,0x0B,0x5D,0x66,0x32,0x32,0x43,0x36,0xB2,0xCC,0x46,0x54,0xA4,0x23,0x61,0xBC,0x65,0xCB,0x89,0x22,0xC2,0xC6,0x40,0x1A,0x93,0x45,0x85,0x8B,0x0E,0xB5,0x2E,0x82,0x32,0xEF,0x14,0xC5,0x6E,0x98,0x41,0x26,0x08,0xB6,0xDC,0x70,0x8C,0x8C,0x97,0x12,0x59,0x9A,0x04,0x81,0xA6,0x35,0x08,0x18,0x39,0x83,0x81,0xD1,0x26,0x19,0x68,0x63,0x9C,0x80,0xD2,0xC2,0x08,0xF0,0x8E,0x95,0x24,0x97,0xC8,0xA2,0x33,0x16,0xC9,0x3E,0xB3,0x7A,0x7B,0x2D,0x94,0x8D,0xE7,0xEC,0x89,0x1A,0xA8,0x28,0xAF,0xD5,0x95,0x91,0x50,0x36,0x4E,0x3D,0x22,0x62,0x23,0xE2,0x9D,0xBB,0x9A,0xD9,0x46,0x60,0x32,0x2B,0x04,0x06,0xF3,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0xB3,0xF4,0xC8,0x70,0x99,0x08,0x46,0x15,0x11,0xEE,0xB2,0x00,0x00,0xC1,0x2C,0x3D,0xDA,0x4C,0x01,0x3C,0x10,0x75};

I then trie using Auacity. I set it for mono recording and experimented with different audio settings but still just got garbled audio

Any ideas?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant