2019年にリール用にp1が作ってくれた。
ちゃんとしたスピーカーで聞かないとモッコリしたローがちゃんと聞こえなさそうな、ノシノシしたBoom Bap。60秒ビート + 30秒ラップ
http://nft-drive-data-explorer.tk/?address=NAPMBEQ7WDXAZLG7KGARHZ2GAJJHLFWF2LITSMA
#!/bin/sh | |
### Desktop & Screen Saver | |
# Desktopを黒に | |
echo "Change Desctop Pictures" | |
osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/Library/Desktop Pictures/Solid Colors/Black.png"' | |
# ScreenSaver Kill | |
echo "Disable screensaver" |
#!/usr/bin/env python | |
''' | |
DEPENDENCIES: | |
$ brew install ffmpeg | |
$ brew install imagemagick | |
$ python ./mov2gif.py input.mov output.gif 15 | |
''' |
""" | |
- Select Null node(s) | |
- Run this script | |
- New geo(s) consists of `object_merge` which imports the selected Null node are created on /obj. The geo name would be the selected Null node name with removing prefix `OUT_`. | |
""" | |
def create_object_merge(selected_node): | |
prefix = "OUT_" | |
2019年にリール用にp1が作ってくれた。
ちゃんとしたスピーカーで聞かないとモッコリしたローがちゃんと聞こえなさそうな、ノシノシしたBoom Bap。60秒ビート + 30秒ラップ
http://nft-drive-data-explorer.tk/?address=NAPMBEQ7WDXAZLG7KGARHZ2GAJJHLFWF2LITSMA
#!/bin/sh | |
# Tested on: | |
# macOS Catalina - Version 10.15.2 | |
# | |
# !!!: # Reboot after running this script, or uncomment the last line | |
# | |
# ``` | |
# How to disable SIP (System Integrity Protection) | |
# 1. Boot macOS with pressing Cmd+R |
# me - this DAT | |
# scriptOp - the OP which is cooking | |
import mediapipe as mp | |
mp_face_detection = mp.solutions.face_detection | |
mp_drawing = mp.solutions.drawing_utils | |
""" | |
https://google.github.io/mediapipe/solutions/face_detection.html | |
MODEL_SELECTION |
Array.prototype.shuffle = function() | |
{ | |
var i = this.length; | |
while (i) | |
{ | |
var j = Math.floor(Math.random() * i); | |
var t = this[--i]; | |
this[i] = this[j]; | |
this[j] = t; | |
} |
tell application "Keynote" | |
activate | |
if not (exists document 1) then error number -128 | |
try | |
if playing is false then start the front document | |
end try | |
tell the front document -- or "tell document 1" | |
-- my console_log("slide number of current slide: " & slide number of current slide, "my_log") | |
-- my console_log("slide number of last slide: " & slide number of last slide, "my_log") | |
if slide number of current slide is less than slide number of last slide then |
Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz: