Phase 2 - Embedding inspection

Music RAG Lab

Follow a public-domain book from its original text through cleaning, chunking, and a real server-side embedding request.

  1. Original document
  2. Clean text
  3. Chunks
  4. Embedding
  5. Database
  6. Retrieval
01

Unmodified input

Original Source

Title
Music: An Art and a Language
Characters
714,178
Approx. words
115,122
Stored at
data/source/music-an-art-and-a-language.txt

Beginning of the downloaded file

The Project Gutenberg eBook of Music: An Art and a Language
    
This eBook is for the use of anyone anywhere in the United States and
most other parts of the world at no cost and with almost no restrictions
whatsoever. You may copy it, give it away or re-use it under the terms
of the Project Gutenberg License included with this eBook or online
at www.gutenberg.org. If you are not located in the United States,
you will have to check the laws of the country where you are located
before using this eBook.

Title: Music: An Art and a Language

Author: Walter Raymond Spalding


        
Release date: November 28, 2009 [eBook #30560]
                Most recently updated: January 5, 2021

Language: English

Other information and formats: www.gutenberg.org/ebooks/30560

Credits: Produced by Adam Buchbinder, Linda Cantoni, and the Online
        Distributed Proofreading Team at https://www.pgdp....
02

Wrapper removed

Cleaned Source

Characters
694,130
Approx. words
112,004
Characters removed
20,048
Method
Conservative marker cleanup

Beginning after cleaning

[Transcriber's Note: Obvious printer errors have been corrected.
Questionable text is marked with a [Transcriber's Note]. A macron over
a letter is represented by an equal sign, e.g., punct[=u]s. A caron
over a letter is represented by a v, e.g., Dvo[vr]ak.]

MUSIC: AN ART AND A LANGUAGE

BY

WALTER RAYMOND SPALDING

_Price $2.50 net_

THE ARTHUR P. SCHMIDT CO.

BOSTON
120 BOYLSTON STREET

NEW YORK
8 WEST 40th STREET

Copyright, 1920, by THE ARTHUR P. SCHMIDT CO.

International Copyright Secured

A.P.S. 11788

TO MY COLLEAGUES
IN THE DEPARTMENT OF MUSIC
AT HARVARD UNIVERSITY

WILLIAM CLIFFORD HEILMAN, EDWARD BURLINGAME HILL,
ARCHIBALD THOMPSON DAVISON, EDWARD BALLANTINE

SUPPLEMENTARY
ILLUSTRATIONS

for

_MUSIC:
an ART and a LANGUAGE_

Vols. I & II now ready

(_Schmidt's Educational Series No. 257-a, b_)

Price $1.00 each volume

Preface

Although "of the making of books there is no end,...
03

Retrieval-sized pieces

Chunks

Total chunks
463
Target chunk size
2,000 characters
Target overlap
300 characters
Currently showing
First 6
Highlighted text is repeated from the end of the previous chunk.

Chunk 1

Characters
1,997
Source range
0-1997
Overlap from previous chunk
0
[Transcriber's Note: Obvious printer errors have been corrected.
Questionable text is marked with a [Transcriber's Note]. A macron over
a letter is represented by an equal sign, e.g., punct[=u]s. A caron
over a letter is represented by a v, e.g., Dvo[vr]ak.]

MUSIC: AN ART AND A LANGUAGE

BY

WALTER RAYMOND SPALDING

_Price $2.50 net_

THE ARTHUR P. SCHMIDT CO.

BOSTON
120 BOYLSTON STREET

NEW YORK
8 WEST 40th STREET

Copyright, 1920, by THE ARTHUR P. SCHMIDT CO.

International Copyright Secured

A.P.S. 11788

TO MY COLLEAGUES
IN THE DEPARTMENT OF MUSIC
AT HARVARD UNIVERSITY

WILLIAM CLIFFORD HEILMAN, EDWARD BURLINGAME HILL,
ARCHIBALD THOMPSON DAVISON, EDWARD BALLANTINE

SUPPLEMENTARY
ILLUSTRATIONS

for

_MUSIC:
an ART and a LANGUAGE_

Vols. I & II now ready

(_Schmidt's Educational Series No. 257-a, b_)

Price $1.00 each volume

Preface

Although "of the making of books there is no end," this book, on so
human a subject as music, we believe should justify itself. A
twenty-years' experience in teaching the Appreciation of Music at
Harvard University and Radcliffe College has convinced the author that
a knowledge of musical grammar and structure does enable us, as the
saying is, to get more out of music. This conviction is further
strengthened by the statement of numerous students who testify that
after analyzing certain standard compositions their attitude towards
music has changed and their love for it greatly increased.

In the illustrations (published in a Supplementary Volume) no
concessions have been made to so-called "popular taste"; people have
an instinctive liking for the best when it is fairly put before them.
We are not providing a musical digest, since music requires _active
cooperation_ by the hearer, nor are we trying to interpret music in
terms of the other arts. Music is itself. For those who may be
interested in speculating as to the connection between music and art,
numerous books are available--some of them excellent from their point
of view.

Chunk 2

Characters
1,915
Source range
1699-3614
Overlap from previous chunk
298
requires _active
cooperation_ by the hearer, nor are we trying to interpret music in
terms of the other arts. Music is itself. For those who may be
interested in speculating as to the connection between music and art,
numerous books are available--some of them excellent from their point
of view.

This book concerns itself with music _as_ music. It is assumed that,
if anyone really loves this art, he is willing and glad to do serious
work to quicken his sense of hearing, to broaden his imagination, and
to strengthen his memory so that he may become intelligent in
appreciation rather than merely absorbed in honeyed sounds. Music is
of such power and glory that we should be ready to devote to its study
as much time as to a foreign language. In the creed of the music-lover
the first and last article is familiarity. When we thoroughly know a
composition so that its themes sing in our memory and we feel at home
in the structure, the music will speak to us directly, and all books
and analytical comments will be of secondary importance--those of the
present writer not excepted. Special effort has been made to select
illustrations of musical worth, and upon these the real emphasis in
study should be laid.

The material of the book is based on lectures, often of an informal
nature, in the Appreciation Course at Harvard University and lays no
claim to original research. The difficulty in establishing points of
approach makes it far more baffling to speak or write about music than
about the other arts. Music is sufficient unto itself. Endowed with
the insight of a Ruskin or a Pater, one may say something worth while
about painting. But in music the line between mere statistical
analysis and sentimental rhapsody must be drawn with exceeding care.
If the subject matter be clearly presented and the analyses
true--allowance being made for honest difference of opinion--every
hope will be realized.

Chunk 3

Characters
1,957
Source range
3319-5276
Overlap from previous chunk
295
worth while
about painting. But in music the line between mere statistical
analysis and sentimental rhapsody must be drawn with exceeding care.
If the subject matter be clearly presented and the analyses
true--allowance being made for honest difference of opinion--every
hope will be realized.

The author's gratitude is herewith expressed to Mr. Percy Lee Atherton
for his critical revision of the text and to Professor William C.
Heilman for valuable assistance in selecting and preparing the musical
illustrations.

W.R.S.

Cambridge, Massachusetts
  _June_, 1919

Contents

I. PRELIMINARY CONSIDERATIONS                              1

II. THE FOLK-SONG                                         18

III. POLYPHONIC MUSIC; SEBASTIAN BACH, THE FUGUE          33

IV. THE MUSICAL SENTENCE                                  50

V. THE TWO-PART AND THREE-PART FORMS                      69

VI. THE CLASSICAL AND THE MODERN SUITE                    73

VII. THE RONDO FORM                                       81

VIII. THE VARIATION FORM                                  85

IX. THE SONATA-FORM AND ITS FOUNDERS--EMMANUEL
BACH AND HAYDN                                            91

X. MOZART. THE PERFECTION OF CLASSIC STRUCTURE
AND STYLE                                                108

XI. BEETHOVEN, THE TONE-POET                             122

XII. THE ROMANTIC COMPOSERS. SCHUBERT, WEBER             160

XIII. SCHUMANN AND MENDELSSOHN                           172

XIV. CHOPIN AND PIANOFORTE STYLE                         188

XV. BERLIOZ AND LISZT. PROGRAM MUSIC                     202

XVI. BRAHMS                                              228

XVII. CESAR FRANCK                                       255

XVIII. THE MODERN FRENCH SCHOOL--D'INDY AND DEBUSSY      280

XIX. NATIONAL SCHOOLS--RUSSIAN, BOHEMIAN AND
SCANDINAVIAN                                             300

XX. THE VARIED TENDENCIES OF MODERN MUSIC                326

Chunk 4

Characters
1,240
Source range
4978-6218
Overlap from previous chunk
298
228

XVII. CESAR FRANCK                                       255

XVIII. THE MODERN FRENCH SCHOOL--D'INDY AND DEBUSSY      280

XIX. NATIONAL SCHOOLS--RUSSIAN, BOHEMIAN AND
SCANDINAVIAN                                             300

XX. THE VARIED TENDENCIES OF MODERN MUSIC                326

    _Music is the universal language of mankind._

    --LONGFELLOW.

    _Music can noble hints impart,
    Engender fury, kindle love;
    With unsuspected eloquence can move
    And manage all the man with secret art._

    --ADDISON.

    _Music is the sound of the circulation in nature's veins. It
    is the flux which melts nature. Men dance to it, glasses
    ring and vibrate, and the fields seem to undulate. The
    healthy ear always hears it, nearer or more remote._

    --THOREAU.

    _To strike all this life dead,
    Run mercury into a mold like lead,
    And henceforth have the plain result to show--
    How we Feel hard and fast, and what we Know--
    This were the prize, and is the puzzle!--which
    Music essays to solve._

    --BROWNING.

    _All music is what awakes from you when you are reminded by
    the instruments._

    --WHITMAN.

Music: an Art and a Language

CHAPTER I

PRELIMINARY CONSIDERATIONS

Chunk 5

Characters
1,788
Source range
5920-7708
Overlap from previous chunk
298
and fast, and what we Know--
    This were the prize, and is the puzzle!--which
    Music essays to solve._

    --BROWNING.

    _All music is what awakes from you when you are reminded by
    the instruments._

    --WHITMAN.

Music: an Art and a Language

CHAPTER I

PRELIMINARY CONSIDERATIONS

In approaching the study of any subject we may fairly expect that this
subject shall be defined, although some one has ironically remarked
that every definition is a misfortune. Music-lovers, however, will
rejoice that their favorite art is spared such a misfortune, for it
can not be defined. We know the factors of which music is constituted,
rhythm and sound; and we can trace the historic steps by which methods
of presentation and of style have been so perfected that by means of
this twofold material the emotions and aspirations of human beings may
be expressed and permanently recorded. We realize, and with our inborn
equipment can appreciate, the moving power of music; but to define, in
the usual sense of the term definition, what music really is, will be
forever impossible. The fact indeed that music--like love, electricity
and other elemental forces--cannot be defined is its special glory. It
is a peculiar, mysterious power;[1] quite in a class by itself,
although with certain aspects which it shares with the other arts. The
writings of all the great poets, such as Milton, Shakespeare, Browning
and Whitman, abound in eloquent tributes to the power and influence of
music, but it is noticeable that no one attempts to define it. The
mystery of music must be approached with reverence and music must be
loved for itself with perfect sincerity.

[Footnote 1: For suggestive comments on this point see the essays
_Harmonie et Melodie_ by Saint-Saens, Chapters I and II.]

Chunk 6

Characters
1,540
Source range
7412-8952
Overlap from previous chunk
296
but it is noticeable that no one attempts to define it. The
mystery of music must be approached with reverence and music must be
loved for itself with perfect sincerity.

[Footnote 1: For suggestive comments on this point see the essays
_Harmonie et Melodie_ by Saint-Saens, Chapters I and II.]

Some insight, however, may be gained into the nature of music by a
clear recognition of what it is _not_, and by a comparison with the
more definite and familiar arts. Music consists of the intangible and
elusive factors of rhythm and sound; in this way differing
fundamentally from the concrete static arts such as architecture,
sculpture and painting. Furthermore, instrumental music, _i.e._, music
freed from a dependence on words, is not an exact language like prose
and poetry. It speaks to our feelings and imaginations, as it were by
suggestion; reaching for this very reason depths of our being quite
beyond the power of mere words. No one can define rhythm except by
saying that rhythm, in the sense of motion, is the fundamental fact in
the universe and in all life, both physical and human. Everything in
the heavens above and in the earth beneath is in ceaseless motion and
change; nothing remains the same for two consecutive seconds. Even the
component parts of material--such as stone and wood, which we
ordinarily speak of as concrete and stationary--are whirling about
with ceaseless energy, and often in perfect rhythm. Thus we see how
natural and vital is the art of music, for it is inseparably connected
with life itself.

Showing 6 of 463 chunks to keep this inspection page readable.

04

Server-side OpenAI request

Embedding Inspector

An embedding is a numerical representation of meaning. Text with similar meaning tends to be closer in this vector space; the values themselves are not human-readable text.

05

PostgreSQL + pgvector

Database / Ingestion

Document
Music: An Art and a Language
Generated chunks
463
Embedding model
text-embedding-3-small
Status
Not stored
06

Cosine similarity with pgvector

Semantic Retrieval

About this assistant

Ask about Music: An Art and a Language

This assistant answers questions using Walter Raymond Spalding's book. It explores music as artistic expression and communication: rhythm, melody, harmony, musical form, interpretation, emotional expression, and the relationship between music and language.

It can answer book questions or provide a whole-book overview. It does not create files, images, spreadsheets, presentations, browse the web, or perform external actions.

  • How does music communicate emotion?
  • Why is rhythm important in music?
  • How are music and language related?
  • What are the main ideas of this book?

Question → detected route → focused retrieval or stored whole-book summary → response. Each question is independent; no memory is stored.