Skip to content

Commit 52e769e

Browse files
authored
test audio embed for the website
1 parent ec53857 commit 52e769e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ RemoteSpeechModel model = new RemoteSpeechModel(apiKey, SpeechModels.google);
7878
SpeechInput input = new SpeechInput.Builder("Hi, I am Intelligent Java.").build();
7979
byte[] decodedAudio = model.generateEnglishText(input);
8080
```
81+
Output:
82+
<iframe width="100%" height="166" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/1450836247&color=%2328262c&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true"></iframe><div style="font-size: 10px; color: #cccccc;line-break: anywhere;word-break: normal;overflow: hidden;white-space: nowrap;text-overflow: ellipsis; font-family: Interstate,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Garuda,Verdana,Tahoma,sans-serif;font-weight: 100;"><a href="https://soundcloud.com/sam-572736789" title="Sam" target="_blank" style="color: #cccccc; text-decoration: none;">Sam</a> · <a href="https://soundcloud.com/sam-572736789/intelligent-java-intro" title="Intelligent Java Intro" target="_blank" style="color: #cccccc; text-decoration: none;">Intelligent Java Intro</a></div>
83+
84+
8185

8286
For full example check the [sample_code project](https://github.com/Barqawiz/IntelliJava/tree/main/sample_code).
8387

0 commit comments

Comments
 (0)