Gave up on the flute thing. Given that the puzzles up to this point are either non-sensical or trivial, I guess I might be missing something stupid in any case.
the bird in the boy's pocket gives you the notes for the flute