- Multimedia Programming with Pure Data
- Bryan WC Chung
- 307字
- 2021-08-13 16:53:19
Understanding the terms and interface
There are a number of terms we need to clarify before we proceed.
- Operation modes: Pure Data works in two modes: Edit Mode and Run Mode. In Edit Mode, you can create and modify your program source in the patch window. In Run Mode, you execute the patch and modify data. Nevertheless, the patch will not stop playing when you switch between Edit and Run mode. You switch between the two modes by navigating to Edit | Edit mode. In Edit Mode, the cursor is a finger. In Run Mode, the cursor is the normal pointer. You can also use the keyboard shortcuts Command + E for Mac and Ctrl + E for Windows.
- Programming elements: All programming elements in Pure Data are either object or data. Objects are functional elements that mainly perform tasks. Data will be the material that objects operate with. For example, a Pure Data object
print
will display text messages on screen whereas thedatum
message will be the text to be displayed. Programming in Pure Data involves putting objects and data in the patch window—canvas, and connecting them together. - Input/output: Programming in Pure Data involves connecting the output from one item to the input of another item. Nevertheless, Pure Data uses the terms inlet and outlet, instead of input and output. We'll see an example in the next section.
- Windows: Each Pd patch comes with its canvas window. The other window with a lot of messages is the console window. You may need to pay attention to the console window, as it will show you the error messages in case you come into problem. To clear messages in the console window, choose Edit | Clear console. The keyboard shortcut is Shift + Command + L in Mac, Shift + Ctrl + L for Windows.
推薦閱讀
- 32位嵌入式系統與SoC設計導論
- Effective DevOps with AWS
- 數據運營之路:掘金數據化時代
- Expert AWS Development
- 21天學通C語言
- 信息物理系統(CPS)測試與評價技術
- 工業機器人安裝與調試
- Pentaho Analytics for MongoDB
- Photoshop CS5圖像處理入門、進階與提高
- Ansible 2 Cloud Automation Cookbook
- Excel 2007終極技巧金典
- AVR單片機工程師是怎樣煉成的
- 智能制造系統及關鍵使能技術
- Machine Learning with Spark(Second Edition)
- 計算機硬件技術基礎(第2版)