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 subprocess | |
from subprocess import Popen | |
import re | |
import sys | |
#ffmpegとpythonを使ってオーディオデバイス一覧を取得します。Windowsでしか動作しません。 | |
#ffmpegを同じディレクトリに置くか、パスを通すかしてください。 | |
#コマンド実行 | |
def cmdline(command): | |
process = subprocess.Popen( |
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 subprocess | |
import re | |
import sys | |
from subprocess import Popen | |
import PySimpleGUI as sg | |
sg.theme('SystemDefault') #テーマを設定 | |
#ffmpegとpythonを使ってオーディオデバイス一覧を取得しpysimpleguiで表示します。Windowsでしか動作しません。 | |
#ffmpegを同じディレクトリに置くか、パスを通すかしてください。 | |
#コマンド実行 | |
def cmdline(command): |
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
178.248.235.133 | |
185.98.84.240 | |
188.128.123.52 | |
188.128.20.155 | |
46.61.214.94 | |
5.143.241.242 | |
5.143.241.243 | |
82.202.189.138 | |
82.202.189.139 | |
82.202.189.140 |
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
https://www.gosuslugi.ru/ | |
https://www.mos.ru/uslugi/ | |
http://kremlin.ru/ | |
http://government.ru/ | |
https://mil.ru/ | |
https://www.nalog.gov.ru/ | |
https://customs.gov.ru/ | |
https://pfr.gov.ru/ | |
https://rkn.gov.ru/ | |
rt.com |
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 re | |
from pydub import AudioSegment | |
#パス | |
path = "audio/test" | |
for current_dir, sub_dirs, files_list in os.walk(path): | |
for file_name in files_list: | |
file_path=(os.path.join(current_dir,file_name)) |
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 pathlib | |
import re | |
import csv | |
from pydub import AudioSegment | |
#既に存在するファイル | |
exist = [] | |
#パス | |
if len(sys.argv) > 1: |
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 wave | |
import time | |
#ffmpeg -i test.ogg -vn -ar 44100 -ac 2 test.wavしておく | |
#ffplay output -ar 44.1k -ac 2 -f s16leで再生 | |
#ffmpeg -ar 44.1k -ac 2 -f s16le -i output out.wavで録音 | |
wf = wave.open('test.wav', mode='rb') | |
#事前にmkfifo outputしておく | |
owf= open('output', 'w+b', 0) | |
frames=int(wf.getnframes()) |
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 xml.etree.ElementTree as ET | |
import requests | |
import xmltodict | |
rss = requests.get('http://example.com/xml/podcast.xml') | |
rss=(rss.content.decode()) | |
print(xmltodict.parse(rss)["rss"]["channel"]["item"][0]["enclosure"]["@url"])#最新のpodcastの音声ファイルを1件取得する。 |
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
[MT6357] 1 3,64 | |
[MT6357] 1 5,80 | |
[MT6357] get volt 3, 64, 918750 | |
[MT6357] get volt 5, 80, 1018750 | |
[MT6357] get volt 5, 80, 1018750 | |
[MT6357] get volt 3, 64, 918750 | |
[MT6357] 1 3,63 | |
[MT6357] 1 5,79 | |
[MT6357] get volt 3, 63, 912500 | |
[MT6357] get volt 5, 79, 1012500 |
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
latch VSRAM_OTHERS 900000 uV | |
latch VCORE 800000 uV | |
latch VMODEM 800000 uV | |
[pmic_check_rst] DDLO_RSTB | |
[PMIC]just_rst = 0 | |
No EFUSE SW Load | |
[PMIC]pmic_wdt_set Reg[0x14C]=0x1221 | |
[rt5738_driver_probe] | |
[rt5738_hw_component_detect] mt6691_vdd2(0) exist = 1, Chip ID = 0 | |
mt6691_vdd2_hw_init |
OlderNewer