This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2025-12-04T06:41:47.168217Z INFO ICE/DTLS packet recorded timestamp_ms=10 packet_type=STUN BindingRequest(5741386f57723574382b7776) | |
| 2025-12-04T06:41:47.168365Z INFO str0m handle_input Receive | |
| 2025-12-04T06:41:47.168757Z str0m poll_output | |
| 2025-12-04T06:41:47.168857Z ICE connection state changed state=Checking | |
| 2025-12-04T06:41:47.168917Z str0m poll_output | |
| 2025-12-04T06:41:47.168982Z ICE/DTLS packet recorded timestamp_ms=10 packet_type=STUN BindingSuccessResponse(5741386f57723574382b7776) | |
| 2025-12-04T06:41:47.169057Z str0m poll_output | |
| 2025-12-04T06:41:47.169597Z INFO str0m poll_output | |
| 2025-12-04T06:41:47.171987Z INFO ICE/DTLS packet recorded timestamp_ms=14 packet_type=DTLS ClientHello | |
| 2025-12-04T06:41:47.172078Z INFO str0m handle_input Receive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #[cfg(test)] | |
| mod tests { | |
| use super::*; | |
| use windows::Win32::Media::timeGetTime; | |
| use windows::Win32::Media::timeGetDevCaps; | |
| use windows::Win32::Media::timeBeginPeriod; | |
| use windows::Win32::Media::TIMECAPS; | |
| use windows::Win32::Media::TIMERR_NOERROR; | |
| use std::mem; | |
| #[tokio::test] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Train a neural network to implement the discrete Fourier transform | |
| """ | |
| from keras.models import Sequential | |
| from keras.layers import Dense | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| N = 32 | |
| batch = 10000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // only tested with 1 channel wav file | |
| const { OpusEncoder } = require('@discordjs/opus'); | |
| let fs = require('fs'); | |
| wav_file = fs.readFileSync('somefile.wav'); | |
| const WaveFile = require('wavefile').WaveFile; | |
| let wav = new WaveFile(wav_file); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import logging | |
| import itertools | |
| from ruamel.yaml import YAML # Github actions needs yaml 1.2 | |
| build_settings = ['disable_intrinsics', 'fixed_point', 'custom_modes'] | |
| platforms = ['win', 'linux', 'mac', 'ios', 'android'] | |
| archs = ['x86', 'x86_64', 'armv7', 'arm64'] |