97FWYmsQVcsTKVtF9eItW8TbrqYV3Az1JYsTaDįUo9Xdv.DvnL2ijtlwiUF+JZ1LTZpObM4eetR4oSAWoySFAWIe3bU9fUH62K TTJscdvBS5Fbqvr5Vk9lqqjqLs+a1hT6JiH4D2irDWK0197BoJ.oUt7tOQoG LFV2rYorBOq8UeuTapU+R5dEgdUR2vkMl0Ri4maksKMVoM3YH7Rg9FL5acyx Q1Am5Qi1TjvBLA9e+tiiyOFGgWVtSViQeF8UTTziwQQvPtAh55Gg2H1sZsnF Wire up swap between two outlets of an unpack and two inlets of a pack to switch the order of those elements in the list.ħ21.3oc4WF0aaCBDG+Y6OEHdNqx.1j3819bLMUQhYszkfirwsYqpe2Gb1oIs Swap is another interesting object to use with lists. Create an unpack object with three arguments and use it to parse the output from pack. Experiment with creating lists of different sizes and sending messages to the any number of the cold inlets before triggering output. The number of arguments you add to the pack object will dictate the length of list that pack creates and also sets the default values for each index of the list. You can make longer lists by adding arguments to the pack object. Send a 4 to the hot inlet, since the cold inlet has note yet been set, pack uses its default value of 0 to complete the list. The leftmost inlet of the pack object is hot and the remaining inlet is cold. By default pack creates lists containing two messages, so it has two inlets. The "pack" object lets you create lists of all different sizes. A list is an ordered series of messages, lists can contain numbers and words. In Max, it's often useful to deal with lists.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |