Toy Box シンセシスエンジン Toy Box Synthesis Engine
従来の制約を取り払い、音に関するありとあらゆる「遊び心」と「わくわく感」を詰め込んだポリフォニック音源 Unconstrained Playfulness & Infinite Curiosity: The Oboe-Based Polyphonic Engine
概要と根本思想 Overview & Philosophy
「Toy Box
Synth」の根底にあるのは、「従来の音律や鍵盤の制約を取り払い、音に関するアイデアや遊び心を思いつく限り詰め込みたい」という無垢な探求心とわくわく感です。
Androidの超低遅延オーディオライブラリOboe(AAudio /
OpenSLES)の高速レスポンスを限界まで活用し、通常の鍵盤演奏にとどまらず、微分音・N音平均律・傾斜センサーによる連続テルミン操作・自動伴奏まで、思いついた瞬間のひらめきに即座に応答する「音楽のおもちゃ箱」として設計されています。
At the heart of "Toy Box Synth" is a spirit of pure musical curiosity: removing traditional constraints and packing every playful audio idea imaginable into a single engine. Leveraging Android's low-latency Oboe library, it delivers instant responsiveness for microtonal scales, theremin-style tilt controls, keyboard playing, and accompaniment.
1. 音飛び・ジッターの低減 ➔ Oboe & 排他制御最適化(ロック分離) 1. Mitigating Jitter & Latency ➔ Oboe & Lock Optimization
【問題】 モバイル端末でのリアルタイム発声・ポリフォニック処理では、スレッド間のロック競合によって生じる音飛び(ジッター)や、タップから発音までのレイテンシー(遅延)が演奏の心地よさを損なう原因となる。
【対処(アプローチ)】 Android純正の超低遅延オーディオC++ライブラリ「Oboe」を活用。
オーディオ処理ルーチン内で、アクティブボイスの探索時のみ最小限だけ排他制御ロックを掛け、実際の重いオーディオDSP生成ループはアンロック状態で非同期実行するスレッド分離設計を構築しました。これにより、タッチやセンサー操作に対する即応性を高め、ジッターの発生を極力抑える設計を行っています。
[Problem] Multi-thread lock contention during real-time polyphonic synthesis causes audio dropouts (jitter) and touch-to-sound latency on mobile devices.
[Solution] Maximizing Google's Oboe C++ framework. We isolated mutex locks to instant voice-search steps, rendering the main DSP synthesis loop unlocked to minimize latency and audio jitter.
2. 音律の固定化からの解放 ➔ ノート / 周波数 デュアル発音制御 2. Breaking Free from 12-Tuning ➔ Dual Note/Freq Triggers
【問題】 従来の標準的なMIDI音源エンジンは12平均律のノート番号(0〜127)に強く固定化されているため、微分音、N音平均律、傾斜センサーによる連続的テルミン演奏(周波数スライド)などの表現に対応しづらい。
【対処(アプローチ)】 鍵盤入力用の「MIDIノート指定」と、周波数を直接指定できる「周波数直打ち指定」の2系統の独立発音APIを標準装備しました。
さらに、連続ピッチスライド中にも柔軟な動的周波数誤差許容値でボイスをトラッキングする「許容差マッピング」を入れることで、ピッチベンドや連続周波数演奏時でも「ノートOFFで消音されなくなるバグ」を防止し、圧倒的な演奏自由度を提供します。
[Problem] Standard MIDI engines are strictly constrained to 12-equal temperament note IDs, limiting expression for microtonal scales or theremin-like continuous frequency slides.
[Solution] Dual-mode triggering: Discrete MIDI Note triggering alongside Direct Hz Frequency triggering. Coupled with dynamic frequency-matching tolerance, notes slide smoothly and release cleanly without voice leaks.
3. 無機質なシンセ音からの脱却 ➔ アタックノイズ分離 & 専用空間エフェクト 3. Acoustic Realism ➔ Separated Attack Noise & Dual Reverb
【問題】 純粋なデジタル合成波形(サイン波・矩形波・ノコギリ波など)は無機質な印象を与えやすく、管楽器の「ブレス感(息吹き音)」や弦の「擦過音」のような生々しい空気感が失われがちになる。
【対処(アプローチ)】 発音瞬間の息吹き音・摩擦音(Attack Noise)を楽音トーンとは完全に分離された専用サブボイスとして生成。
さらに、主音トーン用のメインリバーブとは別に「アタックノイズ専用の独立した空間リバーブ」を並列配置しました。打鍵・吹き込み瞬間の空気ノイズだけを立体的な部屋(ルーム空間)に放つことで、生楽器のようなアコースティックな臨場感を再現します。
[Problem] Pure digital synthesis waveforms tend to sound flat and sterile, lacking the organic breath noise of wind instruments or string friction.
[Solution] Attack Noise Separation & Dual Reverb. Transient friction noise is synthesized on a dedicated sub-channel and passed through an independent Attack Reverb, producing realistic acoustic spatial breath.
4. デジタル割れノイズの防止 ➔ アコースティック連続飽和 & ソフトリミッター 4. Warmth & Safety ➔ Soft Overdrive & Soft Limiter
【問題】 和音(ポリフォニー)の重なりや、ドライブ(歪み)パラメータを上げた際に、波形の天頂が水平カットされるハードクリッピング(バチバチという不快な割れノイズ)が発生する。
【対処(アプローチ)】 サチュレーション処理に連続的な曲線を描くアコースティックな飽和特性関数(Soft Saturation)を採用。
さらに、マスター出力段にも同等のソフトリミッター(Soft
Limiting)を配備することで、レベルオーバー時にも不快な破綻を回避し、真空管アンプのような温かみのあるアナログ質感とスピーカー保護を両立させています。
[Problem] Polyphonic summing or drive boost causes harsh digital hard-clipping distortion.
[Solution] Continuous curve soft saturation and master soft-limiting. Waveforms saturate smoothly, emulating analog tube warmth while safely protecting mobile speakers.
5. 技術の応用展開 ➔ センサーと自由な発音系が拓く「奇妙で面白い新楽器」 5. Practical Applications ➔ Quirky & Experimental Instruments via Sensor Control
Toy Box Synthの最大の特徴である「MIDIノート番号に縛られない周波数(Hz)直打ちAPI」と「超低遅延な発音レスポンス」は、単なる鍵盤演奏にとどまりません。スマートフォンの内蔵センサーや特殊なインターフェースと掛け合わせることで、従来の常識にとらわれない「ちょっと奇妙で面白い新世代の電子楽器」へと発展しています。
周波数を直接指定できる柔軟性と動的許容差トラッキングを駆使し、端末の傾き角度(ピッチ・ロール)を連続的な発音周波数にリアルタイム変換。
- 空間を手探りするような演奏感: 鍵盤のない電子楽器「テルミン」のように、手をかざす代わりにスマホを傾けるだけで滑らかなポルタメントや繊細なビブラートを自由に表現。
- 音が途切れないシームレスな追従: 激しい角度変更時でもボイスリークを起こさず、直感的な身体操作と音響が一体化。
トランペットやホルンなど金管楽器特有の「4本のピストンバルブ運指」と「唇の締め具合(倍音番号の跳躍)」の仕組みをスマホ上で再現。
- 倍音系列と運指のハイブリッド制御: 画面上の4つのピストンボタンの組み合わせで基本管長を決めつつ、スマホを上下に傾けることで倍音系列をジャンプ。
- 息のニュアンスを模倣: アタックノイズ分離機構を活かし、マウスピースに息を吹き込んだ瞬間のかすかなリップノイズを再現することで、本物の金管楽器を吹いているようなリアルな吹奏感を提供。
「スマホのセンサーやカメラを使ってこんな演奏をしてみたい」「こんな特殊な音律やスケールで遊んでみたい」「こんな風変わりなUIで音を鳴らしてみたい」など、自由な発想や実験的なアイデアがあればぜひ教えてください!
Toy Box Synth's core strengths—direct Hz frequency triggering free from 12-TET note constraints and ultra-low-latency response—are not limited to keyboard playing. By fusing this synthesis core with mobile hardware sensors and novel touch interactions, we have expanded it into quirky, playful, and unconventional musical instruments.
Harnessing direct frequency input and dynamic tolerance tracking, the device translates continuous tilt angles (pitch and roll) into real-time pitch oscillations.
- Airborne Gesture Playing: Emulating the ethereal classic Theremin, players glide smoothly through glissandos and express subtle vibratos simply by angling their phone.
- Seamless Voice Tracking: Dynamic frequency tolerances prevent voice dropouts or hung notes even under aggressive tilt movements.
Faithfully simulates trumpet and horn acoustics by combining 4-valve fingering with lip embouchure (harmonic series leaping).
- Hybrid Harmonic & Valve Mechanics: Players select the tubing length via 3 touchscreen valves while tilting the phone up or down to hop between harmonic series overtones.
- Realistic Breath Attack: Uses the engine's attack noise separation to synthesize the authentic rasp and air-bite of real brass mouthpieces.
"Could we play music using device sensors or camera gestures?" "What about experimenting
with bizarre microtonal scales or a strange new interface?" If you have fun, experimental,
or outside-the-box ideas, we'd love to hear them!
おわりに:実際の音でお試しください Conclusion: Experience the Sound
これらの理論や仕組みが実際に音としてどのような効果をもたらしているか、ぜひご自身の耳でお試しください。
その上で、もしご意見やご感想をいただけましたら、それが今後の開発の原動力になります。
Experience how these algorithms and design ideas actually shape the sound in our
applications.
If you have any feedback or thoughts, we would love to hear from you—it directly fuels our
ongoing development!