![Multimedia Programming with Pure Data](https://wfqqreader-1252317822.image.myqcloud.com/cover/979/36705979/b_36705979.jpg)
Creating the first program
Every Pure Data program is a text file with an extension (.pd
). In Pure Data's term, a program is called a patch. Electronic musicians often use cables to connect different devices to produce sound. The cables are referred as patch cables. Since Pure Data is originally a piece of software to produce electronic music, the name patch refers to a Pure Data program.
To create a new patch, navigate to File | New to make an empty patch. From the menu, choose File | Save to save the patch in the folder you plan to store your Pure Data material. Pure Data does not assume a default location for your patches. You can decide where to put them.
![](https://epubservercos.yuewen.com/85E5C4/19470464308255506/epubprivate/OEBPS/Images/4647_01_001.jpg?sign=1739589948-FGvK8xnU2WWXqxKzUqJFDZxJOKhd8NRA-0-81cac7c3b73c5cbb8cdd9f1125d2c05a)
At this point, you will have an empty window with a cursor that appears to be a finger pointing to the left. Before we proceed to the notorious Hello World example, we need to go through the Pure Data interface first.
![](https://epubservercos.yuewen.com/85E5C4/19470464308255506/epubprivate/OEBPS/Images/4647_01_002.jpg?sign=1739589948-EEzyeze0t64J61xuPil66WTIFGcw1YgR-0-133a4d6c8205008bf2b0387ec9f3c259)