pcm comparator and editor