title: Is a FSM in a state possible?
body: <p>I was wondering whether or not it's possible to implement the following.</p>
  
  <p>What do I want to do?. Imagine the Big Ben's melody. I want to play a fourth of the melody every quarter of an hour. I want a FSM which has the following states:</p>
  
  <ul>
  <li>Whole hour (so xx:00) = (input = 01)</li>
  <li>Quarter past/ Quarter to (so xx:15 / xx:45) = (input = 10)</li>
  <li>Half past (so xx:30) = (input = 11).</li>
  </ul>
  
  <p>(xx = dont care)</p>
  
  <p>For each state, i have another FSM. This FSM will make sure the music will play correctly.</p>
  
  <pre><code>If(state = whole hour)
  {
     switch music_state
     case A
     { play 1 sec, next_music_state = F}
     case and so on ......
  </code></pre>
  
  <p>Does this work? Can I make a FSM which has the different states of an hour, and for each state have another FSM?</p>
  
  <p>If something is unclear, let me know, and I will try to clarify it. I know this part is not that hard, but I am still wondering whether or not this implementation will work. I hope, and also think, it will, though I want to be certain of it.</p>
  
  <p>Thanks a lot in advance!</p>