-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add new Microphone stt stuff * delete MicrophoneRecorder * get microphne automatically when listening starts * remove stt from Playthrough * add demos * use staging stt server * update readme note on compatibility
- Loading branch information
1 parent
0c86ff7
commit a01801d
Showing
31 changed files
with
6,437 additions
and
4,337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Charisma JS SDK Demo</title> | ||
</head> | ||
<body> | ||
<div id="app"> | ||
<button onclick="start()">Start</button> | ||
<div id="messages"></div> | ||
<input | ||
onkeypress="onKeyPress(event)" | ||
placeholder="Type a message..." | ||
id="reply-input" | ||
/> | ||
<button onclick="reply()">Send</button> | ||
Record: | ||
<input | ||
type="checkbox" | ||
id="record" | ||
class="mic-checkbox" | ||
onclick="toggleMicrophone(event)" | ||
/> | ||
<br /> | ||
<div id="transcript"></div> | ||
</div> | ||
<div> | ||
<button onclick="toggleMuteBackgroundAudio()"> | ||
Mute Background Audio | ||
</button> | ||
</div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "test", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite --port 3000", | ||
"build": "tsc && vite build", | ||
"preview": "vite preview" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.2.2", | ||
"vite": "^5.3.1" | ||
}, | ||
"dependencies": { | ||
"@charisma-ai/sdk": "link:../.." | ||
} | ||
} |
Oops, something went wrong.