# Patch init

**URL:** <https://forum.electra.one/t/patch-init/1375>\
**Category:** Ideas / Feature requests\
**Tags:** lua\
**Created:** [March 12, 2022, 5:46pm UTC](https://forum.electra.one/t/patch-init/1375 "2022-03-12T17:46:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NewIgnis](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.electra.one/newignis/32/767_2.png) [@NewIgnis](https://forum.electra.one/u/NewIgnis)\
**Post date:** [March 12, 2022, 5:46pm UTC](https://forum.electra.one/t/patch-init/1375/1 "2022-03-12T17:46:41Z")

</div>

A handy feature could be that we could set parameters of a certain type all at once to their default state followed by a global parameter send. This would give us the opportunity to create a **patch initialisation**.

For this to work it would need a function  
**parameterMap.resetAll (default,PT\_SYSEX)** that would then reset all sysex parameters to its default value.  
Then we should be able to use  
**parameterMap.send (deviceId, parameterType, all)** to send them all.
