Cinema Designer design file format
A Cinema Designer room as one plain JSON file: what every field means, the units, how versions work, and how the designer opens a file it cannot hold exactly.
What a design file is
A design file holds one Cinema Designer room: the room, the screen, the seats, the
speakers, the amplifiers, the projector, the door, the treatment and, from 1.3, a baffle and furniture. From 1.4 a sofa row can be counted as up to four sofas (seat.sofas); a file without it counts one, as every earlier file did. From 1.5 a row can say riser_solid: its riser then counts as a solid platform in the acoustics; a file without it counts the riser as before. It is one JSON object in UTF-8, named
<name>.ohav.json. The design inside it is exactly the object the designer holds,
so a file, a saved room and a share link carry the same thing.
In the designer, open the room menu and use Download design file to keep a copy, or Open design file… to load one. You can also drop a file anywhere on the designer. A file opens as a new unsaved design; saved rooms are never changed by opening a file.
The format is described by a JSON Schema (2020-12): https://openhomeav.com/schema/design/v1.5.json.
Any JSON Schema validator can check a file against it.
The envelope
The top level of the file, in this order. Only format, version and design are required.
| Key | Type | Required | Meaning |
|---|---|---|---|
$schema | text | no | URL of the schema for this exact format version, for external validators. |
format | "openhomeav-design" | yes | Always "openhomeav-design". Anything else is not a design file. |
version | text | yes | Format version as "MAJOR.MINOR". A minor adds optional fields only; a major changes a meaning. This schema reads 1.x. |
name | text | no | Room name, 1 to 80 characters, no control characters. Pre-fills Save room when the file is opened. |
generator | object | no | The tool that wrote the file. |
created | text | no | When the file was written, ISO 8601 (UTC, e.g. 2026-09-27T10:00:00Z). Ignored when comparing designs. |
source | object | no | Free-form provenance, for example which CAD variables produced which block. Shown when the file is opened; never stored by the designer. |
design | object | yes | The design, exactly the object the Cinema Designer holds. Absent optional blocks mean what they mean in the designer today (stated per field). |
x-… | any | no | Extension data for other tools. Listed when the file is opened as not used by the designer; never stored. |
The designer never writes a room id, an access link or a save revision into a file. created is
ignored when two designs are compared.
Units and coordinates
- SI units only: lengths in metres, angles in degrees, power in watts, impedance in ohms, levels in dB, delay in milliseconds, light in lumens.
design.unitsis the display preference (metric or imperial). It never changes the unit of a stored number.- The origin is the front-left floor corner.
xruns across the room, left to right facing the screen;yruns into the room from the screen wall;zruns up from the floor. - Numbers keep full double precision in files. Share links round to 6 decimals, except the
shapeblock, which a link carries as it is. - Furniture yaw is in degrees about the vertical: 0 faces the box’s front towards the screen wall and a positive yaw turns it anticlockwise seen from above.
Design fields
units, room, screen and rows are required. Every other field is
optional, and leaving it out means what the description says. Bands such as “2 to 15” are what the designer
holds: a value outside the band still opens, clamped, and the import report says so. A value of the wrong type
(text where a number belongs) or a missing required field stops the file from opening.
Catalogue ids (speaker models, amplifiers, projectors, screen materials, panel types, layouts) are plain text, so a new product in the catalogue never needs a new format version. An id the designer does not know is reported when the file opens.
units (required)
| Field | Type | Required | Meaning |
|---|---|---|---|
units | "metric" | "imperial" | yes | Display preference only: "metric" or "imperial". Every stored number stays SI (metres, degrees) either way. An unknown value opens as metric. |
room (required)
| Field | Type | Required | Meaning |
|---|---|---|---|
room | object | yes | Room interior dimensions (m). Each is 2 to 15 m; values outside are clamped. |
room.width | number | yes | Across the room, along x (m). 2 to 15. |
room.length | number | yes | Screen wall to back wall, along y (m). 2 to 15. |
room.height | number | yes | Floor to ceiling, along z (m). 2 to 15. |
screen (required)
| Field | Type | Required | Meaning |
|---|---|---|---|
screen | object | yes | The screen on the front wall. Give exactly one of width or diagonal. |
screen.width | number | no | Image width (m). 0.5 m to the room width. |
screen.diagonal | number | no | Image diagonal (m), instead of width. 0.5 m to the room width. |
screen.aspect | number | yes | Width over height as a number, e.g. 1.777778 for 16:9 or 2.4. 1.0 to 3.0. |
screen.bottom_z | number | yes | Height of the image's bottom edge above the floor (m). 0 to the room height. |
screen.center_x | number | yes | Horizontal position of the image centre on the front wall (m). 0 to the room width. |
screen.y_offset | number | no | How far the screen plane sits forward of the front wall (m). Absent or 0: flush on the wall. Kept at least 0.3 m in front of the nearest row. |
screen.material | id | no | openavdb screen material id. Absent: none or unknown. An unknown id is dropped on import. |
screen.gain | number | no | Screen gain, overriding the material's. 0.05 to 5. |
rows (required)
| Field | Type | Required | Meaning |
|---|---|---|---|
rows | list of objects | yes | Seating rows, front to back. 1 to 8 rows. |
rows[].y | number | yes | Row depth from the front wall (m), not from the screen. At least 0.3, at most the room length. |
rows[].eye_z | number | yes | Seated eye height above the floor (m). 0.1 to the room height. |
rows[].head_z | number | yes | Seated head-top height above the floor (m), for sightlines. At least eye_z, at most the room height. |
rows[].seat_x | list of numbers | yes | Across-room position of each seat (m). 1 to 20 seats; each kept 0.3 m off the side walls. |
rows[].riser | number | no | Height of the floor the row stands on (m). 0 to the lower of eye_z and 1.2. Absent: the historical eye-height convention. |
rows[].riser_solid | true / false | no | Count this row's riser as a solid platform in the acoustics (decay, reflections, ray trace): its faces take the floor finish and its top carries the floor's rugs and seating. Absent or false: not counted, as in earlier designs. No effect on a row without a riser. |
rows[].seat | object | no | The seat type drawn around the listeners. Never used by the scores. Absent: cinema seating, not reclining. |
rows[].seat.kind | "sofa" | "cinema" | yes | sofa or cinema. An unknown kind drops the seat type. |
rows[].seat.width | number | no | Sofa overall width (m). 0.5 to 8. |
rows[].seat.depth | number | no | Sofa depth (m). 0.4 to 2. |
rows[].seat.back_height | number | no | Sofa back height above the seat floor (m). 0.3 to 1.5. |
rows[].seat.sofas | number | no | How many sofas the row's seats sit on (1.4), a whole number, 1 to 4 and at most the seat count (a fraction is rounded and an out-of-range value is clamped, each reported); sofa rows only. Absent is 1: one sofa of the stored width centred on the seats, as in every file before 1.4. With 2 or more, width is the width of each sofa and each sofa is centred on its group of seats. A reader of 1.3 lists this as unknown and draws one sofa. |
rows[].seat.recliner | true / false | no | Cinema seating reclines. |
rows[].seat.footrest | true / false | no | Cinema recliner with a footrest (only with recliner). |
rows[].seat.high_back | true / false | no | Cinema seat with a high back. |
rows[].seat.seat_width | number | no | Cinema chair width per seat (m). 0.4 to 1.2. |
seat_centering
| Field | Type | Required | Meaning |
|---|---|---|---|
seat_centering | "mlp" | "row" | no | "mlp": the main listening seat sits on the screen axis and the whole block shifts with it. "row": every row is symmetric about the screen centre. Absent: "mlp". |
mlp_seat
| Field | Type | Required | Meaning |
|---|---|---|---|
mlp_seat | object | no | The main listening position, chosen by the user. Absent: the front-row seat nearest the screen axis. Must name an existing seat, else it is dropped. |
mlp_seat.row | whole number | yes | Row index, from 0. |
mlp_seat.seat | whole number | yes | Seat index in that row, from 0. |
layout
| Field | Type | Required | Meaning |
|---|---|---|---|
layout | id | no | Channel layout id: 5.1, 7.1, 5.1.2, 5.1.4, 7.1.4 or 9.1.6 at 1.0. Absent: 5.1. An unknown id is dropped. |
speakers
| Field | Type | Required | Meaning |
|---|---|---|---|
speakers | list of objects | no | Placed speakers, one per channel. At most 32; at most 4 subwoofers are carried (LFE, SW, SW1 to SW4). Absent: no speakers. |
speakers[].channel | text | yes | Channel code, unique in the design: L, C, R, Lw, Rw, Ls, Rs, Lrs, Rrs, Ltf, Rtf, Ltm, Rtm, Ltr, Rtr, and the subwoofers LFE, SW, SW1 to SW4. Other codes are dropped. |
speakers[].x | number | yes | Acoustic centre across the room (m). Kept inside the room. |
speakers[].y | number | yes | Acoustic centre from the front wall (m). Kept inside the room. |
speakers[].z | number | yes | Acoustic centre above the floor (m). Kept inside the room. |
speakers[].archetype | id | yes | Speaker type the parameters derive from: horn_loaded_cd, waveguide_dome, direct_dome, dipole_surround or in_ceiling at 1.0. An unknown type opens as horn_loaded_cd. |
speakers[].preset | id | no | openavdb speaker id, when a real speaker is picked. An unknown id is dropped and the speaker is shown as its type. |
speakers[].params | object | no | Overrides on top of the type or catalogue values. An override outside its band is clamped. |
speakers[].params.sensitivity | number | no | Sensitivity (dB SPL at 2.83 V, 1 m). 80 to 110. |
speakers[].params.coverageHDeg | number | no | Horizontal coverage (degrees). 10 to 360. |
speakers[].params.coverageVDeg | number | no | Vertical coverage (degrees). 10 to 360. |
speakers[].params.maxSpl | number | no | Maximum output (dB SPL at 1 m). 90 to 160. |
speakers[].params.impedance | number | no | Nominal impedance (ohms). 2 to 16. |
speakers[].params.lfExtensionHz | number | no | Low-frequency extension (Hz). 15 to 200. |
speakers[].aim | object | no | Aim intent, resolved to a direction when drawn, so it survives room and seat edits. Absent: toward the main listening position. Subwoofers carry no aim. |
speakers[].aim.mode | "normal" | "mlp" | "mount" | yes | normal: straight out of its surface. mlp: toward the main listening position. mount: from the mounting (see mount). An unknown mode drops the aim. |
speakers[].aim.offsetAzDeg | number | no | Horizontal rotation from the base direction (degrees). -90 to 90. |
speakers[].aim.offsetElDeg | number | no | Vertical rotation from the base direction (degrees). -90 to 90. |
speakers[].mount | object | no | How the cabinet sits on its surface; read only when aim.mode is mount. Absent with mode mount: the channel's surface and the model's catalogue wedge angle. |
speakers[].mount.surface | "wall" | "ceiling" | "stand" | "in_wall" | yes | wall, ceiling, stand or in_wall. An unknown surface drops the mount. |
speakers[].mount.cabinetAngleDeg | number | yes | Built-in baffle angle of a wedge cabinet (degrees). 0 to 60. |
speakers[].mount.facing | "down" | "inward" | yes | Walls only: whether the wedge tilts down or toward the room (inward). A ceiling wedge always tilts toward the seats. |
speakers[].mount.bracketYawDeg | number | yes | Bracket yaw (degrees), + toward the main listening position's side. -60 to 60. |
speakers[].mount.bracketPitchDeg | number | yes | Bracket pitch (degrees), + down on walls, + toward the seats on the ceiling. -60 to 60. |
speakers[].body | object | no | Manual cabinet dimensions (m), separate from the acoustic parameters. |
speakers[].body.width | number | yes | Cabinet width (m). 0.05 to 3. |
speakers[].body.height | number | yes | Cabinet height (m). 0.02 to 3. |
speakers[].body.depth | number | yes | Cabinet depth (m). 0.02 to 3. |
speakers[].body.yaw | number | no | Cabinet rotation about the vertical (degrees). -180 to 180. |
speakers[].follow | true / false | no | true: re-placed at target angles whenever the room, rows, seats or main listening position change. false or absent: stays where it is. |
speakers[].ampPower | number | no | This speaker's amplifier power (W), overriding the global amp. 1 to 2000. |
speakers[].ampId | text | no | Id of the amplifier in amps that drives this speaker; wins over ampPower. Dropped when it names no amplifier. |
amp
| Field | Type | Required | Meaning |
|---|---|---|---|
amp | object | no | The global amplifier and room gain, used by every speaker with no amplifier of its own. |
amp.power | number | yes | Rated power per channel (W) at rated_ohms. 1 to 2000. |
amp.rated_ohms | number | yes | Impedance the power is rated at (ohms). 2 to 16. |
amp.room_gain | number | yes | Broadband room gain added to every level (dB). -12 to 12; 0 by design. |
amps
| Field | Type | Required | Meaning |
|---|---|---|---|
amps | list of objects | no | The amplifiers in the design. At most 8 are carried, and only when the design has speakers. Absent or empty: every speaker uses ampPower or the global amp. |
amps[].id | text | yes | Instance id, unique in the design: 1 to 8 lower-case letters or digits (a1, a2, ...). Other ids drop the amplifier. |
amps[].product | id | no | openavdb amplifier id. Absent: manual. An unknown id drops the amplifier. |
amps[].power | number | no | Manual amp: power per channel (W) at rated_ohms. 1 to 2000. Not used with a product. |
amps[].rated_ohms | number | no | Manual amp: the impedance power is rated at (ohms). 2 to 16. Not used with a product. |
amps[].channels | number | no | Manual amp: channel count, 1 to 32, rounded. Not used with a product. |
amps[].bridged | list of texts | no | Speaker channels driven from a bridged pair. Only channels this amp drives are kept. |
bass
| Field | Type | Required | Meaning |
|---|---|---|---|
bass | object | no | Subwoofer signal settings for the bass view. Absent: unity gain, no delay, normal polarity, loss rate 20. |
bass.lossRate | number | yes | Uniform room loss rate assumed by the bass model. 5 to 80. |
bass.sources | object keyed by channel | yes | Per subwoofer channel (LFE, SW, SW1 to SW4): gain, delay and polarity. Other keys are dropped. |
bass.sources.<channel>.gainDb | number | yes | Gain (dB). -120 to 40. |
bass.sources.<channel>.delayMs | number | yes | Delay (ms). 0 to 1000. |
bass.sources.<channel>.polarity | 1 | -1 | yes | 1 normal, -1 inverted. |
projector
| Field | Type | Required | Meaning |
|---|---|---|---|
projector | object | no | The projector. Absent: no projector. |
projector.throw_ratio_min | number | yes | Shortest throw ratio (throw distance over image width). 0.5 to 5. Equal to the maximum for a fixed lens. |
projector.throw_ratio_max | number | yes | Longest throw ratio. 0.5 to 5. |
projector.lens_y | number | yes | Lens distance from the front wall (m). At least 0.5, and a catalogue projector's body stays off the back wall. |
projector.product | id | no | openavdb projector id; throw ratios, shift and lumens then come from the catalogue. An unknown id is dropped. |
projector.lens_z | number | no | Lens centre height above the floor (m). 0 to the room height. |
projector.lens_x | number | no | Lens centre across the room (m). Absent: the screen's center_x. |
projector.shift_v | number | no | Vertical lens shift, % each way (custom projectors). 0 to 300. |
projector.shift_h | number | no | Horizontal lens shift, % each way (custom projectors). 0 to 300. |
projector.lumens | number | no | Light output (lm), custom or overriding the catalogue. 1 to 100000. |
projector.lumens_pick | whole number | no | Index into the catalogue projector's measured modes. Dropped when it names no mode. |
door
| Field | Type | Required | Meaning |
|---|---|---|---|
door | object | no | The room door, for practical checks only (swing, seat clearance). Absent: no door. |
door.wall | "front" | "back" | "left" | "right" | yes | Which wall: front (the screen wall), back, left or right. |
door.offset | number | yes | Hinge-side edge along the wall from its origin corner (m): front-left for front and back walls (along x), front corner for left and right walls (along y). |
door.width | number | yes | Door width (m). At least 0.6, at most the wall. |
door.hinge | "left" | "right" | yes | Hinge side: left or right. |
door.swing | "in" | "out" | yes | Opens into the room (in) or out. |
panels
| Field | Type | Required | Meaning |
|---|---|---|---|
panels | list of objects | no | Acoustic treatment panels. At most 200. Absent: an untreated room; an empty list is a treated room with no panels. |
panels[].id | text | yes | Instance id, unique within its list (the current panels, the baseline or one alternative). |
panels[].typeId | id | yes | Panel type id: absorber_broadband, absorber_midhigh, bass_trap, diffuser_qrd or diffuser_skyline at 1.0. An unknown type drops the panel. |
panels[].surface | "front" | "back" | "left" | "right" | "floor" | "ceiling" | yes | front, back, left, right, floor or ceiling. An unknown surface drops the panel. |
panels[].u0 | number | yes | Rectangle start along u (m). Clamped to the surface. |
panels[].u1 | number | yes | Rectangle end along u (m). Clamped to the surface. |
panels[].v0 | number | yes | Rectangle start along v (m). Clamped to the surface. |
panels[].v1 | number | yes | Rectangle end along v (m). Clamped to the surface. |
panels[].thickness | number | no | Depth into the room (m). 0.01 to 0.6. |
finishes
| Field | Type | Required | Meaning |
|---|---|---|---|
finishes | object | no | What the room is made of (1.1). Absent: a design from before 1.1, calculated with the legacy materials (walls and ceiling 0.02 to 0.03, floor 0.15 at every band, seats not counted). Every coefficient comes from the designer's material records, never from the file. |
finishes.front | id | yes | Front (screen) wall finish: plasterboard_studs, plaster_masonry, concrete_painted or legacy_bare_concrete at 1.1. An unknown id uses the legacy value for that surface and is reported; a known id offered on the wrong surface uses the legacy value. |
finishes.back | id | yes | Back wall finish: plasterboard_studs, plaster_masonry, concrete_painted or legacy_bare_concrete at 1.1. An unknown id uses the legacy value for that surface and is reported; a known id offered on the wrong surface uses the legacy value. |
finishes.left | id | yes | Left wall finish: plasterboard_studs, plaster_masonry, concrete_painted or legacy_bare_concrete at 1.1. An unknown id uses the legacy value for that surface and is reported; a known id offered on the wrong surface uses the legacy value. |
finishes.right | id | yes | Right wall finish: plasterboard_studs, plaster_masonry, concrete_painted or legacy_bare_concrete at 1.1. An unknown id uses the legacy value for that surface and is reported; a known id offered on the wrong surface uses the legacy value. |
finishes.ceiling | id | yes | Ceiling finish: plasterboard_studs, plaster_masonry, concrete_painted or legacy_bare_concrete at 1.1. An unknown id uses the legacy value for that surface and is reported; a known id offered on the wrong surface uses the legacy value. |
finishes.floor | id | yes | Floor finish: concrete_sealed, timber_joists, parquet_concrete, floating_wood, vinyl_concrete, tile_ceramic, carpet_thin_concrete, carpet_tile_measured, carpet_heavy_concrete, carpet_heavy_underlay or legacy_floor_015 at 1.1. An unknown id uses the legacy value for that surface and is reported; a known id offered on the wrong surface uses the legacy value. |
finishes.rugs | list of objects | no | Rugs on the floor, at most 8; the later rug lies on top. Absent or empty: no rugs. |
finishes.rugs[].id | id | yes | Instance id, unique among the rugs. |
finishes.rugs[].material | id | yes | A carpet record id: carpet_thin_concrete, carpet_tile_measured, carpet_heavy_concrete or carpet_heavy_underlay at 1.1. An unknown id uses the legacy floor value and is reported. |
finishes.rugs[].x0 | number | yes | Left edge (m). |
finishes.rugs[].y0 | number | yes | Edge nearest the screen (m). |
finishes.rugs[].x1 | number | yes | Right edge (m). |
finishes.rugs[].y1 | number | yes | Edge nearest the back wall (m). |
finishes.seating | object | no | The seating assumption: each row's footprint counts as absorbing floor area (the seating-area method). Absent: seats not counted. |
finishes.seating.material | id | yes | none, upholstered_heavy, upholstered_medium or upholstered_light at 1.1. An unknown id means seats not counted and is reported. |
finishes.seating.occupied | true / false | yes | true: the occupied values; false: empty seats. |
treatment
| Field | Type | Required | Meaning |
|---|---|---|---|
treatment | object | no | The treatment comparison (1.2): the baseline panel set and up to 3 named alternatives. `panels` stays the current working set. Absent: a design from before 1.2; the baseline is the current panels as opened. A reader of 1.1 lists this block as unknown and drops it. |
treatment.baseline | list of objects | no | The panels as they were when the person set the baseline. Absent: the baseline is the current panels as opened. An empty list is a baseline with no panels. |
treatment.baseline[].id | text | yes | Instance id, unique within its list (the current panels, the baseline or one alternative). |
treatment.baseline[].typeId | id | yes | Panel type id: absorber_broadband, absorber_midhigh, bass_trap, diffuser_qrd or diffuser_skyline at 1.0. An unknown type drops the panel. |
treatment.baseline[].surface | "front" | "back" | "left" | "right" | "floor" | "ceiling" | yes | front, back, left, right, floor or ceiling. An unknown surface drops the panel. |
treatment.baseline[].u0 | number | yes | Rectangle start along u (m). Clamped to the surface. |
treatment.baseline[].u1 | number | yes | Rectangle end along u (m). Clamped to the surface. |
treatment.baseline[].v0 | number | yes | Rectangle start along v (m). Clamped to the surface. |
treatment.baseline[].v1 | number | yes | Rectangle end along v (m). Clamped to the surface. |
treatment.baseline[].thickness | number | no | Depth into the room (m). 0.01 to 0.6. |
treatment.alternatives | list of objects | no | Named panel sets, at most 3. Each is compared by its id, so renaming or reordering cannot change what a comparison points at. |
treatment.alternatives[].id | id | yes | Stable scenario id (alt_1 and so on), unique among the alternatives, never baseline or current. |
treatment.alternatives[].name | text | yes | Display name, 1 to 40 characters. |
treatment.alternatives[].panels | list of objects | yes | The panels of this alternative, at most 200. Panel ids are unique within this list only. |
treatment.alternatives[].panels[].id | text | yes | Instance id, unique within its list (the current panels, the baseline or one alternative). |
treatment.alternatives[].panels[].typeId | id | yes | Panel type id: absorber_broadband, absorber_midhigh, bass_trap, diffuser_qrd or diffuser_skyline at 1.0. An unknown type drops the panel. |
treatment.alternatives[].panels[].surface | "front" | "back" | "left" | "right" | "floor" | "ceiling" | yes | front, back, left, right, floor or ceiling. An unknown surface drops the panel. |
treatment.alternatives[].panels[].u0 | number | yes | Rectangle start along u (m). Clamped to the surface. |
treatment.alternatives[].panels[].u1 | number | yes | Rectangle end along u (m). Clamped to the surface. |
treatment.alternatives[].panels[].v0 | number | yes | Rectangle start along v (m). Clamped to the surface. |
treatment.alternatives[].panels[].v1 | number | yes | Rectangle end along v (m). Clamped to the surface. |
treatment.alternatives[].panels[].thickness | number | no | Depth into the room (m). 0.01 to 0.6. |
treatment.nextAlternative | whole number | no | The number the next alternative id takes (alt_<n>), so an id is never reused after a delete. |
shape
| Field | Type | Required | Meaning |
|---|---|---|---|
shape | object | no | What stands inside the room (1.3): an optional baffle with lined openings, and up to 12 furniture boxes. Absent: an empty box room, every figure as before 1.3. A reader of 1.2 lists this block as unknown and drops it. Bass always uses the plain room box. |
shape.baffle | object | no | A solid slab from the front wall (y 0) to its face at y = depth, across x0 to x1 and z0 to z1. Depth 0.05 to 1.5 m; the extent stays inside the wall and at least 0.1 m each way; out-of-range values are clamped. |
shape.baffle.depth | number | yes | Distance from the front wall to the baffle face (m). 0.05 to 1.5. |
shape.baffle.x0 | number | yes | Left edge of the slab (m). Default the whole wall. |
shape.baffle.x1 | number | yes | Right edge of the slab (m). |
shape.baffle.z0 | number | yes | Bottom edge of the slab (m). |
shape.baffle.z1 | number | yes | Top edge of the slab (m). |
shape.baffle.faceMaterialId | id | yes | A wall or panel material record id for the baffle face. An unknown id uses the designer's default and is reported. |
shape.baffle.openings | list of objects | yes | Lined openings through the face, at most 12. One outside the baffle, smaller than 0.05 m, or overlapping an earlier one is dropped and reported; one that comes within 0.05 m of the slab's edge is moved in. |
shape.baffle.openings[].id | id | yes | Stable id (o1, o2, ...), unique among the openings, never reused within a design. |
shape.baffle.openings[].label | text | yes | Display name. |
shape.baffle.openings[].x0 | number | yes | Left edge on the face (m). |
shape.baffle.openings[].x1 | number | yes | Right edge on the face (m). |
shape.baffle.openings[].z0 | number | yes | Bottom edge on the face (m). |
shape.baffle.openings[].z1 | number | yes | Top edge on the face (m). |
shape.baffle.openings[].cavityDepth | number | yes | Depth of the pocket behind the face (m), above 0 and at most the baffle depth. Equal to the baffle depth: the pocket reaches the front wall, whose own finish and panels form its back. |
shape.baffle.openings[].linerMaterialId | id | yes | A panel material record id for the pocket lining. An unknown id uses the designer's default and is reported. |
shape.furniture | list of objects | no | Furniture boxes, at most 12, in stored order. Absent or empty: none. |
shape.furniture[].id | id | yes | Stable id (f1, f2, ...), unique among the furniture, never reused within a design. |
shape.furniture[].label | text | yes | Display name. |
shape.furniture[].kind | "sofa" | "box" | yes | sofa or box. |
shape.furniture[].x | number | yes | Plan centre across the room (m). Kept so the turned box stays inside the room. |
shape.furniture[].y | number | yes | Plan centre from the front wall (m). Kept so the turned box stays inside the room. |
shape.furniture[].width | number | yes | Size across the box before it is turned (m). At least 0.05. |
shape.furniture[].depth | number | yes | Size along the box before it is turned (m). At least 0.05. |
shape.furniture[].height | number | yes | Extent above the base (m), so the top is z0 plus height; for a sofa, the top of the back. Kept under the ceiling. |
shape.furniture[].yaw | number | yes | Turn about the vertical in degrees, -180 to 180. 0: the front (for a sofa, the seat side) faces the screen; positive turns anticlockwise seen from above. |
shape.furniture[].z0 | number | no | Height of the base (m). Absent: 0, on the floor. |
shape.furniture[].materialId | id | yes | A wall or panel record id for a box, a seating record id for a sofa. An unknown id uses the designer's default and is reported. |
shape.furniture[].sofa | object | no | Sofa dimensions, for kind sofa. |
shape.furniture[].sofa.seatHeight | number | yes | Top of the seat block above the base (m). |
shape.furniture[].sofa.backDepth | number | yes | Depth of the back block at the rear of the footprint (m), up to the top of the box. |
Versions
versionis"MAJOR.MINOR". This page describes 1.5.- A minor version only adds optional fields or new allowed values. Every older file stays valid and means the same.
- A major version changes a meaning, a unit or a required field, or removes something. The designer converts files of an older major when it opens them.
- Each version has its own schema file that never changes once released, and
/schema/design/v1.jsonis always the latest 1.x. - A file from a newer minor opens; fields this designer does not know are listed as not used. A file from a newer major does not open: reload to get the latest designer.
- One major number is shared by design files, saved rooms and share links, so everything saved today is design format 1.0.
What the designer accepts
- A design file, as above.
- A bare design object (the contents of
designon its own). - An object with the design under
config.
The last two open as format 1.0, with the note “Opened without a format header”. Files over 1 MB are not read.
How opening a file reports changes
When the designer cannot hold a file exactly as written, it shows every change before opening and asks Open with these changes or Cancel. Nothing a file carries is dropped without being listed.
| Kind | Means | Example |
|---|---|---|
| Clamped | A value outside the designer’s band, moved to the nearest edge | room height 16 m to 15 m |
| Not carried by the designer | More of something than the designer holds | 2 of 6 subs (the designer holds 4): SW, SW1 |
| Dropped | An id the designer does not know, a duplicate, or a reference to nothing | Unknown catalogue id, speaker shown as its type: Rtf acme-x1 |
| Set to the designer’s default | A value outside a closed set, replaced by the default | door wall ceiling to back |
| Not used by this designer | A field this version does not define | design.room.shape |
A file that cannot be opened at all (not JSON, not a design, a wrong type, too many rows or speakers) is refused with the reason and the path of each problem, and nothing on screen changes.
Examples
The smallest useful file: one row with one seat, no speakers.
{
"$schema": "https://openhomeav.com/schema/design/v1.5.json",
"format": "openhomeav-design",
"version": "1.5",
"name": "Small room",
"design": {
"units": "metric",
"room": {
"width": 4,
"length": 5.5,
"height": 2.5
},
"screen": {
"width": 2.2,
"aspect": 1.7777777777777777,
"bottom_z": 0.6,
"center_x": 2
},
"rows": [
{
"y": 3.2,
"eye_z": 1.05,
"head_z": 1.25,
"seat_x": [
2
]
}
]
}
}
The designer’s default design, as its Download writes it (without created).
{
"$schema": "https://openhomeav.com/schema/design/v1.5.json",
"format": "openhomeav-design",
"version": "1.5",
"name": "Cinema design",
"generator": {
"name": "OpenHomeAV Cinema Designer",
"url": "https://openhomeav.com/designer/"
},
"design": {
"units": "metric",
"room": {
"width": 5.5,
"length": 7.5,
"height": 2.8
},
"screen": {
"width": 3,
"aspect": 1.7777777777777777,
"bottom_z": 0.7,
"center_x": 2.75
},
"rows": [
{
"y": 3.6,
"eye_z": 1.1,
"head_z": 1.3,
"seat_x": [
1.85,
2.75,
3.65
]
}
],
"seat_centering": "mlp",
"layout": "5.1",
"speakers": [
{
"channel": "L",
"x": 1.15,
"y": 0.1,
"z": 1.1,
"archetype": "horn_loaded_cd",
"aim": {
"mode": "mlp"
},
"follow": true
},
{
"channel": "C",
"x": 2.75,
"y": 0.1,
"z": 1.1,
"archetype": "horn_loaded_cd",
"aim": {
"mode": "mlp"
},
"follow": true
},
{
"channel": "R",
"x": 4.35,
"y": 0.1,
"z": 1.1,
"archetype": "horn_loaded_cd",
"aim": {
"mode": "mlp"
},
"follow": true
},
{
"channel": "Ls",
"x": 0.1,
"y": 4,
"z": 1.1,
"archetype": "dipole_surround",
"aim": {
"mode": "mlp"
},
"follow": true
},
{
"channel": "Rs",
"x": 5.4,
"y": 4,
"z": 1.1,
"archetype": "dipole_surround",
"aim": {
"mode": "mlp"
},
"follow": true
},
{
"channel": "LFE",
"x": 0.25,
"y": 0.25,
"z": 0,
"archetype": "horn_loaded_cd"
}
],
"amp": {
"power": 150,
"rated_ohms": 8,
"room_gain": 0
},
"door": {
"wall": "back",
"offset": 0.3,
"width": 0.8,
"hinge": "left",
"swing": "in"
},
"finishes": {
"front": "plasterboard_studs",
"back": "plasterboard_studs",
"left": "plasterboard_studs",
"right": "plasterboard_studs",
"ceiling": "plasterboard_studs",
"floor": "carpet_heavy_underlay",
"seating": {
"material": "upholstered_medium",
"occupied": false
}
}
}
}
Write it from OpenSCAD
A small OpenSCAD library, openhomeav_design.scad (MIT licence, in the openscad/ folder of
the OpenHomeAV source), writes this file from a CAD model. You declare the room once, in one
ohav_design(...) call that uses the variables and functions your model already has. The library
echoes the whole file as one line; a command-line tool turns that line into the file and checks it with the
designer’s own reader. It works with OpenSCAD 2021.01 and later.
- Put
use <openhomeav_design.scad>at the top of a model file that includes your CAD. - Call
ohav_design(...)once, as in the example below. - Run
node tools/scad-to-design.mjs model.scad -o room.ohav.json, then open the file in the designer.
| Function | Writes |
|---|---|
ohav_design(name, unit, frame, room, screen, rows, mlp, layout, speakers, amps, projector, door, bass, panels, source) | The file. mlp = [row, seat] picks the main listening position; source lists where each block came from |
ohav_room(width, length, height) | room |
ohav_screen(width or diagonal, aspect, bottom_z, center_x, y_offset, material, gain) | screen |
ohav_row(y, eye_z, head_z, seat_x, riser, seat), ohav_sofa(...), ohav_cinema_seat(...) | One entry of rows and its seat type |
ohav_speaker(channel, pos, model, archetype, aim, amp, body), ohav_sub(...) | One entry of speakers; pos is a point in your model |
ohav_aim_mlp(az, el), ohav_aim_normal(az, el) | Aim at the main listening position, or along the wall’s normal, with optional offsets |
ohav_aim_axis(dir) | A driver axis from your model, turned into offsets from the direction to the main listening position |
ohav_aim_mount(surface, cabinet, facing, yaw, pitch) | The axis the hardware gives: a wedge’s built-in angle and a bracket |
ohav_body(width, height, depth, yaw) | A speaker’s cabinet size |
ohav_amp(id, product, ...) | One entry of amps; a speaker names it with amp |
ohav_projector(product, lens, ...) | projector; a catalogue projector takes its throw ratios from the catalogue |
ohav_door(wall, offset, width, hinge, swing), ohav_bass(sources, loss_rate), ohav_panel(surface, type, u0, u1, v0, v1, thickness) | door, bass, one entry of panels |
Units and axes. unit ("m", "cm", "mm" or
"in") is the unit of every length you pass; the file is always in metres and degrees. Arguments are
named in the designer’s frame (center_x is across the room, y and y_offset
are depths from the screen wall). frame maps points and directions from your model:
"x_across" (the default, your X runs across the room) or "x_depth" (your X runs from the
screen wall into the room and your Y across it).
Numbers and text. Numbers are written to 6 significant digits, about 10 micrometres at room scale. Text is escaped for JSON by the library. An infinite or undefined number stops the run with the name of the field, and so does a channel used twice.
Driver axes. The file has no axis aim. The tool turns each ohav_aim_axis into offsets
from the direction to the main listening position, rounded to 0.01 degrees, with the designer’s own aim rule. The
offsets then follow the listening position if you move the seats in the designer.
Nothing changed silently. The tool refuses any design the designer would change when opening it (a value outside a band, an unknown catalogue id, a fifth subwoofer) and prints the reason, so a file it writes always opens exactly as declared.
The example model (openscad/examples/simple_room.scad), a 5.1.2 room in millimetres:
// SPDX-License-Identifier: MIT
// ============================================================================
// simple_room.scad: a 5.1.2 room declared with openhomeav_design.scad (R34b).
// ============================================================================
// Write its design file:
// node tools/scad-to-design.mjs openscad/examples/simple_room.scad -o simple_room.ohav.json
// The committed openscad/examples/simple_room.ohav.json is that output.
//
// Lengths in millimetres; the model's X runs across the room (the default
// frame), so points pass through as [across, into the room, up].
// ============================================================================
use <../openhomeav_design.scad>
// The model's own named variables, as any CAD model has them.
room_w = 4200;
room_l = 6000;
room_h = 2600;
screen_w = 2600;
screen_bottom = 500;
screen_depth = 100; // screen surface forward of the front wall
row_y = 3600;
ear_z = 1100;
seats = [1500, 2100, 2700];
mlp = [2100, 3600, 1100]; // the middle seat
wedge_angle = 30;
// A front left speaker toed in by eye, not aimed at the seat: its driver
// axis becomes an aim offset from the MLP direction in the file.
front_left = [900, 150, 1000];
front_left_axis = [0.25, 1, -0.02];
ohav_design(
name = "Simple room",
unit = "mm",
room = ohav_room(width = room_w, length = room_l, height = room_h),
screen = ohav_screen(width = screen_w, aspect = 16 / 9, bottom_z = screen_bottom,
center_x = room_w / 2, y_offset = screen_depth),
rows = [ohav_row(y = row_y, eye_z = ear_z, head_z = ear_z + 200, seat_x = seats,
seat = ohav_sofa(width = 2200, depth = 950, back_height = 800))],
mlp = [0, 1],
layout = "5.1.2",
speakers = [
ohav_speaker("L", pos = front_left, model = "ascendo-the6-passive-on-wall",
archetype = "waveguide_dome", aim = ohav_aim_axis(front_left_axis), amp = "a1",
body = ohav_body(260, 440, 94)),
ohav_speaker("C", pos = [room_w / 2, 150, 1000], model = "ascendo-the6-passive-on-wall",
archetype = "waveguide_dome", aim = ohav_aim_mlp(), amp = "a1"),
ohav_speaker("R", pos = [room_w - 900, 150, 1000], model = "ascendo-the6-passive-on-wall",
archetype = "waveguide_dome", aim = ohav_aim_mlp(az = -2.5), amp = "a1"),
ohav_speaker("Ls", pos = [60, 3900, 1300], aim = ohav_aim_normal(), amp = "a1"),
ohav_speaker("Rs", pos = [room_w - 60, 3900, 1300], aim = ohav_aim_normal(), amp = "a1"),
ohav_speaker("Ltm", pos = [1300, 3300, room_h - 100], model = "ascendo-the6-passive-wedge30",
archetype = "waveguide_dome", aim = ohav_aim_mount("ceiling", cabinet = wedge_angle), amp = "a1"),
ohav_speaker("Rtm", pos = [room_w - 1300, 3300, room_h - 100], model = "ascendo-the6-passive-wedge30",
archetype = "waveguide_dome", aim = ohav_aim_mount("ceiling", cabinet = wedge_angle), amp = "a1"),
ohav_sub("LFE", pos = [400, 400, 0])
],
amps = [ohav_amp("a1", product = "denon-avr-x3800h")],
door = ohav_door("right", offset = 4600, width = 900, hinge = "left", swing = "in"),
panels = [ohav_panel("left", "absorber_broadband", u0 = 3000, u1 = 4200, v0 = 800, v1 = 1800, thickness = 100)],
source = [["room", "simple_room.scad room_w, room_l, room_h"],
["speakers", "front_left_axis is a driver axis; the rest aim at the MLP or the wall normal"]]
);
Licence
The format, its JSON Schema and this page are dedicated to the public domain under CC0 1.0. Write the file from any tool.