---
title: "Discussion on \"Sound from browser\" | Hashnode"
description: "Discussion on \"Sound from browser\". const speak = (msg) => {\n    const sp = new SpeechSynthesisUtterance(msg);\n    [sp.voice] = speechSynthesis.getVoices();\n    speechSynthesis.speak(sp);\n  };\n\n  speak(\"Hellow world\");"
url: "https://hashnode.com/posts/sound-from-browser/6159f28ead6beb6f6506d9c0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Sound from browser](https://thilina.hashnode.dev/sound-from-browser?utm_source=hashnode&utm_medium=feed)

const speak = (msg) => { const sp = new SpeechSynthesisUtterance(msg); \[sp.voice\] = speechSynthesis.getVoices(); speechSynthesis.speak(sp); }; speak("Hellow world");

Oct 3, 2021 · 1 min read · thilina.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[thilina dilshan](https://hashnode.com/@Thilina)

@Thilina

  
[View profile](https://hashnode.com/@Thilina)

Software developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
