Live data from Hacker News

I made a talking emoji using regular emojis and JavaScript

hackernoon.com

41–50 of 63 posts

Re: I made a talking emoji using regular emojis and JavaScript

#41

Good God, copy-pasting emoji in production code is now a thing. Damn you, millennials, damn you to code maintenance Hell!

Your editor can't type emoji?

ycombinator can't:

There should be emoji after the colon, I can type them fine in Chrome. Truth be told, they would make up great return values, making yourself indispensable to your employer.

Re: I made a talking emoji using regular emojis and JavaScript

#42

Earlier quoted context omitted.

Your editor can't type emoji?

ycombinator can't: There should be emoji after the colon, I can type them fine in Chrome. Truth be told, they would make up great return values, making yourself indispensable to your employer.

The HN platform deliberately discards characters beyond IIRC 0xFF - it's been a while since I looked at the source, I'm probably wrong about where it cuts off. An odd design choice, but a design choice all the same - it doesn't bear on anything else in any way I can see.

Re: I made a talking emoji using regular emojis and JavaScript

#43
post #18
post #8

Earlier quoted context omitted.

You could actually propose a whole set of Unicode characters that are making realistic-for-lip-reading movements.

Unicode is already a joke with arbitrary emojis added every other week without discipline...

https://99percentinvisible.org/episode/person-lotus-position...

Re: I made a talking emoji using regular emojis and JavaScript

#44
post #4

Earlier quoted context omitted.

Halfway through the article, he shows a picture with mouths for a-z, sh and th: https://cdn-images-1.medium.com/max/1600/0*gwbWfYm-iQIPEXXP%... There are others if you search images for "lip sync animation". It would be interesting to see if the result is understandable if you simply replace the emojis with those images.

That image does not map to letters, it maps to the phonetic alphabet. English has different phonetics for words when compared to their written counterparts. For example "money" needs to be converted to "mahnee" before being converted to emoji counterpart. Otherwise it is gibberish.

'mah-' is US English, not English :P It's 'mah' in one country.

p.s. Seems every day on here I'm reminding people from the US that their country is not the world, their version of English is spoken and spelt in just one country, etc etc etc. Maybe I should give up doing that.

The most classic maybe was a linguist (yes, amazing) who on her blog was gloating that her variety of US English was particularly rich, in having almost every vowel sound in English. I looked at her list.. it didn't include the 'o' sound in 'pot'..

Re: I made a talking emoji using regular emojis and JavaScript

#45
post #32
post #6

Earlier quoted context omitted.

I once read lipreading doesn't work very reliable, even for very skilled lipreaders. Maybe that's why most animation studios don't bother.

> Maybe that's why most animation studios don't bother. Dubs. 90% of your viewers will see it in a foreign language, dubbed, where all your lipsyncing effort is useless anyway. In fact, lipsyncing ut to english makes it look worse in the dub than having random nonsense movements.

It may be true now, as modern block buster lipsync is atrocious (at least in France). But 20 years ago people cared a lot about it.

I remember distinctly this wonderful line from the 5th element:

- Are you classified as human?

- Negative. I'm a meat Popsicle!

Which they translated to french into:

- ...?

- Negatif. Je suis une mite en pull over !

Which has not relation at all to the initial line, and literally translateds mean "I'm a moth wearing a sweater".

But it's equally nonsensical, definitely as funny, and the beautiful thing is, the lipsync is near perfect.

However it's a lot of work, requires very talented people to achieve, and is mostly useless in the eyes of the right owners: money will come anyway if the movie is average, so why bother making it better ?

Re: I made a talking emoji using regular emojis and JavaScript

#46
post #33
post #32

Earlier quoted context omitted.

> Maybe that's why most animation studios don't bother. Dubs. 90% of your viewers will see it in a foreign language, dubbed, where all your lipsyncing effort is useless anyway. In fact, lipsyncing ut to english makes it look worse in the dub than having random nonsense movements.

That's false, I'm from Italy and our dubbing is made with big effort, and lips syncing is an important part, so important that sometimes they don't use literal translation, so they can choose words that have a similar pronunciation to the English ones and the lips look in sync

I’m from Germany, and there’s a lot of effort spent on lip syncing, but it’s not even close to what you get with the native language.

As child (due to deafness until I was almost 5) I relied a lot on lip reading, and it was very noticeable if something was dubbed.

Re: I made a talking emoji using regular emojis and JavaScript

#47

Earlier quoted context omitted.

That image does not map to letters, it maps to the phonetic alphabet. English has different phonetics for words when compared to their written counterparts. For example "money" needs to be converted to "mahnee" before being converted to emoji counterpart. Otherwise it is gibberish.

'mah-' is US English, not English :P It's 'mah' in one country. p.s. Seems every day on here I'm reminding people from the US that their country is not the world, their version of English is spoken and spelt in just one country, etc etc etc. Maybe I should give up doing that. The most classic maybe was a linguist (yes, amazing) who on her blog was gloating that her variety of US English was particularly rich, in havi…

Either you don't understand that he means the pheonetic alphabet, or you say money in a way that is foreign to almost any person in the UK as well as the US. Do you say mooney or mohney? If not I think your phoneme almost certainly must be mah.

Re: I made a talking emoji using regular emojis and JavaScript

#48

Earlier quoted context omitted.

'mah-' is US English, not English :P It's 'mah' in one country. p.s. Seems every day on here I'm reminding people from the US that their country is not the world, their version of English is spoken and spelt in just one country, etc etc etc. Maybe I should give up doing that. The most classic maybe was a linguist (yes, amazing) who on her blog was gloating that her variety of US English was particularly rich, in havi…

Either you don't understand that he means the pheonetic alphabet, or you say money in a way that is foreign to almost any person in the UK as well as the US. Do you say mooney or mohney? If not I think your phoneme almost certainly must be mah.

British English has at least two pronunciations of money that I know of, /mʌni/ and /mʊni/

Re: I made a talking emoji using regular emojis and JavaScript

#49

> an emoji, in reality, looks like this: “\xF0\x9F\x98\x81” … well, that’s one encoding of the UTF-8 encoding of the Unicode code point. > This is because setInterval(_=>{ },99) executes the function every 99ms This is categorically wrong. You can’t trust setInterval to heed your request precisely at all: it’s a request that browsers take as a minimum only. Most browsers will call your function after the number of mi…

Besides that 99 % 6 = 3, so if the browser fired the setInterval function precisely every 99 ms, only two emojis would be displayed.

Re: I made a talking emoji using regular emojis and JavaScript

#50

Earlier quoted context omitted.

Either you don't understand that he means the pheonetic alphabet, or you say money in a way that is foreign to almost any person in the UK as well as the US. Do you say mooney or mohney? If not I think your phoneme almost certainly must be mah.

British English has at least two pronunciations of money that I know of, /mʌni/ and /mʊni/

The former is the most common way for Americans to pronounce it, and matches the mouth shape of ah, and the latter, while not common in the US, also matches the ah mouth shape. I really don't know how yesenadam is pronouncing it such that his mouth doesn't take the ah shape.
Post reply on HN