- 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.
推薦閱讀
- 過程控制工程及仿真
- Getting Started with Clickteam Fusion
- 大數據處理平臺
- 網絡綜合布線設計與施工技術
- Ruby on Rails敏捷開發最佳實踐
- 網中之我:何明升網絡社會論稿
- 網絡管理工具實用詳解
- 統計挖掘與機器學習:大數據預測建模和分析技術(原書第3版)
- MATLAB-Simulink系統仿真超級學習手冊
- Effective Business Intelligence with QuickSight
- 中文版Photoshop情境實訓教程
- ARM? Cortex? M4 Cookbook
- Internet of Things for Architects
- 自動控制原理
- 新手學Illustrator CS6平面廣告設計