| { |
| "scene_type": "ambient", |
| "scene_type_config": { |
| "speech_prob": 0.3, |
| "music_prob": 0.5, |
| "ambience_prob": 1.0, |
| "sfx_range": [ |
| 2, |
| 8 |
| ], |
| "duck_music": true, |
| "duck_sfx": false, |
| "gain_offsets": { |
| "speech": -3.0, |
| "music": -3.0, |
| "ambience": 6.0, |
| "sfx": 3.0 |
| } |
| }, |
| "scene_plan": { |
| "events": [ |
| { |
| "timestamp": 8.5, |
| "description": "Distant car horn" |
| }, |
| { |
| "timestamp": 45.2, |
| "description": "Heavy vehicle passing" |
| }, |
| { |
| "timestamp": 92.0, |
| "description": "Car door thud" |
| }, |
| { |
| "timestamp": 135.4, |
| "description": "Keys jingling" |
| }, |
| { |
| "timestamp": 173.1, |
| "description": "Footsteps on asphalt" |
| } |
| ], |
| "gemini_context": { |
| "music_tag": null, |
| "ambience_cue": "Busy suburban road with steady traffic hum and distant city noise.", |
| "events": [ |
| { |
| "sound": "Distant car horn", |
| "timestamp": 8.5 |
| }, |
| { |
| "sound": "Heavy vehicle passing", |
| "timestamp": 45.2 |
| }, |
| { |
| "sound": "Car door thud", |
| "timestamp": 92.0 |
| }, |
| { |
| "sound": "Keys jingling", |
| "timestamp": 135.4 |
| }, |
| { |
| "sound": "Footsteps on asphalt", |
| "timestamp": 173.1 |
| } |
| ] |
| }, |
| "dialogue_duration_sec": 176.38804166666668, |
| "token_usage": { |
| "usage_metadata": { |
| "prompt_token_count": 4964, |
| "candidates_token_count": 176, |
| "total_token_count": 6009 |
| }, |
| "model": "gemini-3-flash-preview" |
| }, |
| "scene_type": "ambient", |
| "scene_type_config": { |
| "speech_prob": 0.3, |
| "music_prob": 0.5, |
| "ambience_prob": 1.0, |
| "sfx_range": [ |
| 2, |
| 8 |
| ], |
| "duck_music": true, |
| "duck_sfx": false, |
| "gain_offsets": { |
| "speech": -3.0, |
| "music": -3.0, |
| "ambience": 6.0, |
| "sfx": 3.0 |
| } |
| }, |
| "has_music": false, |
| "has_ambience": true |
| }, |
| "critic_adjustments": { |
| "speech": { |
| "compressor": { |
| "threshold": -22, |
| "ratio": 3.5 |
| }, |
| "reverb": { |
| "type": "open_field", |
| "wet_amount": 0.05 |
| }, |
| "gain_db": 6.0, |
| "low_cut_hz": 100 |
| }, |
| "music": { |
| "gain_db": -11.0, |
| "low_cut_hz": 150 |
| }, |
| "ambience": { |
| "gain_db": -6.0 |
| }, |
| "sfx": { |
| "gain_db": -14.0, |
| "reverb": null, |
| "low_cut_hz": 80 |
| } |
| }, |
| "sfx_event_settings": { |
| "sfx_0": { |
| "gain_db": -4.0, |
| "reverb": { |
| "type": "open_field", |
| "wet_amount": 0.3 |
| } |
| }, |
| "sfx_1": { |
| "gain_db": -1.0, |
| "reverb": { |
| "type": "open_field", |
| "wet_amount": 0.1 |
| } |
| }, |
| "sfx_2": { |
| "gain_db": -2.0, |
| "reverb": { |
| "type": "open_field", |
| "wet_amount": 0.2 |
| } |
| }, |
| "sfx_3": { |
| "gain_db": -8.0, |
| "reverb": { |
| "type": "dry", |
| "wet_amount": 0.0 |
| } |
| }, |
| "sfx_4": { |
| "gain_db": -5.0, |
| "reverb": { |
| "type": "open_field", |
| "wet_amount": 0.15 |
| } |
| } |
| }, |
| "token_usage": { |
| "director": { |
| "usage_metadata": { |
| "prompt_token_count": 4964, |
| "candidates_token_count": 176, |
| "total_token_count": 6009 |
| }, |
| "model": "gemini-3-flash-preview" |
| }, |
| "critic": { |
| "usage_metadata": { |
| "prompt_token_count": 6013, |
| "candidates_token_count": 554, |
| "total_token_count": 7749 |
| }, |
| "model": "gemini-3-flash-preview" |
| }, |
| "total_token_count": 13758 |
| }, |
| "outputs": { |
| "raw": null, |
| "rough": { |
| "stem_paths": { |
| "speech": "rough/speech.wav", |
| "music": "rough/music.wav", |
| "ambience": "rough/ambience.wav", |
| "sfx": "rough/sfx.wav" |
| }, |
| "mix_path": "rough/mix.wav", |
| "loudness": { |
| "integrated_lufs": -27.56752410489796, |
| "true_peak_dbtp": -11.884218318733806 |
| } |
| }, |
| "linear": { |
| "stem_paths": { |
| "speech": "linear/speech.wav", |
| "music": "linear/music.wav", |
| "ambience": "linear/ambience.wav", |
| "sfx": "linear/sfx.wav" |
| }, |
| "mix_path": "linear/mix.wav", |
| "envelope_path": "linear/gain_envelope.json", |
| "additivity_error": 0.0, |
| "loudness": { |
| "loudness_lufs": -17.770265632420184, |
| "true_peak_dbtp": -1.000151903809611 |
| }, |
| "additivity_error_pcm16": 0.0, |
| "peak_normalization": { |
| "applied": true, |
| "gain_db": -0.5051, |
| "target_peak_dbfs": -1.0, |
| "note": "shared gain on mix and all stems; preserves mix == sum(stems)" |
| } |
| }, |
| "release": { |
| "stem_paths": { |
| "speech": "release/speech.wav", |
| "music": "release/music.wav", |
| "ambience": "release/ambience.wav", |
| "sfx": "release/sfx.wav" |
| }, |
| "mix_path": "release/mix.wav", |
| "loudness": { |
| "integrated_lufs": -26.503727779842638, |
| "true_peak_dbtp": -11.77591689628204 |
| } |
| } |
| }, |
| "linear_additivity_verified": true |
| } |