8870741c3e
* capture audio with alsa * add brainstorm thoughts * use basecamp project for managing this project * add libcurl basic example * write pcm data to file * transcribe audio file with deepgram * transcribe raw audio * hit anthropic API for ai question * create full flow with stt, anthropic, tts, and playback This organizes some components like deepgram into own module, and also allows gets the full flow to work every time we run the program. * organize audio and intelligence modules * organize header files into include directory * docs: add readme * docs: explain future work * docs: add disclaimer about hardcoded audio params
15 lines
395 B
Makefile
15 lines
395 B
Makefile
CC = gcc
|
|
CFLAGS = -Wall -g -Iinclude
|
|
TARGET = main
|
|
SRC = main.c deepgram_client.c utils.c intelligence.c audio.c
|
|
LIBS = -lavdevice -lavformat -lavcodec -lavutil -lasound -lcurl
|
|
|
|
$(TARGET): $(SRC)
|
|
$(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LIBS)
|
|
|
|
clean:
|
|
rm -f *.o $(TARGET)
|
|
|
|
install-deps:
|
|
sudo apt install build-essential libavformat-dev libavdevice-dev libavcodec-dev libavutil-dev libasound2-dev
|