Skip to content

Instantly share code, notes, and snippets.

https://youtu.be/WOrBSXcYZHk?si=3U2UN-4w5_bkwuUj
https://youtu.be/0pb9gQS_6dQ?si=tZCP-KyRwtW_oOjJ
https://youtu.be/scvW3hAFgHE?si=BkIH1ocIyHJrYDTI
https://youtu.be/ABBpsy6rlVU?si=ZSzGA1nm7PMjTdQW
https://sewerslvt.bandcamp.com/https://www.patreon.com/sewerslvt
https://youtu.be/xv7e4vMsFQ0?si=9HiPqtCwCHW0V7_X
https://youtu.be/p3qS5i3-_7o?si=OCSK8x1ujPSVdLdf
https://youtu.be/HgHArz9IwDQ?si=d-_Xp9r8D9AvkrSu
https://youtu.be/qB1h_YdJ2-o?si=rV7rxdILC-vkAwUR
https://youtu.be/6T-rJ5K21Kw?si=Dnp0LN8-VBWR-kUN
@taroyanaka
taroyanaka / BossEnemy.cs
Created February 15, 2026 12:29
unity6
using System;
using System.Reflection;
using UnityEngine;
/// <summary>
/// Boss 用 Enemy 拡張。
/// - Bullet prefab を複数アタッチ可能
/// - Effect prefab を複数アタッチ可能
///
/// 既存ファイル(Enemy.cs 等)を変更せずに、
@taroyanaka
taroyanaka / SaveLoad.cs
Created February 15, 2026 12:28
unity6
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Reflection;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
// 未完成。"grab"と"irando"と"acidenv"と"pk"が動作しない。ユーザー定義関数だと思われる
setcps(140/60/4)
$: s("sawtooth!16")
.wtenv(slider(7.678,1,10))
.wt(.3).wtenv(.3).unison(2)
.dec(.16).diode("4:.4")
.fm(time.mod("<1 _ _ 2>"))
@taroyanaka
taroyanaka / strudel_6.txt
Created December 23, 2025 10:26
almost strudel_5.txt(mix in strudel_1.txt)
setcpm(170/4)
stack(
// kick
s("bd*4")
.bank("RolandTR909")
.gain(1.2)
.distort(2)
.compressor("-15:8:5:.001:.05")
.lpf(300)
setcpm(170/4)
stack(
// kick
s("bd*4")
.bank("RolandTR909")
.gain(1.2)
.distort(2)
.compressor("-15:8:5:.001:.05")
.lpf(300)
setcps(170/60/4)
// kick only
$: s("sbd*4")
.lpf(400)
.distort("3:.3")
.sustain(0)._scope()
$: s("bd*4")
setcps(140/60/4)
$: stack(
s("sbd!8").distort("2:.3").distort("<0.1 0.3 0.3>").duck("2:3:4").duckattack(.2).duckdepth(.6),
// s("sbd!4").distort("3:.6").distort("4").duck("2:3:4").duckattack(.8).duckdepth(.6).gain(6).bps(3),
s("sbd!4").distort("3:.6").distort("<0.6 0.9 0.6>").duck("2:3:4").duckattack(.2).duckdepth(.6),
// s("sbd!8").distort("3:.6").distort("4").duck("2:3:4").duckattack(.8).duckdepth(.6).gain(6).bps(3),
s("<sbd*2 <sbd sbd*2> <sbd*2 sbd sbd*2 sbd*2> <sbd*4 sbd*2>>*4")
.gain(0.2)
setcps(170/60/4)
$drums: stack(
s("bd:1").beat("0,7?,10",16),
s("sd:2").beat("4,12",16),
s("hh:4!8")
)
.duckattack(0.4).duckdepth(1)
.orbit(2)._scope()
setcps(140/60/4)
$: s("sbd!4").distort("3:.4").duck("2:3:4").duckattack(.2).duckdepth(.7)._scope()
$bass: n(irand(8).sub(3).seg(16)).scale("c:minor")
.rib(3,2).distort("2.2:.3").s("sawtooth").lpf(200).lpenv(slider(2.832,0,8)).lpq(6)
.orbit(2)._pianoroll()