feat: fix target audio for all 96 levels and improve layout density
- Enhance targetAudio.js with envelope (ADSR), LFO modulation, effects (delay/reverb/distortion), and retrigger patterns for rhythmic sounds - Fill in target audio configs for 87 levels (worlds 3-12) that had empty build arrays, making the "Objetivo" preview button functional everywhere - Increase base sizes for modules, sidebar, ports, knobs, and typography so the UI feels less empty at 100% zoom Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -26,7 +26,13 @@ export const WORLD_8 = {
|
||||
preplacedModules: [
|
||||
{ id: 1, type: 'output', x: 700, y: 120, params: { volume: -8 }, locked: true },
|
||||
],
|
||||
target: { build: [], duration: 1.5 },
|
||||
target: {
|
||||
build: [
|
||||
{ type: 'noise', params: { type: 'white' } },
|
||||
],
|
||||
envelope: { attack: 0.1, decay: 0.3, sustain: 0.1, release: 0.2 },
|
||||
duration: 1.5,
|
||||
},
|
||||
checks: [
|
||||
{
|
||||
star: 1,
|
||||
@@ -79,7 +85,14 @@ export const WORLD_8 = {
|
||||
preplacedModules: [
|
||||
{ id: 1, type: 'output', x: 700, y: 120, params: { volume: -8 }, locked: true },
|
||||
],
|
||||
target: { build: [], duration: 1.5 },
|
||||
target: {
|
||||
build: [
|
||||
{ type: 'noise', params: { type: 'white' } },
|
||||
],
|
||||
filter: { type: 'bandpass', frequency: 3000, Q: 4 },
|
||||
envelope: { attack: 0.15, decay: 0.6, sustain: 0.05, release: 0.3 },
|
||||
duration: 1.5,
|
||||
},
|
||||
checks: [
|
||||
{
|
||||
star: 1,
|
||||
@@ -135,7 +148,15 @@ export const WORLD_8 = {
|
||||
preplacedModules: [
|
||||
{ id: 1, type: 'output', x: 750, y: 120, params: { volume: -8 }, locked: true },
|
||||
],
|
||||
target: { build: [], duration: 2 },
|
||||
target: {
|
||||
build: [
|
||||
{ type: 'noise', params: { type: 'white' } },
|
||||
],
|
||||
filter: { type: 'lowpass', frequency: 1200, Q: 1 },
|
||||
lfo: { frequency: 0.3, type: 'sine', min: 500, max: 2500, target: 'frequency' },
|
||||
envelope: { attack: 0.2, decay: 0.5, sustain: 0.3, release: 0.4 },
|
||||
duration: 2,
|
||||
},
|
||||
checks: [
|
||||
{
|
||||
star: 1,
|
||||
@@ -191,7 +212,14 @@ export const WORLD_8 = {
|
||||
preplacedModules: [
|
||||
{ id: 1, type: 'output', x: 700, y: 120, params: { volume: -10 }, locked: true },
|
||||
],
|
||||
target: { build: [], duration: 1.5 },
|
||||
target: {
|
||||
build: [
|
||||
{ type: 'noise', params: { type: 'white' } },
|
||||
],
|
||||
envelope: { attack: 0.01, decay: 0.06, sustain: 0, release: 0.02 },
|
||||
triggerPattern: { interval: 0.15, count: 1 },
|
||||
duration: 1.5,
|
||||
},
|
||||
checks: [
|
||||
{
|
||||
star: 1,
|
||||
@@ -246,7 +274,16 @@ export const WORLD_8 = {
|
||||
preplacedModules: [
|
||||
{ id: 1, type: 'output', x: 700, y: 120, params: { volume: -12 }, locked: true },
|
||||
],
|
||||
target: { build: [], duration: 1.5 },
|
||||
target: {
|
||||
build: [
|
||||
{ type: 'noise', params: { type: 'white' } },
|
||||
],
|
||||
effects: [
|
||||
{ type: 'distortion', distortion: 0.75, wet: 0.7 },
|
||||
],
|
||||
envelope: { attack: 0.08, decay: 0.6, sustain: 0.1, release: 0.25 },
|
||||
duration: 1.5,
|
||||
},
|
||||
checks: [
|
||||
{
|
||||
star: 1,
|
||||
@@ -299,7 +336,13 @@ export const WORLD_8 = {
|
||||
preplacedModules: [
|
||||
{ id: 1, type: 'output', x: 700, y: 120, params: { volume: -8 }, locked: true },
|
||||
],
|
||||
target: { build: [], duration: 1.5 },
|
||||
target: {
|
||||
build: [
|
||||
{ type: 'noise', params: { type: 'pink' } },
|
||||
],
|
||||
lfo: { frequency: 1.5, type: 'square', min: 0.2, max: 1, target: 'amplitude' },
|
||||
duration: 1.5,
|
||||
},
|
||||
checks: [
|
||||
{
|
||||
star: 1,
|
||||
@@ -351,7 +394,17 @@ export const WORLD_8 = {
|
||||
preplacedModules: [
|
||||
{ id: 1, type: 'output', x: 800, y: 120, params: { volume: -8 }, locked: true },
|
||||
],
|
||||
target: { build: [], duration: 2.5 },
|
||||
target: {
|
||||
build: [
|
||||
{ type: 'noise', params: { type: 'brown' } },
|
||||
],
|
||||
filter: { type: 'lowpass', frequency: 900, Q: 0.8 },
|
||||
effects: [
|
||||
{ type: 'delay', delayTime: 0.4, feedback: 0.45, wet: 0.6 },
|
||||
{ type: 'reverb', decay: 4.5, wet: 0.7 },
|
||||
],
|
||||
duration: 2.5,
|
||||
},
|
||||
checks: [
|
||||
{
|
||||
star: 1,
|
||||
@@ -406,7 +459,25 @@ export const WORLD_8 = {
|
||||
preplacedModules: [
|
||||
{ id: 1, type: 'output', x: 900, y: 140, params: { volume: -8 }, locked: true },
|
||||
],
|
||||
target: { build: [], duration: 6 },
|
||||
target: {
|
||||
build: [
|
||||
{ type: 'noise', params: { type: 'white' } },
|
||||
{ type: 'noise', params: { type: 'pink' } },
|
||||
{ type: 'noise', params: { type: 'brown' } },
|
||||
{ type: 'noise', params: { type: 'white' } },
|
||||
],
|
||||
filter: { type: 'bandpass', frequency: 2800, Q: 3.5 },
|
||||
lfo: [
|
||||
{ frequency: 0.35, type: 'sine', min: 600, max: 2200, target: 'frequency' },
|
||||
{ frequency: 1.2, type: 'square', min: 0.1, max: 0.9, target: 'amplitude' },
|
||||
],
|
||||
effects: [
|
||||
{ type: 'delay', delayTime: 0.35, feedback: 0.5, wet: 0.5 },
|
||||
{ type: 'reverb', decay: 3.5, wet: 0.55 },
|
||||
],
|
||||
envelope: { attack: 0.12, decay: 0.4, sustain: 0.2, release: 0.3 },
|
||||
duration: 6,
|
||||
},
|
||||
checks: [
|
||||
{
|
||||
star: 1,
|
||||
|
||||
Reference in New Issue
Block a user