There is absolutely no connection between "Baretta" and The Rascals—they exist in entirely different cultural spheres.
Baretta was a 1975–1978 television series starring Robert Blake as an unconventional ex-cop turned private investigator, known for his cockatoo and unorthodox methods.
The Rascals (originally The Young Rascals) were a seminal 1960s blue-eyed soul and rock band from New Jersey, featuring Felix Cavaliere, Eddie Brigati, Gene Cornish, and Dino Danelli. They produced hits like "Good Lovin'," "Groovin'," and "A Beautiful Morning."
The confusion likely stems from similar-sounding names, but the TV show and the band share no members, history, or creative overlap whatsoever.