Compare commits
2 Commits
d397b32ab5
...
fc5fa73ad5
| Author | SHA1 | Date | |
|---|---|---|---|
| fc5fa73ad5 | |||
| 156d435588 |
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "baudy",
|
"name": "baudy",
|
||||||
"version": "0.0.9",
|
"version": "0.0.11",
|
||||||
"module": "index.tsx",
|
"module": "index.tsx",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
@ -9,7 +9,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"toes": "bun run --watch index.tsx",
|
"toes": "bun run --watch index.tsx",
|
||||||
"start": "bun run index.tsx",
|
"start": "bun run index.tsx",
|
||||||
"dev": "bun run --hot index.tsx"
|
"dev": "bun run --hot index.tsx",
|
||||||
|
"publish": "bash publish.sh"
|
||||||
},
|
},
|
||||||
"toes": {
|
"toes": {
|
||||||
"icon": "🖥️"
|
"icon": "🖥️"
|
||||||
|
|
@ -27,4 +28,4 @@
|
||||||
"ggwave": "0.4.0",
|
"ggwave": "0.4.0",
|
||||||
"qrcode": "^1.5.4"
|
"qrcode": "^1.5.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
import { loopbackTest, playAudio, startMicListener } from './audio'
|
import { loopbackTest, playAudio, startMicListener } from './audio'
|
||||||
import { handleGuess, getSecret } from './game'
|
import { handleGuess, getSecret } from './game'
|
||||||
import type { GuessResult } from './game'
|
import type { GuessResult } from './game'
|
||||||
|
import pkg from '../../package.json'
|
||||||
|
|
||||||
const RESET = '\x1b[0m'
|
const RESET = '\x1b[0m'
|
||||||
const BOLD = '\x1b[1m'
|
const BOLD = '\x1b[1m'
|
||||||
|
|
@ -71,7 +72,7 @@ export async function startup(port: number) {
|
||||||
|
|
||||||
console.clear()
|
console.clear()
|
||||||
console.log()
|
console.log()
|
||||||
console.log(`${BOLD}Corey's Screechy Audio Demo${RESET}`)
|
console.log(`${BOLD}Corey's Screechy Audio Demo${RESET} ${DIM}v${pkg.version}${RESET}`)
|
||||||
console.log()
|
console.log()
|
||||||
|
|
||||||
const speaker = getDeviceName('output')
|
const speaker = getDeviceName('output')
|
||||||
|
|
@ -101,7 +102,7 @@ export async function startup(port: number) {
|
||||||
|
|
||||||
console.clear()
|
console.clear()
|
||||||
console.log()
|
console.log()
|
||||||
console.log(`${BOLD}Corey's Screechy Audio Demo${RESET}`)
|
console.log(`${BOLD}Corey's Screechy Audio Demo${RESET} ${DIM}v${pkg.version}${RESET}`)
|
||||||
console.log(`${DIM}Speaker: ${speaker} · Mic: ${mic}${RESET}`)
|
console.log(`${DIM}Speaker: ${speaker} · Mic: ${mic}${RESET}`)
|
||||||
console.log()
|
console.log()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user