i=1;

while true
do
    date
    echo "__All Sequence Read Iteration count: $i"
    { sleep 2; echo 18 2; 
      sleep 2; echo 15 804 450100000 158200 0 363372 65920 0 3 7415.771 0 1 2 60267.857 0 3707.885 7 0; sleep 5;
      sleep 2; echo 15 805; sleep 5;
      sleep 2; echo 15 802 400200000 158200 0 363372 65920 0 3 7415.771 0 1 2 60000 0 3707.885; sleep 5;
      sleep 2; echo 15 803; sleep 5;
      sleep 2; echo 15 810  0 0 1 1 0 15; sleep 5;
      sleep 2; echo 15 811; sleep 5;  
      sleep 2; echo 15 815 1000; sleep 30;
      sleep 2; echo 17;} | ./mfcc_sample_app
    ran_num=$(shuf -i 60-60 -n1)
    echo "__After all sequence read iteration $i Sleep Duration is $ran_num"
    sleep $ran_num
    i=$((i+1))
done

