Daniel@0: function val = get(p, propName) Daniel@0: % GET Get properties from the MIRpitch object Daniel@0: % and return the value Daniel@0: Daniel@0: switch propName Daniel@0: case 'Amplitude' Daniel@0: val = p.amplitude; Daniel@0: otherwise Daniel@0: val = get(mirscalar(p),propName); Daniel@0: end