Skip to content

Instantly share code, notes, and snippets.

using System.Collections.Generic;
using UnityEngine;
namespace InteractiveMusic
{
/// <summary>
/// # VerticalMixMusic
/// WebGLで縦の遷移を行うためのComponent
///
/// こちらの方が後発で上位互換です -> https://gist.github.com/Yamayamada0924/d3fe20835d2e6bb696c82007b5e6de26
using UnityEditor;
using UnityEngine;
/// <summary>
/// Tools - CalcSampleWindow に追加されるウィンドウ
/// サンプリングレート、BPM、拍子からサンプル数を計算する
/// 大抵の場合サンプリングレートは44100Hzで良い
/// </summary>
public class CalcSampleWindow : EditorWindow
{
@Yamayamada0924
Yamayamada0924 / MixMusic.cs
Last active October 29, 2023 07:59
WebGLでインタラクティブミュージック縦の遷移・横の遷移を行うためのComponent, イントロ付きループにも対応
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
namespace InteractiveMusic
{
/// <summary>
/// # MixMusic
/// WebGLでインタラクティブミュージック縦の遷移・横の遷移を行うためのComponent
/// イントロ付きループにも対応している