implemented wave types as functions, for extensibility to let users define their own wave-types
implemented wave types as functions, for extensibility to let users define their own wave-types

jdan/Melopy,juliowaissman/Melopy