-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (21 loc) · 767 Bytes
/
Makefile
File metadata and controls
27 lines (21 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.PHONY: build clean test install
# Build the Swift audio capture tool
build:
cd audiocapture && swift build -c release
# Clean build artifacts
clean:
cd audiocapture && swift package clean
# Test audio capture (plays through speakers) - stereo: L=mic, R=system
test-audio:
./audiocapture/.build/release/audiocapture | ffplay -f s16le -ar 16000 -ac 2 -nodisp -autoexit -
# Test system audio only (right channel only)
test-system:
./audiocapture/.build/release/audiocapture --no-mic | ffplay -f s16le -ar 16000 -ac 2 -nodisp -autoexit -
# List audio devices
list-devices:
./audiocapture/.build/release/audiocapture --list
# Install Python package and build audio capture
install: build
uv sync
@echo ""
@echo "Done! Run 'livekeet' to start transcribing."