Pages

Friday, January 14, 2011

Strings



A string datatype is a datatype modeled on the idea of a formal string. Strings are such an important and useful datatype that they are implemented in nearly every programming language. In some languages they are available as primitive types and in others as composite types. The syntax of most high-level programming languages allows for a string, usually quoted in some way, to represent an instance of a string datatype; such a meta-string is called a literal or string literal.A variable declared to have a string data type usually causes storage to be allocated in memory that is capable of holding some predetermined number of symbols. When a string appears literally in source code, it is known as a string literal and has a representation that denotes it as such.

Some string instruments have keyboards attached which are manipulated by the player, meaning they do not have to pay attention to the strings directly. The most familiar example is the piano, where the keys control the felt hammers by means of a complex mechanical action. Other string instruments with a keyboard include the clavichord (where the strings are struck by tangents), and the harpsichord (where the strings are plucked by tiny plectra).

With these keyboard instruments too, the strings are occasionally plucked or bowed by hand. Composers such as Henry Cowell wrote music which asks for the player to reach inside the piano and pluck the strings directly, or to "bow" them with bow hair wrapped around the strings, or play them by rolling the bell of a brass instrument such as a trombone on the array of strings.Other keyed string instruments, small enough to be held by a strolling player, include the plucked autoharp, the bowed nyckelharpa, and the hurdy gurdy, which is played by cranking a rosined wheel.

Steel-stringed instruments (such as the guitar, bass, violin, etc.) can be played using a magnetic field. An E-Bow is small hand-held battery-powered device which can be used to excite the strings of an electric guitar. It provides a sustained, singing tone on the string which is magnetically vibrated.

Likewise,3rd Bridge is a plucking method where the string is divided in two pieces and struck at the side which is unamplified. The technique is mainly used on electric instruments, because these have a pickup which amplifies only the local string vibration. It's possible on acoustic instruments as well, but lesser convenient. For instance press on the 7th fret on a guitar and pluck it at the head side and a tone will resonate at the opposed part. At electric instruments this technique can generate multitone sounds remniscent of a clock or a bell.

0 comments:

Post a Comment