ABSTRACT

This chapter learns how to write own classes to cover possible scenarios that are not covered by the array of Pyo classes. It helps decypher certain concepts of Object-Oriented Programming, and will clear any confusion on certain terminology the people have used so far. Python supports the concept of inheritance in classes, where a class that they define can inherit variables and methods from another class, called the super class or the parent class. The class that inherits is called the subclass, or child class. The rising part is created by dividing the output of the Phasor by the breakpoint, and letting that through only when the Phasor's output is less than the breakpoint. Even though Pyo is a complete toolkit that can cover a very wide range of applications with its native classes, the people might find themselves in a situation where they need to write their own class, for a certain functionality.