Skip to content

Commit eebb521

Browse files
committed
added attrui and add_attr support
1 parent 0fa3dd6 commit eebb521

File tree

2 files changed

+25
-16
lines changed

2 files changed

+25
-16
lines changed

README.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -128,36 +128,38 @@ The above structure directly maps onto the Python implementation which consists
128128

129129
This turns out to be the most maintainable and flexible way to handle all the differences between the hundreds of Max, MSP, and Jitter objects.
130130

131-
Certain patcher methods are implemented to specialize and ease the creation of certain classes of objects:
131+
A growing list of patcher methods have been implemented to specialize and facilitate the creation of certain classes of objects which require additional configuration:
132132

133-
- `.add_textbox`
134-
- `.add_message`
133+
- `.add_attr`
134+
- `.add_beap`
135+
- `.add_bpatcher`
136+
- `.add_codebox`
137+
- `.add_coll`
135138
- `.add_comment`
136-
- `.add_intbox`
139+
- `.add_dict`
137140
- `.add_floatbox`
138-
- `.add_intparam`
139141
- `.add_floatparam`
140-
- `.add_subpatcher`
141142
- `.add_gen`
143+
- `.add_intbox`
144+
- `.add_intparam`
145+
- `.add_itable`
146+
- `.add_message`
142147
- `.add_rnbo`
143-
- `.add_coll`
144-
- `.add_dict`
148+
- `.add_subpatcher`
145149
- `.add_table`
146-
- `.add_itable`
150+
- `.add_textbox`
147151
- `.add_umenu`
148-
- `.add_bpatcher`
149-
- `.add_beap`
150-
- `.add_codebox`
151152

152153
This is a short list, but the `add_textbox` method alone can handle almost all case. The others are really just there for convenience and to save typing.
153154

154-
Generally, it is recommended to start using `py2max`'s via these `add_<type>` methods, since they have most of the required parameters built into the methods and you can get IDE completion support. Once you are comfortable with the parameters, then use the generic abbreviated form: `add`, which is less typing but you lose the IDE parameter completion support.
155+
Generally, it is recommended to start using `py2max`'s via these `add_<type>` methods, since they have most of the required parameters built into the methods and you can get IDE completion support. Once you are comfortable with the parameters, then use the generic abbreviated form: `add`, which is less typing but tbe tradeoff is you lose the IDE parameter completion support.
155156

157+
## Scripts
156158

157-
## DEVNOTES
159+
The project has a couple of scripts to help with analyzing .maxpat patterns:
158160

159-
- convert maxpat to yaml (see `scripts/convert.py`) for ease of reading during dev
160-
- compare using [deepdiff](https://zepworks.com/deepdiff/current/diff.html), see (`scripts/compare.py`)
161+
- `convert.py`: convert maxpat to yaml for ease of reading during dev
162+
- `compary.py`: compare using [deepdiff](https://zepworks.com/deepdiff/current/diff.html)
161163

162164

163165
## Credits and Licensing

TODO.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,11 @@ Implement more objects: especially containers / objects with state stored in the
3333

3434

3535

36+
## Development Notes
37+
38+
- convert maxpat to yaml (see `scripts/convert.py`) for ease of reading during dev
39+
- compare using [deepdiff](https://zepworks.com/deepdiff/current/diff.html), see (`scripts/compare.py`)
40+
41+
42+
3643

0 commit comments

Comments
 (0)