Multi-examine

version 3 by Jon Ingold

  • Home page
  • Beginning
  • Previous



  • Example: *** Tuning Up - An orchestra with sections that can be listened to individually.

         "Tuning Up"

        Include Multi-examine by Jon Ingold.
        
        The Pit is a room. "How a large orchestra fits into such a tiny box never ceases to be amazing. Sound fills the tiny space - squawks and warbles from the various sections: the brass, the strings, the woodwind and the percussion."

        In the pit is a lectern. On the lectern is a manuscript score. The player is carrying a baton.

        When play begins: say "The opera is about to begin. Time for a final tune up - your players begin to test their notes, listening all the while to the sound of the oboe..."

        An instrument is a kind of thing. The group description of instruments is "A fine collection of players, the very best there are." Understand "player" as an instrument. Understand "players" as the plural of instrument.

        Brass is a kind of instrument. The group description of brass is "All the brass players are men the size of winnebagoes." Understand "brass" as the plural of brass.

        Woodwind is a kind of instrument. The group description of woodwind is "The wind players are a mixture of men and women, all huffing and puffing their cheeks. Most unprofessional." Understand "wind/woodwind" as the plural of woodwind.

        Percussion is a kind of instrument. The group description of percussion is "The percussion set is strimmed down for the space to just a gong and a big bass drum for the exciting parts." Understand "percussion" as the plural of percussion.

        A stringed instrument is a kind of instrument. The plural of stringed instrument is strings. Understand "strings" as the plural of stringed instruments. The group description of stringed instruments is "Fine ladies wearing long evenings dresses, hair sweeping down over their bows. And one man with thick glasses and a worried expression."

        A trumpet, a trombone and a tuba are brass in the pit.
        A violin, a cello and a double bass are stringed instruments in the pit.
        An oboe, a clarinet and a flute are woodwind in the pit.
        A gong and a bass drum are percussion in the pit.

    An example of intervening in the usual process.

        An instrument can be soprano, alto or bass-clef. An instrument is usually bass-clef.

        The violin, oboe, flute and trumpet are soprano.
        The cello, trombone and clarinet are alto.

        Instead of multiexamining when considering only soprano instruments:
            let L be a list of objects;
            let L be the multiple object list;
            say "The [L] are twittering away like sparrows.";
            forget remaining objects.

    A new multiple action, so we can solve the puzzle of tuning up:

        Multilistening is an action applying to one thing. Multilistening is a multiple action.
        Understand "listen to [things]" as multilistening.

        Check multilistening when not really doing a multiple action (this is the divert to listen rule):
            try listening to the noun instead.

        Check multilistening (this is the check listening classes rule):
            if we can't find a representative, try listening to the location instead.

        A thing has some text called group sound.

        The group sound of percussion is "The percussion don't have anything to tune. They're just hitting things for fun."
        The group sound of brass is "The trombone is sharp. As always.[sharp-brass]".
        The group sound of strings is "The strings all seem fine."
        The group sound of woodwind is "They're shrill and unpleasant, obviously, but they're all perfectly in tune."
        The group sound of instruments is "You should listen to each section in turn until you find who's playing out of tune."

        Report multilistening (this is the print group sound rule):
            if we can print a group sound for the representative object, rule succeeds;
            try listening to the location instead.

        Instead of listening to the Pit:
            say "Someone is quite clearly out of tune, but who?"
        
        Instead of listening to an instrument in the Pit:
            say the group sound of the noun instead.
        
        To say sharp-brass:
            end the game saying "You found the culprit".

        Test me with "x players / x brass / x strings / x flute and oboe / x woodwind / x lectern and oboe / listen / listen to violin / listen to brass".