Software Serial Problem (help, please!)

That code won't link correctly as no blink1 is found.

That's

       while (tag == 0)     
          Timer1.attachInterrupt(blink1, freq_x[p]*1000);
       }

a bad idea as it will wait forever.