This method will decode both AM and SSB, although if the phase cannot be determined a more complex setup is required.