自宅でビデオ会議をしていると、空調とか屋外のノイズなどをマイクが拾いがちなので、Voice Meeter Bananaを使ってノイズを軽減するための工夫をあれこれ試してみたメモ。
This file contains 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
# | |
# clusterのサーバから外部通信を受けるREST API | |
# | |
# 参考: https://docs.cluster.mu/script/interfaces/ClusterScript.html#callExternal | |
# | |
from firebase_functions import https_fn, options | |
from firebase_admin import initialize_app | |
import os | |
import json |
This file contains 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
const particle = $.subNode("particle"); | |
const se1 = $.audio("EC5227CW-chime"); | |
const se2 = $.audio("beep"); | |
// 初期設定 | |
$.onStart(() => { | |
$.state.lastUpdatedTime = 0; | |
$.state.remainingTime = 0; | |
}); |
This file contains 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
#!/usr/bin/python | |
import serial | |
import time | |
import datetime | |
s = serial.Serial("COM4", 9600) | |
while True: | |
line = s.readline().decode("utf-8") |
This file contains 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
<IfModule mod_ssl.c> | |
<VirtualHost *:443> | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www/html | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
# TLS termination proxy for MinIO |
This file contains 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
#!/usr/bin/python3 | |
# see also... https://twitter.com/oskdgkmgkkk/status/1609832118913503234 | |
import random | |
import statistics | |
import math | |
count = 100000 | |
otoshidama_list = [] | |
for i in range(count): |
This file contains 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
syntax enable | |
filetype plugin indent on | |
set hidden | |
set nobackup | |
set noundofile | |
set modeline |
This file contains 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
$ cat >> ~/.bashrc | |
if [ "${OS}" = "Windows_NT" ]; then | |
function wincmd(){ | |
CMD=$1 | |
shift | |
$CMD $* 2>&1 | iconv -f cp932 -t utf-8 | |
} | |
alias ipconfig='wincmd ipconfig' | |
alias nslookup='wincmd nslookup' |
This file contains 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
# m5stick-qrcode-test.py - QRCode Test for M5StickV | |
import lcd | |
import sensor | |
import time | |
import audio | |
from fpioa_manager import fm | |
from machine import I2C | |
from Maix import I2S, GPIO | |
def draw_text(img, str, x, y, s): |
NewerOlder