Download all .pd files into one folder and run the scale it_tone.pd
Comments in the patches should explain the functionality.
The patches were created on pure data vanilla 0.50 with help of library cyclone (please [download the library][1] before using the patches).
[1]: https://puredata.info/downloads/cyclone