2022/09/27

ClangCymbal Web Version / ClangCymbal の Web 版

Try ClangCymbal (github.io)
See list of other web generators (github.io)

ClangCymbal is ported to run on browser.

The page layout is messy. I'd recommend to reduce the zooming with Ctrl + Mouse Wheel.

Note that it doesn't run on Firefox for now.

---

ClangCymbal を試す (github.io)
他の Web ジェネレータの一覧を見る (github.io)

ClangCymbal をブラウザ上で動くように移植しました。

レイアウトの見通しが悪いですが、 Ctrl + マウスホイールなどで表示倍率を変えることで多少ましになります。

今のところ Firefox では動作しないので注意してください。

2022/09/24

SerialCombCymbal

Try SerialCombCymbal (github.io)
Go to the list of web synthesizers (github.io)

SerialCombCymbal is a cymbal-esque sound synthesizer using serially connected comb filters. Note that SerialCombCymbal doesn't work on current version of Firefox.

Below is a recipe to make cymbal like sounds:

  • Set nDelay to even number.
  • Set Feedback to some number close to -1.0, like -0.99.
  • Shorten Delay Time and Time Randomness.
  • Set Highpass Cutoff to lower than 100 Hz.
  • Set Highpass Q, Lowpass Cutoff, Lowpass Q to upper limit (default value).

It's also possible to make gong-ish sounds by increasing nDelay and subtly adding lowpass.

ClangCymbal was so heavy, so I was looking for faster cymbal synth algorithm. Then I found that Image-Line DrumPad can make some nice cymbal sounds. DrumPad was released for a decade ago, and CPU load is very small. After playing with it for a bit, I got a guess that DrumPad is using serially connected integer comb filter. Then SerialCombCymbal is made up from this guess.

---

SerialCombCymbal を試す (github.io)
Web シンセサイザの一覧を見る (github.io)

SerialCombCymbal は直列につないだコムフィルタによるシンバルのような音が合成できるシンセサイザです。コムフィルタと言っていますが、厳密にはリバーブで使われるようなフィードバックとフィードフォワードが両方ついたオールパスフィルタです。 Firefox 104 では動かないので注意してください。

以下はシンバル風の音を出すときのレシピです。

  • nDelay は偶数に設定。
  • Feedback を -0.99 など、 -1.0 に近い値に設定。
  • Delay Time と Time Randomness を適当に短くする。
  • Highpass Cutoff は 100 Hz 以下に設定。
  • Highpass Q, Lowpass Cutoff, Lowpass Q を、上限に設定。 (デフォルトのまま)

nDelay を増やしてローパスをうまくかけると銅鑼のような音も出ます。

ClangCymbal があまりにも重かったので何とかならないかと思っていたところ、 Image-Line の DrumPad でかなりいいシンバルの音が作れることを知りました。 DrumPad は 10 年以上前に公開されたシンセサイザということもあって CPU 負荷がかなり低いです。どうなっているのだろうと思いつつ Membrane セクションのパラメータを変えながら音を聞いたところ、整数ディレイによるコムフィルタを直列につないでいるような気がしました。この適当な観察からでっち上げたのが SerialCombCymbal です。

2022/09/22

FDN64Reverb on Web Browser/FDN64Reverb の Web 版

Try FDNReverb (github.io)

Web version of FDN64Reverb is now available. It was too heavy to run on real-time, so ported to run on browser with off-line (non real-time) computation. 64 is dropped from the name, because matrix size can be changed from 1 to 256.

Note that FDNReverb doesn't run on Firefox version 104 or earlier. It requires ECMAScript module support on Web Worker, which Firefox haven't implemented yet. Chrome or Safari can be used.

List of web synthesizers are also moved to new page.

---

FDNReverb を使う (github.io)

FDN64Reverb が重たくて使いづらかったのでブラウザ上で動くように移植しました。行列のサイズを 1 から 256 の範囲で変更できるので、名前を FDNReverb に変えています。

Firefox 104.0.2 では動作しないので注意してください。 Web Worker で ECMAScript module が使えないことが原因です。 Chrome での動作は確認しています。また MDN に掲載されている互換性の表によると Safari でも動作するようです。

Web シンセサイザの一覧も新しいページに移動しました。ページ上部で言語を日本語に変更できますが、今のところブラウザのクッキーを使っていないのでページを閉じるたびに設定がリセットされます。

2022/09/03

Animals - A Showcase of Uhhyou Plugins

 

"Animals" is an album, and a showcase of Uhhyou Plugins (うっひょうプラグイン).

Animal names used in titles are cut up from random Wikipedia articles.

Most of the composition is made by improvisation and overdub. But I'm bad at playing instruments and that's why rhythm is so inconsistent. Once this waddling mess is recorded, there appears some sparse part and dense part. While overdubbing, I put more notes on dense part, and not so much for sparse part. After some iteration, that waddling mess becomes a mass of waddling mess, and ended up as this album.

Plugin development, especially testing DSP components, was the hardest part of making this album. The first commit was 3 years ago, and I didn't even know how to write C++ at that time. The strategy here was perfecting the sound design part by developing plugins, so that I can just drop the random sound and it will be good. I'd call this circuitous John Cage strategy. I went through great effort of developing plugins, and finally threw the resulting sounds into WAV files after 3 years. But John Cage just dropped real physical objects into bathtub, and it sounds plainly gorgeous compared to my bastardized synthesizers which have to run on real-time.

Let's move on to the contents, and the advertisement of my plugins. Distinctive short decaying high metal tones are mostly made from EnvelopedSine, and that's the most used synthesizer in this album. Low drums in "Crimson-headed partridge" is also made from it. If you hear long decaying reverb, that's almost certainly comes out from L3/L4Reverb. You can hear them in "Ibexes and deer" and "Tigerwings". Those reverbs are the savior of my bad plays. They are also good to use with CollidingCombSynth. "Quagga" is the loudest piece in this album. Typical sound of ParallelComb and UltrasonicRingMod can be heard.

---

"Animals" は Uhhyou Plugins (うっひょうプラグイン) の音の見本となるアルバムです。

曲のタイトルの動物の名前は適当な Wikipedia の記事からカットアップしました。

このアルバムで苦労した点はプラグインの開発、特に DSP のテストです。最初のコミットは 3 年前の 2019 年で、そのときは C++ をろくに理解できていませんでした。今でもよく分かりません。方針としては、いい音の出るプラグインを作って投げやりに鳴らすということを念頭に置いていました。この方針を私は勝手に「回りくどいジョン・ケージ戦略」と呼んでいます。 YouTube で John Cage と検索すると浴槽に実際の物を次々と投げ込む動画が出てきますが、そんな投げやりなパフォーマンスでもリアルタイムで動かすために質が下がってしまったシンセサイザに比べると遥かにいい音が出ています。 Animals ではマイクによる録音という手っ取り早い方法を使わずに、わざわざ手間をかけて微妙な出来のシンセサイザを作った上で、適当に演奏した音を次々と WAV ファイルに投げ込むという回りくどいことをしているわけです。

曲のほとんどは即興とオーバーダブで作りました。リズムが無い、というかよれているのは私の演奏が下手だからです。よれよれであっても一度録音してしまえば、密な部分と疎な部分が現れます。そこにオーバーダブで密な部分をさらに密にするということを繰り返した結果のよれよれの塊が、このアルバムです。

話を曲の内容とプラグインの宣伝に移します。アルバム全体を通して現れる、金属的な短い減衰音のほとんどは EnvelopedSine によるものです。そのおかげで、このアルバムで最も使ったシンセサイザは EnvelopedSine となっています。また Crimson-headed partridge の冒頭から入っている低いドラムの音も EnvelopedSine によるものです。やたらと長く残る残響はまず間違いなく L3/L4Reverb を使っています。 Ibexes and deer や Tigerwings では、この残響をはっきりと聴くことができます。 L3/L4Reverb は私のどうしようもない演奏を何とかしてくれる素晴らしいエフェクトでした。 CollidingCombSynth とも相性がいいです。このアルバムでおすすめの一曲は最も音が大きい Quagga です。 ParallelComb と UltrasonicRingMod の典型的な音を聴くことができます。

2022/08/31

レイテンシのない畳み込み

レイテンシのない畳み込みを読む (github.io)

MiniCliffEQ の FIR フィルタの畳み込みのレイテンシを何とかしたときに調べたことを記事にしました。リンク先では William G. Gardner さんによる "Efficient Convolution Without Latency" で紹介されている最小計算コスト法 (minimum computation cost solution) と一定計算コスト法 (constant demand solution) を参考にして改変した手法を紹介しています。

画像は改変した手法の計算の概要と、各部の出力の遅延を示した図です。

2022/08/28

二重 EMA フィルタによる AD エンベロープ

二重 EMA フィルタによる AD エンベロープを読む (github.io)

ClangSynth で使った二重 EMA フィルタによる AD エンベロープについて調べたことを記事にしました。以前に調べた ExpPoly エンベロープの高速な代替品として使うことを想定していたのですが、あまり似たような音にはなりませんでした。

ここでは EMA (exponential moving average) フィルタを 2 つ直列につないだものを二重 EMA フィルタ (double EMA filter) と呼んでいます。異なるフィルタを指していることもあるようです。

画像は二重 EMA フィルタによる AD エンベロープの、ディケイの値を変えたときの出力です。

2022/08/22

"found in animals" on Electronic Frequencies

Thanks to Kirk Markarian, one of my improvisation "found in animals" is aired on a radio show called Electronic Frequencies, which is a program on Concertzender.nl. Below is a link to the show.

Electronic Frequencies | Concertzender.nl :: Radio

Electronic Frequencies is hosted by Kirk, also as known as his artist alias Neuro... No Neuro. I honestly recommend to listen to his music instead of mine. They are far more well tuned.

---

Kirk Markarian さんによって、私の "found in animals" という即興が Concertzender.nl というサイトの Electronic Frequencies というラジオ番組で紹介されました。 Kirk さん、ありがとうございました!下記は番組へのリンクです。

Electronic Frequencies | Concertzender.nl :: Radio

Electronic Frequencies のホストを務める Kirk さんは Neuro... No Neuro (NNN) というアーティスト名でも活動されています。正直なところ、私の曲よりも Kirk さんによる曲のほうが遥かに丁寧に作られているのでお勧めです。

2022/08/14

UltrasonicRingMod

 

Download and User Manual (github.io) 

Source Code (github.com)

UltrasonicRingMod is a ring modulator with 64-fold oversampling. Maximum modulator frequency is 1 MHz. That said, just modulating with ultrasonic frequency doesn’t produce anything audible. Therefore, phase modulation and hard clipping are added to make some noise in audible frequency.

---

ダウンロードとマニュアル (github.io) 

ソースコード (github.com)

UltrasonicRingMod は 64 倍のオーバーサンプリングを行うリングモジュレータで、最高 1 MHz のサイン波による変調をかけることができます。とは言っても単に変調すると可聴域外なので何も聞こえなくなってしまいますが、フィードバックによる位相変調やハードクリッピングができるので、いくらかノイズが出せます。

---

I also made a demo video of PitchShiftDelay.

PitchShiftDelay のデモ動画も作りました。


2022/08/04

ClangCymbal β

ClangCymbal β Download & User Manual (github.io)

ClangCymbal is a spin off of ClangSynth, which is introduced in a previous post.

Note the β version. Bugs might be still remaining, and breaking change might be introduced. If you are planning to use it on production, make sure to write the result to file before closing DAW.

Below is a list of changes:

  • Increased FDN size from 8 * 8 to 64 * 64.
  • Added independent controls for each FDN filter on feedback path.
  • Added tremolo.
  • Added modulation envelope destination.
  • Changed oscillator from static wavetable to noise/pulse mix.
  • Reduced number of voice to 1, which means monophonic.
  • Removed LFO.

It can make more rich sounds because of the increased size of FDN. However, it also becomes monophonic due to the increased CPU load. To put more focus on percussion sounds, oscillator is changed to noise/pulse generator. Also LFO is omitted.

Change log:

  • 0.0.2 (β4): Fix initialization failure on Bitwig and Live 11.
  • β3: Fix to load saved state at the opening of project file on FL Studio.
  • β2: Fix BarBox to get focus on mouse down, and release focus on mouse exit.
  • β1: Initial release.

---

ClangCymbal のダウンロードとマニュアル (github.io)

ClangCymbal は、一つ前の記事で β 版を公開した ClangSynth のスピンオフです。

β 版なのでバグが残っていたり、後方互換の無い変更が行われる可能性があります。制作に使用するときは DAW を閉じる前に必ずファイルに書き出すことをお勧めします。

以下は変更点の一覧です。

  • FDN のサイズを 8 * 8 から 64 * 64 へと増加。
  • FDN のフィードバック経路のフィルタを独立して操作できるように変更。
  • トレモロを追加。
  • エンベロープの変調先を追加。
  • オシレータをウェーブテーブルからノイズとパルス列の混合に変更。
  • 最大同時発音数を 1 に低減。
  • LFO を除去。

FDN が大きくなってリッチな倍音が出るようになった代わりに CPU 負荷が増えたのでモノフォニックになっています。また、打楽器に特化するためにオシレータを変更して、変調器をエンベロープのみに絞りました。

変更点:

  • 0.0.2 (β4): Bitwig と Live 11 で初期化に失敗するバグを修正。
  • β3: FL Studio のプロジェクトを開いた時に保存した状態が DSP 側に読み込まれない問題を修正。
  • β2: BarBox がマウスボタン押下 (mouse down イベント) でフォーカスを取得、マウスカーソルが領域外に出る (mouse exit イベント) とフォーカスを開放するように修正。
  • β1: 初期リリース。

 

2022/07/18

ClangSynth β Version

ClangSynth Download & User Manual (github.io)

β version of ClangSynth is now available. ClangSynth is a metal percussion synthesizer using feedback delay network (FDN). With some tuning, it can resemble the sound of real cymbals.

If you have some feedback, please let me know through discussion or issue on GitHub repository, or email (ryukau@gmail.com).

Note that breaking change might be introduced. If you are considering to use it for production, make sure to render the result to file before closing DAW.

  • β2: Reset behavior is fixed.
  • β1: Reset behavior is not tested, so reopening the project may break the settings in some way.

This one is the same synthesizer showed in the video in previous blog post, which was PluckSynth. Name is changed to be more descriptive.

The CPU load is high. To reduce CPU load, decrease `nVoice` parameter on bottom left. CPU load also spikes at note on, either if the note is in resting state, or `Reset at Note On` parameter is checked.

Some tips to make percussion sounds:

  • Make oscillator to resemble the hit of stick.
    • Switch `FDN`  to check the raw oscillator output.
    • Shorten `Decay` to less than 0.01 second.
    • Emphasize higher overtones by changing `Denom. Slope` and `OT Amp.`
  • Tune FDN well.
    • Increase `Identity` for more cross feedback between delays.
    • Change `OT` parameters to tune delay time. OT stands for overtone.
    • Change lowpass or highpass. Q is as important as cutoff.
  • Add accent with Envelope.
    • Shorten `Decay` to around 0.1 second.
    • Press Shift + R on `Envelope Wave` to randomize, then press F to smooth.
    • Change `HP Cut`. 

---

ClangSynth のダウンロードとマニュアル (github.io)

ClangSynth の β 版を公開しました。 ClangSynth はフィードバック・ディレイ・ネットワーク (FDN) を使った、金属的な打楽器の音が得意なシンセサイザです。いくらかチューニングすれば本物のシンバルと似たような音が作れます。

バグやその他のご意見があれば GitHub の discussion あるいは issue 、またはメール (ryukau@gmail.com) でお知らせください。

β 版なので後方互換性のない変更を行うことがあります。制作に使うときは DAW を閉じる前にファイルへと書き出してください。

  • β2: リセットの動作を修正しました。
  • β1: リセットの動作をテストしていないので、プロジェクトを開きなおすと以前の設定から音が変わってしまうかもしれません。

このシンセサイザはひとつ前の投稿で紹介しているものと同じです。金属音が出るということをわかりやすくするために PluckSynth から ClangSynth へと名前を変えました。

CPU 負荷は高めです。負荷を減らすには、GUI 左下の `nVoice` の値を下げてください。またノートオンの瞬間に CPU 負荷のスパイクが起こることがあります。スパイクは内部的なノートの状態が休止中であるか、 `Reset at Note On` にチェックが入っているときに起こります。

以下は打楽器の音を作るときのコツです。 

  •  オシレータは、ばちの衝突音に似せるように調整する。
    • `FDN` を切ってオシレータの出力を直に確認できる。
    • `Decay` を 0.01 秒以下に短くする。
    • `Denom. Slope` と `OT Amp.` を変えて高い倍音を強調する。
  • FDN は念入りにチューニングする。
    • `Identity` を上げてディレイ間のクロス・フィードバックを増やす。
    • `OT` とついたパラメータを変更してディレイ時間を調整する。 OT は overtone の略。
    • ローパスとハイパスを変える。 Q はカットオフと同等に重要。
  • エンベロープでアクセントをつける。
    • `Decay` を 0.1 秒くらいに短くする。
    • `Envelope Wave` のコントロール上で Shift + R を押してランダマイズ、 F を押して平滑化できる。
    • `HP Cut` を変える。

---

  • 2022-07-18: Added a basic hi-hat setup video.
  • 2022-07-26: Download link is changed to β2. Manual link is added.
  • 2022-07-18: 基本的なハイハットの設定の動画を追加。
  • 2022-07-26: ダウンロードリンクを β2 に変更。マニュアルへのリンクを追加。

2022/07/12

開発中の新しいシンバルシンセサイザ

 

The video shows my new cymbal synthesizer in development. It sounds better than previous cymbal synths I made, however it still sounds artificial.

---

動画では開発中の新しいシンバルシンセサイザを紹介しています。以前に作ったシンバルシンセサイザよりもそれらしい音が出ていますが、本物と比べると物足りない感じがします。