Skip to content

Instantly share code, notes, and snippets.

View SheatNoisette's full-sized avatar
🖥️
Beep boop

SheatNoisette

🖥️
Beep boop
View GitHub Profile
@SheatNoisette
SheatNoisette / example_audio.c
Last active June 7, 2023 10:07
Failed attempts to do machine learning using gennan
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "genann.h"
#include "stb_vorbis.c"
#define AUDIO_WINDOW 128
#define AUDIO_OUTPUT (AUDIO_WINDOW * 2)
[747373.586454] usb 1-1: new full-speed USB device number 94 using xhci_hcd
[747373.714642] usb 1-1: New USB device found, idVendor=12d1, idProduct=0010, bcdDevice= 1.00
[747373.714647] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[747373.714648] usb 1-1: Product: KT USB Audio
[747373.714650] usb 1-1: Manufacturer: KTMicro
[747373.714651] usb 1-1: SerialNumber: 2021-07-19-0000-0000-0000-
[747373.716797] input: KTMicro KT USB Audio Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/0003:12D1:0010.000A/input/input32
[747373.769639] input: KTMicro KT USB Audio as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/0003:12D1:0010.000A/input/input33
[747373.770042] hid-generic 0003:12D1:0010.000A: input,hiddev96,hidraw1: USB HID v1.10 Device [KTMicro KT USB Audio] on usb-0000:00:14.0-1/input2