Catalyzes an oxidative deamination of predominantly hydrophobic and aromatic L-amino acids. Metabolizes sarcosine, L-pipecolic acid and L-proline (By similarity). H2O + O2 + sarcosine = formaldehyde + glycine + H2O2 L-pipecolate + O2 = H(+) + H2O2 + L-1-piperideine-6-carboxylate an L-alpha-amino acid + H2O + O2 = a 2-oxocarboxylate + H2O2 + NH4(+) In the N-terminal section; belongs to the MSOX/MTOX family. In the C-terminal section; belongs to the flavin monoamine oxidase family.