Compare commits

..

No commits in common. "fc5fa73ad579452f1ac9b19f93c722079fe590c6" and "d397b32ab557e8c0f892eed1e36accc7e2f66e90" have entirely different histories.

2 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{
"name": "baudy",
"version": "0.0.11",
"version": "0.0.9",
"module": "index.tsx",
"type": "module",
"bin": {
@ -9,8 +9,7 @@
"scripts": {
"toes": "bun run --watch index.tsx",
"start": "bun run index.tsx",
"dev": "bun run --hot index.tsx",
"publish": "bash publish.sh"
"dev": "bun run --hot index.tsx"
},
"toes": {
"icon": "🖥️"
@ -28,4 +27,4 @@
"ggwave": "0.4.0",
"qrcode": "^1.5.4"
}
}
}

View File

@ -1,7 +1,6 @@
import { loopbackTest, playAudio, startMicListener } from './audio'
import { handleGuess, getSecret } from './game'
import type { GuessResult } from './game'
import pkg from '../../package.json'
const RESET = '\x1b[0m'
const BOLD = '\x1b[1m'
@ -72,7 +71,7 @@ export async function startup(port: number) {
console.clear()
console.log()
console.log(`${BOLD}Corey's Screechy Audio Demo${RESET} ${DIM}v${pkg.version}${RESET}`)
console.log(`${BOLD}Corey's Screechy Audio Demo${RESET}`)
console.log()
const speaker = getDeviceName('output')
@ -102,7 +101,7 @@ export async function startup(port: number) {
console.clear()
console.log()
console.log(`${BOLD}Corey's Screechy Audio Demo${RESET} ${DIM}v${pkg.version}${RESET}`)
console.log(`${BOLD}Corey's Screechy Audio Demo${RESET}`)
console.log(`${DIM}Speaker: ${speaker} · Mic: ${mic}${RESET}`)
console.log()