[{"data":1,"prerenderedAt":695},["ShallowReactive",2],{"navigation_docs":3,"-shaders-presets":271,"-shaders-presets-surround":690},[4,35,70,120,154,183,217,246,261],{"title":5,"path":6,"stem":7,"children":8,"page":34},"Getting started","\u002Fgetting-started","1.getting-started",[9,14,19,24,29],{"title":10,"path":11,"stem":12,"icon":13},"What is ISF Studio","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":15,"path":16,"stem":17,"icon":18},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":20,"path":21,"stem":22,"icon":23},"Your first shader","\u002Fgetting-started\u002Ffirst-shader","1.getting-started\u002F3.first-shader","i-lucide-code-2",{"title":25,"path":26,"stem":27,"icon":28},"Your first pipeline","\u002Fgetting-started\u002Ffirst-pipeline","1.getting-started\u002F4.first-pipeline","i-lucide-workflow",{"title":30,"path":31,"stem":32,"icon":33},"Interface tour","\u002Fgetting-started\u002Finterface-tour","1.getting-started\u002F5.interface-tour","i-lucide-layout-panel-left",false,{"title":36,"path":37,"stem":38,"children":39,"page":34},"Library","\u002Flibrary","2.library",[40,45,50,55,60,65],{"title":41,"path":42,"stem":43,"icon":44},"The explorer","\u002Flibrary\u002Fexplorer","2.library\u002F1.explorer","i-lucide-folder-tree",{"title":46,"path":47,"stem":48,"icon":49},"Organizing files","\u002Flibrary\u002Forganizing-files","2.library\u002F2.organizing-files","i-lucide-files",{"title":51,"path":52,"stem":53,"icon":54},"Images and gallery","\u002Flibrary\u002Fimages-and-gallery","2.library\u002F3.images-and-gallery","i-lucide-image",{"title":56,"path":57,"stem":58,"icon":59},"Sharing","\u002Flibrary\u002Fsharing","2.library\u002F4.sharing","i-lucide-package",{"title":61,"path":62,"stem":63,"icon":64},"Installing in software","\u002Flibrary\u002Finstalling-in-software","2.library\u002F5.installing-in-software","i-lucide-folder-input",{"title":66,"path":67,"stem":68,"icon":69},"OpenFX plug-ins","\u002Flibrary\u002Fopenfx-plugins","2.library\u002F6.openfx-plugins","i-lucide-plug",{"title":71,"path":72,"stem":73,"children":74,"page":34},"Shaders","\u002Fshaders","3.shaders",[75,80,85,90,95,100,105,110,115],{"title":76,"path":77,"stem":78,"icon":79},"The code editor","\u002Fshaders\u002Fcode-editor","3.shaders\u002F1.code-editor","i-lucide-square-code",{"title":81,"path":82,"stem":83,"icon":84},"The ISF header","\u002Fshaders\u002Fisf-header","3.shaders\u002F2.isf-header","i-lucide-braces",{"title":86,"path":87,"stem":88,"icon":89},"The preview","\u002Fshaders\u002Fpreview","3.shaders\u002F3.preview","i-lucide-monitor-play",{"title":91,"path":92,"stem":93,"icon":94},"Input controls","\u002Fshaders\u002Finput-controls","3.shaders\u002F4.input-controls","i-lucide-sliders-horizontal",{"title":96,"path":97,"stem":98,"icon":99},"Presets","\u002Fshaders\u002Fpresets","3.shaders\u002F5.presets","i-lucide-bookmark",{"title":101,"path":102,"stem":103,"icon":104},"Console and fixes","\u002Fshaders\u002Fconsole","3.shaders\u002F6.console","i-lucide-terminal",{"title":106,"path":107,"stem":108,"icon":109},"Shader templates","\u002Fshaders\u002Ftemplates","3.shaders\u002F7.templates","i-lucide-layout-template",{"title":111,"path":112,"stem":113,"icon":114},"Vertex shaders","\u002Fshaders\u002Fvertex-shaders","3.shaders\u002F8.vertex-shaders","i-lucide-shapes",{"title":116,"path":117,"stem":118,"icon":119},"Font images","\u002Fshaders\u002Ffont-images","3.shaders\u002F9.font-images","i-lucide-type",{"title":121,"path":122,"stem":123,"children":124,"page":34},"Pipelines","\u002Fpipelines","4.pipelines",[125,129,134,139,144,149],{"title":126,"path":127,"stem":128,"icon":28},"Concepts","\u002Fpipelines\u002Fconcepts","4.pipelines\u002F1.concepts",{"title":130,"path":131,"stem":132,"icon":133},"Editing a graph","\u002Fpipelines\u002Fediting-graphs","4.pipelines\u002F2.editing-graphs","i-lucide-mouse-pointer-click",{"title":135,"path":136,"stem":137,"icon":138},"Node catalog","\u002Fpipelines\u002Fnode-catalog","4.pipelines\u002F3.node-catalog","i-lucide-boxes",{"title":140,"path":141,"stem":142,"icon":143},"Toolbox and snippets","\u002Fpipelines\u002Fsnippets-and-toolbox","4.pipelines\u002F4.snippets-and-toolbox","i-lucide-toolbox",{"title":145,"path":146,"stem":147,"icon":148},"Composing","\u002Fpipelines\u002Fcomposing","4.pipelines\u002F5.composing","i-lucide-combine",{"title":150,"path":151,"stem":152,"icon":153},"Macros","\u002Fpipelines\u002Fmacros","4.pipelines\u002F6.macros","i-lucide-package-plus",{"title":155,"path":156,"stem":157,"children":158,"page":34},"Media and inputs","\u002Fmedia","5.media",[159,164,168,173,178],{"title":160,"path":161,"stem":162,"icon":163},"Resources","\u002Fmedia\u002Fresources","5.media\u002F1.resources","i-lucide-clapperboard",{"title":165,"path":166,"stem":167,"icon":163},"Export a video","\u002Fmedia\u002Fvideo-export","5.media\u002F2.video-export",{"title":169,"path":170,"stem":171,"icon":172},"Videos and sounds","\u002Fmedia\u002Fvideos-and-sounds","5.media\u002F3.videos-and-sounds","i-lucide-audio-lines",{"title":174,"path":175,"stem":176,"icon":177},"MIDI","\u002Fmedia\u002Fmidi","5.media\u002F4.midi","i-lucide-sliders-vertical",{"title":179,"path":180,"stem":181,"icon":182},"OSC","\u002Fmedia\u002Fosc","5.media\u002F5.osc","i-lucide-radio-tower",{"title":184,"path":185,"stem":186,"children":187,"page":34},"Workspace","\u002Fworkspace","6.workspace",[188,193,198,203,208,213],{"title":189,"path":190,"stem":191,"icon":192},"Tabs and layout","\u002Fworkspace\u002Ftabs-and-layout","6.workspace\u002F1.tabs-and-layout","i-lucide-columns-2",{"title":194,"path":195,"stem":196,"icon":197},"History and clipboard","\u002Fworkspace\u002Fhistory-and-clipboard","6.workspace\u002F2.history-and-clipboard","i-lucide-history",{"title":199,"path":200,"stem":201,"icon":202},"Saving and drafts","\u002Fworkspace\u002Fsaving","6.workspace\u002F3.saving","i-lucide-save",{"title":204,"path":205,"stem":206,"icon":207},"Shortcuts","\u002Fworkspace\u002Fshortcuts","6.workspace\u002F4.shortcuts","i-lucide-keyboard",{"title":209,"path":210,"stem":211,"icon":212},"Preferences","\u002Fworkspace\u002Fpreferences","6.workspace\u002F5.preferences","i-lucide-settings",{"title":56,"path":214,"stem":215,"icon":216},"\u002Fworkspace\u002Fsharing","6.workspace\u002F6.sharing","i-lucide-share-2",{"title":218,"path":219,"stem":220,"children":221,"page":34},"Reference","\u002Freference","7.reference",[222,226,231,236,241],{"title":223,"path":224,"stem":225,"icon":84},"ISF header","\u002Freference\u002Fisf-header-reference","7.reference\u002F1.isf-header-reference",{"title":227,"path":228,"stem":229,"icon":230},"File formats","\u002Freference\u002Ffile-formats","7.reference\u002F2.file-formats","i-lucide-file-archive",{"title":232,"path":233,"stem":234,"icon":235},"Troubleshooting","\u002Freference\u002Ftroubleshooting","7.reference\u002F3.troubleshooting","i-lucide-life-buoy",{"title":237,"path":238,"stem":239,"icon":240},"ISF specifications","\u002Freference\u002Fisf-specifications","7.reference\u002F4.isf-specifications","i-lucide-book-marked",{"title":242,"path":243,"stem":244,"icon":245},"Pipeline text","\u002Freference\u002Fpipeline-text","7.reference\u002F5.pipeline-text","i-lucide-bot-message-square",{"title":247,"path":248,"stem":249,"children":250,"page":34},"For developers","\u002Fruntime","8.runtime",[251,256],{"title":252,"path":253,"stem":254,"icon":255},"Playing pipelines and shaders","\u002Fruntime\u002Fplaying-pipelines","8.runtime\u002F1.playing-pipelines","i-lucide-play",{"title":257,"path":258,"stem":259,"icon":260},"Listening to sound","\u002Fruntime\u002Flistening-to-sound","8.runtime\u002F2.listening-to-sound","i-lucide-audio-waveform",{"title":262,"path":263,"stem":264,"children":265,"page":34},"Licensing","\u002Flicensing","9.licensing",[266],{"title":267,"path":268,"stem":269,"icon":270},"Pricing","\u002Flicensing\u002Fpricing","9.licensing\u002F1.pricing","i-lucide-badge-euro",{"id":272,"title":96,"body":273,"description":683,"extension":684,"links":685,"meta":686,"navigation":687,"path":97,"seo":688,"stem":98,"__hash__":689},"docs\u002F3.shaders\u002F5.presets.md",{"type":274,"value":275,"toc":673},"minimark",[276,294,300,305,340,343,347,354,457,460,482,485,489,503,526,541,558,562,577,603,606,609,639,650,654],[277,278,279,280,284,285,289,290,293],"p",{},"A preset is the state of the ",[281,282,283],"a",{"href":92},"input controls"," at a given moment: a calm version, a wild one, the one for the second chorus. Save it once, and recall it with one click. Presets exist for ",[286,287,288],"strong",{},"shaders"," and for ",[286,291,292],{},"pipelines",".",[277,295,296,297,299],{},"They are at the bottom left of the input controls. The button shows the name of the preset in use, or ",[286,298,96],{}," when there is none.",[301,302,304],"h2",{"id":303},"what-a-preset-keeps","What a preset keeps",[306,307,308,316,322,333],"ul",{},[309,310,311,312,315],"li",{},"the ",[286,313,314],{},"value"," of each input: sliders, options, checkboxes, colours and points;",[309,317,311,318,321],{},[286,319,320],{},"source"," of each image input: a file of the library, or a built-in image or video;",[309,323,324,325,328,329,332],{},"how each ",[286,326,327],{},"video"," and ",[286,330,331],{},"sound"," plays: play or pause, loop, muted;",[309,334,335,336,339],{},"which ",[286,337,338],{},"point2D"," inputs follow the mouse, and whether they are normalised.",[277,341,342],{},"A camera is not kept: it is a device of your computer, not a setting. A camera that is open stays as it is when you recall a preset.",[301,344,346],{"id":345},"save-recall-change","Save, recall, change",[277,348,349,350,353],{},"The ",[286,351,352],{},"+"," button, left of the name, saves the inputs as a new preset. The menu of the name lists the presets.",[355,356,357,370],"table",{},[358,359,360],"thead",{},[361,362,363,367],"tr",{},[364,365,366],"th",{},"Action",[364,368,369],{},"What it does",[371,372,373,390,398,414,424,439],"tbody",{},[361,374,375,382],{},[376,377,378,381],"td",{},[286,379,380],{},"Defaults"," (first of the list)",[376,383,384,385,389],{},"Gives the inputs back to the ",[386,387,388],"code",{},"DEFAULT"," of the header: the sources of the images and what the inputs are bound to stay. No preset is in use then.",[361,391,392,395],{},[376,393,394],{},"A preset in the list",[376,396,397],{},"Gives the inputs the state of the preset. It becomes the preset in use, and is ticked.",[361,399,400,408],{},[376,401,402,404,405],{},[286,403,352],{},", or ",[286,406,407],{},"Save as a new preset…",[376,409,410,411,293],{},"Asks for a name and keeps the inputs as they are. A name that is taken gets a number: ",[386,412,413],{},"Calm 2",[361,415,416,421],{},[376,417,418],{},[286,419,420],{},"Update \"name\"",[376,422,423],{},"Keeps the inputs as they are in the preset in use. Available once the inputs have moved away from it.",[361,425,426,436],{},[376,427,428,431,432,435],{},[286,429,430],{},"Update a preset"," (",[286,433,434],{},"Update another preset"," when one is in use)",[376,437,438],{},"A list of the other presets: keeps the inputs as they are in the one you choose, which becomes the preset in use. After a restart no preset is in use, so this is where to update one.",[361,440,441,446],{},[376,442,443],{},[286,444,445],{},"Manage presets…",[376,447,448,449,451,452,456],{},"A dialog that lists the ",[286,450,380],{}," and the presets, to rename them, keep the inputs in one of them, delete it, or ",[281,453,455],{"href":454},"#bind-a-preset","bind it"," to a MIDI control or an OSC address. The inputs stay as they are.",[277,458,459],{},"A small dot beside the name says that the inputs changed since the preset in use. Move them back, and the dot goes.",[277,461,462,463,466,467,469,470,473,474,477,478,481],{},"Recalling a preset ",[286,464,465],{},"replaces"," what you gave the inputs: an input the preset does not mention goes back to the ",[386,468,388],{}," of the header. Presets are not written in the shader, ",[286,471,472],{},"Reset"," of the panel brings the inputs back to the preset in use (the defaults when none is), and ",[286,475,476],{},"Save as defaults"," works as before (see ",[281,479,91],{"href":480},"\u002Fshaders\u002Finput-controls#save-as-defaults-reset",").",[277,483,484],{},"If you rename or remove an input of the shader afterwards, the presets still work: what they say of an input that is gone is ignored, and a new input keeps its default.",[301,486,488],{"id":487},"bind-a-preset","Bind a preset",[277,490,491,492,494,495,498,499,502],{},"Each preset, and the ",[286,493,380],{},", can be recalled from a ",[286,496,497],{},"MIDI note or control",", or from an ",[286,500,501],{},"OSC address",": the pads of a controller become the scenes of a show.",[504,505,506,511,523],"ol",{},[309,507,508,509,293],{},"Open ",[286,510,445],{},[309,512,513,514,516,517,519,520,522],{},"On the line of the preset (or of ",[286,515,380],{},"), press ",[286,518,174],{}," or ",[286,521,179],{},": it says it is waiting.",[309,524,525],{},"Play the note, move the control past its first value, or send the message. The line tells what the preset is bound to.",[277,527,528,529,532,533,536,537,540],{},"From then on that note, that control reaching the half, or that message gives the inputs the state of the preset, which becomes the preset in use. A control that stays at the top recalls it ",[286,530,531],{},"once",": it must come back down to recall it again. ",[286,534,535],{},"Unbind"," frees it, and a small MIDI or OSC mark beside the name in the list says which presets are bound. ",[286,538,539],{},"Esc"," stops the waiting.",[277,542,543,544,547,548,552,553,557],{},"The binding of a preset is ",[286,545,546],{},"not part of the preset",": recalling or updating a preset never changes which control recalls which. It is kept with the other ",[281,549,551],{"href":550},"\u002Fmedia\u002Fmidi#where-the-bindings-are-kept","bindings"," of the document, and goes when its preset is deleted. A control that is also bound to an input does both. In the same way, each item of a list has a ",[281,554,556],{"href":555},"\u002Fmedia\u002Fmidi#a-button-for-each-item-of-a-list","button"," of its own.",[301,559,561],{"id":560},"where-they-are-kept","Where they are kept",[277,563,564,565,568,569,572,573,576],{},"In the library, in a hidden folder: ",[386,566,567],{},".isf-studio\u002Fpresets\u002F",", with one small file for each shader or pipeline (",[386,570,571],{},".isf-studio\u002Fpresets\u002Ffx\u002Frings.fs.json"," for ",[386,574,575],{},"fx\u002Frings.fs","). The explorer does not show it.",[306,578,579,586,589,592],{},[309,580,581,582,585],{},"They ",[286,583,584],{},"follow the file",": rename it, move it, copy it in Studio, and its presets go with it. A file that is sent to the Trash takes its presets with it, and a file that comes back from the Trash does not bring them back.",[309,587,588],{},"A file moved in the Finder leaves its presets behind: move it in Studio instead.",[309,590,591],{},"To keep them elsewhere, copy the library folder with its hidden folder.",[309,593,594,595,598,599,293],{},"What the inputs of a shader are bound to (the mouse, MIDI) is kept in the same hidden folder, in ",[386,596,597],{},".isf-studio\u002Fbindings\u002F",", and follows the file in the same way. See ",[281,600,602],{"href":601},"\u002Fshaders\u002Finput-controls#bind-an-input","Bind an input",[301,604,56],{"id":605},"sharing",[277,607,608],{},"Presets travel inside the archives of Studio:",[306,610,611,621,630],{},[309,612,613,614,431,617,620],{},"a ",[286,615,616],{},"pipeline",[386,618,619],{},".istpipe",") carries its presets: Studio writes them in the file each time it saves the pipeline. Open a pipeline someone sent you, and its presets are there, kept in your library from then on. Delete them all, and they do not come back from the archive;",[309,622,613,623,431,626,629],{},[286,624,625],{},"shader bundle",[386,627,628],{},".istshader",") carries the presets of the shader, and unpacking it keeps them for the shader it makes;",[309,631,613,632,431,635,638],{},[286,633,634],{},"library",[386,636,637],{},".istlib",") carries the presets of its shaders and of its pipelines, and unpacking it keeps them for what it makes.",[277,640,641,642,645,646,649],{},"A ",[386,643,644],{},".fs"," file alone does not carry them, and neither do ",[286,647,648],{},"Export, To Folder"," or a ZIP archive.",[301,651,653],{"id":652},"in-the-free-edition","In the free edition",[277,655,656,657,660,661,664,665,667,668,670,671,293],{},"A shader or a pipeline keeps ",[286,658,659],{},"3 presets",". The menu says ",[286,662,663],{},"Pro"," on ",[286,666,407],{}," once you have them, and so does the title of the ",[286,669,352],{}," button. The ones you have stay, and can still be updated, renamed and deleted. See ",[281,672,267],{"href":268},{"title":674,"searchDepth":675,"depth":675,"links":676},"",2,[677,678,679,680,681,682],{"id":303,"depth":675,"text":304},{"id":345,"depth":675,"text":346},{"id":487,"depth":675,"text":488},{"id":560,"depth":675,"text":561},{"id":605,"depth":675,"text":56},{"id":652,"depth":675,"text":653},"Keep the state of the inputs of a shader or a pipeline, and come back to it with one click.","md",null,{},{"icon":99,"title":96},{"title":96,"description":683},"3rEDVk75mfY6U_nSL-BXWPXjtnnTAthhkIX6tD0p0Uo",[691,693],{"title":91,"path":92,"stem":93,"description":692,"icon":94,"children":-1},"Drive the inputs of a shader while it runs.",{"title":101,"path":102,"stem":103,"description":694,"icon":104,"children":-1},"Compile errors, header problems and one-click fixes.",1796047425738]