[Faransky] has created a very impressive Arduino function generator that doesn’t skimp ... you could delete those components in favor of a 5V AC/DC adapter.