diff --git a/music21/_version.py b/music21/_version.py
index 11bcdd872..1813a2d94 100644
--- a/music21/_version.py
+++ b/music21/_version.py
@@ -42,7 +42,7 @@ When changing, update the single test case in base.py.
 Changing this number invalidates old pickles -- do it if the old pickles create a problem.
 '''
 
-__version_info__ = (7, 0, 6, 'a1')  # can be 4-tuple: (7, 0, 5, 'a2')
+__version_info__ = (7, 0, 7)  # can be 4-tuple: (7, 0, 5, 'a2')
 
 v = '.'.join(str(x) for x in __version_info__[0:3])
 if len(__version_info__) > 3 and __version_info__[3]:
diff --git a/music21/base.py b/music21/base.py
index b6e695578..f3b5de021 100644
--- a/music21/base.py
+++ b/music21/base.py
@@ -28,7 +28,7 @@ available after importing `music21`.
 <class 'music21.base.Music21Object'>
 
 >>> music21.VERSION_STR
-'7.0.6a1'
+'7.0.7'
 
 Alternatively, after doing a complete import, these classes are available
 under the module "base":
diff --git a/music21/musicxml/m21ToXml.py b/music21/musicxml/m21ToXml.py
index f402b223d..8ab3c71b3 100644
--- a/music21/musicxml/m21ToXml.py
+++ b/music21/musicxml/m21ToXml.py
@@ -1400,7 +1400,7 @@ class ScoreExporter(XMLExporterBase, PartStaffExporterMixin):
         the main function to call.
 
         If self.stream is empty, call self.emptyObject().  Otherwise,
-
+        convert sounding to written pitch,
         set scorePreliminaries(), call parsePartlikeScore or parseFlatScore, then postPartProcess(),
         clean up circular references for garbage collection, and returns the <score-partwise>
         object.
@@ -1415,6 +1415,10 @@ class ScoreExporter(XMLExporterBase, PartStaffExporterMixin):
         if not s:
             return self.emptyObject()
 
+        if s.atSoundingPitch is True:
+            # A copy was already made or elected NOT to be made.
+            s.toWrittenPitch(inPlace=True)
+
         self.scorePreliminaries()
 
         if s.hasPartLikeStreams():
@@ -2434,11 +2438,12 @@ class PartExporter(XMLExporterBase):
 
     def parse(self):
         '''
-        Set up instruments, create a partId (if no good one exists) and sets it on
-        <part>, fixes up the notation (:meth:`fixupNotationFlat` or :meth:`fixupNotationMeasured`,
-        if :attr:`makeNotation` is True),
-        setsIdLocals on spanner bundle. runs parse() on each measure's MeasureExporter and
-        appends the output to the <part> object.
+        Set up instruments, convert sounding pitch to written pitch,
+        create a partId (if no good one exists) and set it on
+        <part>, fixes up the notation
+        (:meth:`fixupNotationFlat` or :meth:`fixupNotationMeasured`),
+        setIdLocals() on spanner bundle. Run parse() on each measure's MeasureExporter and
+        append the output to the <part> object.
 
         In other words, one-stop shopping.
 
@@ -2447,6 +2452,8 @@ class PartExporter(XMLExporterBase):
         on the Part. Generally this attribute is set on `GeneralObjectExporter`
         or `ScoreExporter` and read from there. Running with `makeNotation`
         as False will raise `MusicXMLExportException` if no measures are present.
+        If `makeNotation` is False, the transposition to written pitch is still
+        performed and thus will be done in place.
 
         >>> from music21.musicxml.m21ToXml import PartExporter
         >>> noMeasures = stream.Part(note.Note())
@@ -2457,6 +2464,13 @@ class PartExporter(XMLExporterBase):
         music21.musicxml.xmlObjects.MusicXMLExportException:
         Cannot export with makeNotation=False if there are no measures
         '''
+        # A copy has already been made
+        # unless makeNotation=False, but the user
+        # should have called toWrittenPitch() first
+        # and is explicitly asking for no further copies to be made
+        if self.stream.atSoundingPitch is True:
+            self.stream.toWrittenPitch(inPlace=True)
+
         self.instrumentSetup()
 
         self.xmlRoot.set('id', str(self.firstInstrumentObject.partId))
@@ -6239,8 +6253,6 @@ class MeasureExporter(XMLExporterBase):
             return None
         if self.parent.stream is None:
             return None
-        if self.parent.stream.atSoundingPitch is True:
-            return None
 
         m = self.stream
         self.measureOffsetStart = m.getOffsetBySite(self.parent.stream)
@@ -6517,6 +6529,29 @@ class Test(unittest.TestCase):
         # Measures should have been made
         self.assertIsNotNone(tree.find('.//measure'))
 
+    def testFromSoundingPitch(self):
+        '''
+        A score with mixed sounding and written parts.
+        '''
+        from music21.instrument import Clarinet, Bassoon
+
+        m = stream.Measure([Clarinet(), note.Note('C')])
+        p1 = stream.Part(m)
+        p1.atSoundingPitch = True
+        p2 = stream.Part(stream.Measure([Bassoon(), note.Note()]))
+        s = stream.Score([p1, p2])
+        self.assertEqual(s.atSoundingPitch, 'unknown')
+        gex = GeneralObjectExporter(s)
+        root = ET.fromstring(gex.parse().decode('utf-8'))
+        self.assertEqual(len(root.findall('.//transpose')), 1)
+        self.assertEqual(root.find('.//step').text, 'D')
+
+        s.atSoundingPitch = True
+        gex = GeneralObjectExporter(s)
+        root = ET.fromstring(gex.parse().decode('utf-8'))
+        self.assertEqual(len(root.findall('.//transpose')), 1)
+        self.assertEqual(root.find('.//step').text, 'D')
+
     def testMidiInstrumentNoName(self):
         from music21 import converter, instrument
 
diff --git a/music21/spanner.py b/music21/spanner.py
index ba3a7423d..41a4d7094 100644
--- a/music21/spanner.py
+++ b/music21/spanner.py
@@ -1397,6 +1397,21 @@ class Ottava(Spanner):
 
     >>> ottava.validOttavaTypes
     ('8va', '8vb', '15ma', '15mb', '22da', '22db')
+
+    OMIT_FROM_DOCS
+
+    Test the round-trip back:
+
+    >>> s3 = s2.toWrittenPitch()
+    >>> s3.show('text')
+    {0.0} <music21.spanner.Ottava 8vb transposing<music21.note.Note D><music21.note.Note E>>
+    {0.0} <music21.note.Note D>
+    {2.0} <music21.note.Note E>
+
+    >>> for n in s3.notes:
+    ...    print(n.nameWithOctave)
+    D4
+    E4
     '''
     validOttavaTypes = ('8va', '8vb', '15ma', '15mb', '22da', '22db')
 
diff --git a/music21/stream/base.py b/music21/stream/base.py
index bd00c2531..e452f7a80 100644
--- a/music21/stream/base.py
+++ b/music21/stream/base.py
@@ -4898,7 +4898,6 @@ class Stream(core.StreamCoreMixin, base.Music21Object):
         else:
             raise StreamException(f'not a valid at sounding pitch value: {value}')
 
-
     def _transposeByInstrument(self,
                                reverse=False,
                                inPlace=False,
@@ -4918,11 +4917,9 @@ class Stream(core.StreamCoreMixin, base.Music21Object):
         else:
             returnObj = self
 
-        # this will change the working Stream; not sure if a problem
-        try:
-            boundaries = returnObj.extendDurationAndGetBoundaries('Instrument')
-        except StreamException:
-            return returnObj  # there are no instruments in the Stream.
+        instrument_stream = returnObj.getInstruments(recurse=True)
+        instrument_stream.duration = returnObj.duration
+        instrument_stream.extendDuration('Instrument', inPlace=True)
 
         # store class filter list for transposition
         if transposeKeySignature:
@@ -4930,22 +4927,63 @@ class Stream(core.StreamCoreMixin, base.Music21Object):
         else:
             classFilterList = ('Note', 'Chord')
 
-        for k in boundaries:
-            i = boundaries[k]
-            if i.transposition is None:
+        for inst in instrument_stream:
+            if inst.transposition is None:
                 continue
-            start, end = k
-            focus = returnObj.getElementsByOffset(start, end,
-                                                  includeEndBoundary=False, mustFinishInSpan=False,
-                                                  mustBeginInSpan=True).stream()
-            trans = i.transposition
+            start = inst.offset
+            end = start + inst.quarterLength
+            focus = returnObj.flat.getElementsByOffset(
+                start,
+                end,
+                includeEndBoundary=False,
+                mustFinishInSpan=False,
+                mustBeginInSpan=True).stream()
+            trans = inst.transposition
             if reverse:
                 trans = trans.reverse()
             focus.transpose(trans, inPlace=True,
                             classFilterList=classFilterList)
-            # print(k, i.transposition)
+
         return returnObj
 
+    def _treatAtSoundingPitch(self) -> Union[bool, str]:
+        '''
+        `atSoundingPitch` might be True, False, or 'unknown'. Given that
+        setting the property does not automatically synchronize the corresponding
+        property on contained or containing streams, any time a method relying on the
+        value of `atSoundingPitch` such as :meth:`toSoundingPitch` visits a stream,
+        it will need to resolve 'unknown' values or even possibly conflicting values.
+
+        If this stream's `.atSoundingPitch` is 'unknown', this helper method searches
+        this stream's sites until a True or False
+        value for `.atSoundingPitch` is found, since it is possible a user only manipulated
+        the value on the top-level stream.
+
+        Then, contained streams are searched to verify that they do not contain
+        conflicting values (i.e. .atSoundingPitch = True when the container has
+        .atSoundingPitch = False). Conflicting values are resolved by converting
+        the inner streams to written or sounding pitch as necessary to match this
+        stream's value.
+        '''
+        at_sounding = self.atSoundingPitch
+        if self.atSoundingPitch == 'unknown':
+            for site in self.sites:
+                if site.isStream and site.atSoundingPitch != 'unknown':
+                    at_sounding = site.atSoundingPitch
+                    break
+            else:
+                raise StreamException('atSoundingPitch is unknown: cannot transpose')
+
+        for substream in self.recurse(streamsOnly=True, includeSelf=False):
+            if substream.atSoundingPitch == 'unknown':
+                continue
+            if substream.atSoundingPitch is False and at_sounding is True:
+                substream.toSoundingPitch(inPlace=True)
+            elif substream.atSoundingPitch is True and at_sounding is False:
+                substream.toWrittenPitch(inPlace=True)
+
+        return at_sounding
+
     def toSoundingPitch(self, *, inPlace=False):
         # noinspection PyShadowingNames
         '''
@@ -5001,27 +5039,20 @@ class Stream(core.StreamCoreMixin, base.Music21Object):
         else:
             returnObj = self
 
-        if returnObj.hasPartLikeStreams():
-            for p in returnObj.getElementsByClass('Stream'):
+        if returnObj.hasPartLikeStreams() or 'Opus' in returnObj.classSet:
+            for partLike in returnObj.getElementsByClass(Stream):
                 # call on each part
-                p.toSoundingPitch(inPlace=True)
-                returnObj.atSoundingPitch = True
-            return returnObj
+                partLike.toSoundingPitch(inPlace=True)
+            returnObj.atSoundingPitch = True
+            return returnObj if not inPlace else None
 
-        # else...
-        atSoundingPitch = self.atSoundingPitch
-        if atSoundingPitch == 'unknown':
-            for site in self.sites:
-                if hasattr(site, 'atSoundingPitch') and site.atSoundingPitch != 'unknown':
-                    atSoundingPitch = site.atSoundingPitch
-                    break
-            else:
-                raise StreamException('atSoundingPitch is unknown: cannot transpose')
+        at_sounding = returnObj._treatAtSoundingPitch()
 
-        if atSoundingPitch is False:
+        if at_sounding is False:
             # transposition defined on instrument goes from written to sounding
             returnObj._transposeByInstrument(reverse=False, inPlace=True)
-            returnObj.atSoundingPitch = True
+            for container in returnObj.recurse(streamsOnly=True, includeSelf=True):
+                container.atSoundingPitch = True
 
         for ottava in returnObj.recurse().getElementsByClass('Ottava'):
             ottava.performTransposition()
@@ -5063,31 +5094,20 @@ class Stream(core.StreamCoreMixin, base.Music21Object):
         else:
             returnObj = self
 
-        if returnObj.hasPartLikeStreams():
-            for partLike in returnObj.getElementsByClass('Stream'):
+        if returnObj.hasPartLikeStreams() or 'Opus' in returnObj.classSet:
+            for partLike in returnObj.getElementsByClass(Stream):
                 # call on each part
                 partLike.toWrittenPitch(inPlace=True)
             returnObj.atSoundingPitch = False
-            if inPlace:
-                return None
-            else:
-                return returnObj
+            return returnObj if not inPlace else None
 
-        # else...
-        atSoundingPitch = self.atSoundingPitch
-        if atSoundingPitch == 'unknown':
-            for site in self.sites:
-                if hasattr(site, 'atSoundingPitch') and site.atSoundingPitch != 'unknown':
-                    atSoundingPitch = site.atSoundingPitch
-                    break
-            else:
-                raise StreamException('atSoundingPitch is unknown: cannot transpose')
+        at_sounding = returnObj._treatAtSoundingPitch()
 
-        if atSoundingPitch is True:
-            # transposition defined on instrument goes from written to sounding
+        if at_sounding is True:
             # need to reverse to go to written
             returnObj._transposeByInstrument(reverse=True, inPlace=True)
-            returnObj.atSoundingPitch = False
+            for container in returnObj.recurse(streamsOnly=True, includeSelf=True):
+                container.atSoundingPitch = False
 
         for ottava in returnObj.recurse().getElementsByClass('Ottava'):
             ottava.undoTransposition()

diff --git a/music21/stream/tests.py b/music21/stream/tests.py
index 83b689582..a83dc587a 100644
--- a/music21/stream/tests.py
+++ b/music21/stream/tests.py
@@ -7090,17 +7090,15 @@ class Test(unittest.TestCase):
         p1.repeatAppend(note.Note('C4'), 4)
         p1.insert(0, i1)
         p1.insert(2, i2)
+        p1.makeMeasures(inPlace=True)
         p2 = Part()
         p2.repeatAppend(note.Note('C4'), 4)
         p2.insert(0, i2)
+        p2.makeMeasures(inPlace=True)
         s = Score()
         s.insert(0, p1)
         s.insert(0, p2)
 
-        self.assertEqual([str(p) for p in p1.pitches], ['C4', 'C4', 'C4', 'C4'])
-        test = p1._transposeByInstrument(inPlace=False)
-        self.assertEqual([str(p) for p in test.pitches], ['F3', 'F3', 'B-3', 'B-3'])
-
         test = p1._transposeByInstrument(inPlace=False, reverse=True)
         self.assertEqual([str(p) for p in test.pitches], ['G4', 'G4', 'D4', 'D4'])
 
@@ -7123,7 +7121,7 @@ class Test(unittest.TestCase):
         test = p1.toSoundingPitch(inPlace=False)
         self.assertEqual([str(p) for p in test.pitches], ['C4', 'C4', 'C4', 'C4'])
 
-        # declare  at sounding pitch
+        # declare at sounding pitch
         p1.atSoundingPitch = True
         # reverse intervals; app pitches should be upward
         test = p1.toWrittenPitch(inPlace=False)
@@ -7138,11 +7136,23 @@ class Test(unittest.TestCase):
         self.assertEqual([str(p) for p in test.parts[1].pitches], ['B-3', 'B-3', 'B-3', 'B-3'])
 
         # test same in place
-        s.parts[0].atSoundingPitch = False
-        s.parts[1].atSoundingPitch = False
+        self.assertEqual(s.parts[0].atSoundingPitch, False)
+        self.assertEqual(s.parts[1].atSoundingPitch, False)
         s.toSoundingPitch(inPlace=True)
         self.assertEqual([str(p) for p in s.parts[0].pitches], ['F3', 'F3', 'B-3', 'B-3'])
-        self.assertEqual([str(p) for p in test.parts[1].pitches], ['B-3', 'B-3', 'B-3', 'B-3'])
+        self.assertEqual([str(p) for p in s.parts[1].pitches], ['B-3', 'B-3', 'B-3', 'B-3'])
+
+        # mixture of atSoundingPitch=True and False; and unknown top-level
+        s.atSoundingPitch = 'unknown'
+        s.parts[0].atSoundingPitch = True
+        s.parts[1].atSoundingPitch = False
+        for measure in s.parts[1][Measure]:
+            # This was made True, above, and we have no way of knowing we need to
+            # transpose again unless we say so
+            measure.atSoundingPitch = False
+        s.toWrittenPitch(inPlace=True)
+        self.assertEqual([str(p) for p in s.parts[0].pitches], ['C4', 'C4', 'C4', 'C4'])
+        self.assertEqual([str(p) for p in s.parts[1].pitches], ['B-3', 'B-3', 'B-3', 'B-3'])
 
     def testTransposeByPitchB(self):
         from music21.musicxml import testPrimitive
@@ -7162,6 +7172,7 @@ class Test(unittest.TestCase):
         self.assertEqual([str(p) for p in s.parts[1].pitches],
                          ['A4', 'B4', 'C#5', 'D5', 'E5', 'F#5', 'G#5', 'A5'])
 
+        self.assertEqual(s.atSoundingPitch, 'unknown')
         s.toSoundingPitch(inPlace=True)
 
         self.assertEqual([str(p) for p in s.parts[0].pitches],
@@ -7169,6 +7180,25 @@ class Test(unittest.TestCase):
         self.assertEqual([str(p) for p in s.parts[1].pitches],
                          ['C4', 'D4', 'E4', 'F4', 'G4', 'A4', 'B4', 'C5'])
 
+    def testTransposeByPitchC(self):
+        from music21 import converter, instrument
+        p = converter.parse('tinyNotation: c1 d1')
+        p.insert(0, instrument.Horn())
+        s = Score(p)
+        s.atSoundingPitch = True
+        self.assertEqual(p.atSoundingPitch, 'unknown')
+
+        # Following case fails because we check sites, not containerHierarchy
+        # so the only site is the Part, which is 'unknown' and raises StreamException
+        # m = p.measure(1)
+        # m.toWrittenPitch(inPlace=True)
+        # self.assertEqual(m.notes[0].nameWithOctave, 'G4')
+
+        # Can still perform toWrittenPitch by getting the value of atSoundingPitch
+        # from the score
+        p.toWrittenPitch(inPlace=True)
+        self.assertEqual(p.flat.notes[0].nameWithOctave, 'G4')
+
     def testExtendTiesA(self):
         s = Stream()
         s.append(note.Note('g4'))
@@ -7320,7 +7350,6 @@ class Test(unittest.TestCase):
         <duration>5040</duration>
         <type>eighth</type>
         <stem>up</stem>
-        <beam number="1">begin</beam>
       </note>
       <note>
         <rest/>

Transposing instrument part (atSoundingPitch==True) not shown in written pitch
<!-- Version of music21:  print(music21.__version__) -->
**music21 version**

`7.0.6a1+PR996`   <!-- replace with actual version -->


**Problem summary**
score.show('musicxml.pdf') of a score containing transposing instruments (with part.atSoundingPitch set to True) exports with sounding pitch being written instead of written pitch.


See code example below...

```
Paste minimal code example here. Most issues can be reproduced with just a few elements.
Attach external files only after attempting to reproduce using a simple stream.

import music21

inst = music21.instrument.Instrument('madeUpInstrument')

# instrument transposes by 1 "letter" (generic 2nd), 2 semitones (2 chromatic steps)
inst.transposition = music21.interval.intervalFromGenericAndChromatic(2, 2)
part = music21.stream.Part()
part.atSoundingPitch = True
part.insert(0, music21.clef.TrebleClef())
part.insert(0, music21.key.KeySignature(sharps=-1)) # sounding key = 1 flat
part.insert(0, music21.note.Note('C4')) # sounding note = middle C
part.insert(0, inst)

score = music21.stream.Score()
score.insert(0, part)

# the following should display a B-flat (key = 3 flats).
# Instead it displays a C (key = 1 flat).
score.show('musicxml.pdf')

part.toWrittenPitch(inPlace=True)

# now it's right
score.show('musicxml.pdf')
```

**Expected vs. actual behavior**
<!-- Consider annotating the output produced by a function -->
See code snippet.

**More information**
<!-- If relevant: OS, suggested fix, attempted workarounds -->
macOS Big Sur, using MuseScore for showing scores.

<!-- Note: only Mac and Windows are directly supported by music21 staff.  
     Bug reports that are specific to other OSes w/o a PR will be closed
     unless the reporter is willing to contribute a fix.
 -->

music21/stream/tests.py::Test::testSortingAfterInsertA music21/stream/tests.py::Test::testTransposeByPitchA
music21/stream/tests.py::Test::testAccumulatedTimeA music21/stream/tests.py::Test::testAccumulatedTimeB music21/stream/tests.py::Test::testActivateVariantsA music21/stream/tests.py::Test::testActivateVariantsB music21/stream/tests.py::Test::testActivateVariantsBySpanA music21/stream/tests.py::Test::testActivateVariantsBySpanB music21/stream/tests.py::Test::testActivateVariantsC music21/stream/tests.py::Test::testActivateVariantsD music21/stream/tests.py::Test::testActivateVariantsE music21/stream/tests.py::Test::testActiveSiteAfterBoolIteration music21/stream/tests.py::Test::testActiveSiteCopiedStreams music21/stream/tests.py::Test::testActiveSiteMangling music21/stream/tests.py::Test::testActiveSites music21/stream/tests.py::Test::testActiveSitesMultiple music21/stream/tests.py::Test::testAddSlurByMelisma music21/stream/tests.py::Test::testAnalyze music21/stream/tests.py::Test::testAppendFails music21/stream/tests.py::Test::testAugmentOrDiminishBasic music21/stream/tests.py::Test::testAugmentOrDiminishCorpus music21/stream/tests.py::Test::testAugmentOrDiminishHighestTimes music21/stream/tests.py::Test::testBestTimeSignature music21/stream/tests.py::Test::testChordifyA music21/stream/tests.py::Test::testChordifyB music21/stream/tests.py::Test::testChordifyC music21/stream/tests.py::Test::testChordifyD music21/stream/tests.py::Test::testChordifyE music21/stream/tests.py::Test::testChordifyF music21/stream/tests.py::Test::testChordifyG music21/stream/tests.py::Test::testChordifyImported music21/stream/tests.py::Test::testChordifyRests music21/stream/tests.py::Test::testChordifyTagPartA music21/stream/tests.py::Test::testChordifyTagPartB music21/stream/tests.py::Test::testClefs music21/stream/tests.py::Test::testContainerHierarchyA music21/stream/tests.py::Test::testContextNestedA music21/stream/tests.py::Test::testContextNestedB music21/stream/tests.py::Test::testContextNestedC music21/stream/tests.py::Test::testContextNestedD music21/stream/tests.py::Test::testCoreGuardBeforeAddElement music21/stream/tests.py::Test::testDeepcopyActiveSite music21/stream/tests.py::Test::testDeepcopySpanners music21/stream/tests.py::Test::testDerivationA music21/stream/tests.py::Test::testDerivationB music21/stream/tests.py::Test::testDerivationC music21/stream/tests.py::Test::testDerivationMethodA music21/stream/tests.py::Test::testDoubleStreamPlacement music21/stream/tests.py::Test::testElements music21/stream/tests.py::Test::testElementsHighestTimeA music21/stream/tests.py::Test::testElementsHighestTimeB music21/stream/tests.py::Test::testElementsHighestTimeC music21/stream/tests.py::Test::testExtendDurationA music21/stream/tests.py::Test::testExtendTiesA music21/stream/tests.py::Test::testExtendTiesB music21/stream/tests.py::Test::testExtractedNoteAssignLyric music21/stream/tests.py::Test::testFinalBarlinePropertyA music21/stream/tests.py::Test::testFinalBarlinePropertyB music21/stream/tests.py::Test::testFindConsecutiveNotes music21/stream/tests.py::Test::testFindGaps music21/stream/tests.py::Test::testFlatCachingA music21/stream/tests.py::Test::testFlatCachingB music21/stream/tests.py::Test::testFlatCachingC music21/stream/tests.py::Test::testFlatSimple music21/stream/tests.py::Test::testFlattenUnnecessaryVoicesA music21/stream/tests.py::Test::testGetElementAfterElement music21/stream/tests.py::Test::testGetElementAtOrBeforeBarline music21/stream/tests.py::Test::testGetElementBeforeOffsetA music21/stream/tests.py::Test::testGetElementBeforeOffsetB music21/stream/tests.py::Test::testGetElementsByContextStream music21/stream/tests.py::Test::testGetElementsByOffsetZeroLength music21/stream/tests.py::Test::testGetInstrumentFromMxl music21/stream/tests.py::Test::testGetInstrumentManual music21/stream/tests.py::Test::testGetKeySignatures music21/stream/tests.py::Test::testGetKeySignaturesThreeMeasures music21/stream/tests.py::Test::testGetTimeSignatures music21/stream/tests.py::Test::testGetVariantsA music21/stream/tests.py::Test::testGraceChords music21/stream/tests.py::Test::testGracesInStream music21/stream/tests.py::Test::testHaveAccidentalsBeenMadeA music21/stream/tests.py::Test::testHaveAccidentalsBeenMadeB music21/stream/tests.py::Test::testHaveAccidentalsBeenMadeInVoices music21/stream/tests.py::Test::testHaveBeamsBeenMadeA music21/stream/tests.py::Test::testHaveBeamsBeenMadeB music21/stream/tests.py::Test::testInsertAndShiftBasic music21/stream/tests.py::Test::testInsertAndShiftMultipleElements music21/stream/tests.py::Test::testInsertAndShiftNoDuration music21/stream/tests.py::Test::testInsertIntoNoteOrChordA music21/stream/tests.py::Test::testInsertIntoNoteOrChordB music21/stream/tests.py::Test::testInvertDiatonicA music21/stream/tests.py::Test::testInvertDiatonicQuickSearch music21/stream/tests.py::Test::testIsFlat music21/stream/tests.py::Test::testIteration music21/stream/tests.py::Test::testMakeAccidentalsA music21/stream/tests.py::Test::testMakeAccidentalsB music21/stream/tests.py::Test::testMakeAccidentalsC music21/stream/tests.py::Test::testMakeAccidentalsD music21/stream/tests.py::Test::testMakeAccidentalsOctaveKS music21/stream/tests.py::Test::testMakeAccidentalsTies music21/stream/tests.py::Test::testMakeAccidentalsWithKeysInMeasures music21/stream/tests.py::Test::testMakeChordsBuiltA music21/stream/tests.py::Test::testMakeChordsBuiltB music21/stream/tests.py::Test::testMakeChordsBuiltC music21/stream/tests.py::Test::testMakeChordsBuiltD music21/stream/tests.py::Test::testMakeChordsImported music21/stream/tests.py::Test::testMakeMeasuresInPlace music21/stream/tests.py::Test::testMakeMeasuresLastElementNoDuration music21/stream/tests.py::Test::testMakeMeasuresMeterStream music21/stream/tests.py::Test::testMakeMeasuresTimeSignatures music21/stream/tests.py::Test::testMakeMeasuresWithBarlines music21/stream/tests.py::Test::testMakeNotationA music21/stream/tests.py::Test::testMakeNotationB music21/stream/tests.py::Test::testMakeNotationByMeasuresA music21/stream/tests.py::Test::testMakeNotationByMeasuresB music21/stream/tests.py::Test::testMakeNotationC music21/stream/tests.py::Test::testMakeNotationKeySignatureMultiVoice music21/stream/tests.py::Test::testMakeNotationKeySignatureOneVoice music21/stream/tests.py::Test::testMakeNotationScoreA music21/stream/tests.py::Test::testMakeNotationScoreB music21/stream/tests.py::Test::testMakeNotationScoreC music21/stream/tests.py::Test::testMakeRestsA music21/stream/tests.py::Test::testMakeRestsB music21/stream/tests.py::Test::testMakeRestsByMakingVoices music21/stream/tests.py::Test::testMakeRestsInMeasures music21/stream/tests.py::Test::testMakeRestsInMeasuresWithVoices music21/stream/tests.py::Test::testMakeTies music21/stream/tests.py::Test::testMakeTupletBracketsA music21/stream/tests.py::Test::testMakeTupletBracketsB music21/stream/tests.py::Test::testMakeVoicesA music21/stream/tests.py::Test::testMakeVoicesB music21/stream/tests.py::Test::testMeasureAndTieCreation music21/stream/tests.py::Test::testMeasureBarDurationProportion music21/stream/tests.py::Test::testMeasureBarline music21/stream/tests.py::Test::testMeasureGrouping music21/stream/tests.py::Test::testMeasureLayout music21/stream/tests.py::Test::testMeasureOffsetMap music21/stream/tests.py::Test::testMeasureOffsetMapPostTie music21/stream/tests.py::Test::testMeasureRange music21/stream/tests.py::Test::testMeasureStream music21/stream/tests.py::Test::testMeasuresA music21/stream/tests.py::Test::testMeasuresAndMakeMeasures music21/stream/tests.py::Test::testMeasuresB music21/stream/tests.py::Test::testMeasuresC music21/stream/tests.py::Test::testMeasuresSuffix music21/stream/tests.py::Test::testMelodicIntervals music21/stream/tests.py::Test::testMelodicIntervalsB music21/stream/tests.py::Test::testMergeElements music21/stream/tests.py::Test::testMetadataOnStream music21/stream/tests.py::Test::testMidiEventsBuilt music21/stream/tests.py::Test::testMultipartStream music21/stream/tests.py::Test::testMusicXMLGenerationViaPropertyA music21/stream/tests.py::Test::testMusicXMLGenerationViaPropertyB music21/stream/tests.py::Test::testMusicXMLGenerationViaPropertyC music21/stream/tests.py::Test::testOpusSearch music21/stream/tests.py::Test::testOpusSequence music21/stream/tests.py::Test::testOpusWrite music21/stream/tests.py::Test::testOverlapsA music21/stream/tests.py::Test::testOverlapsB music21/stream/tests.py::Test::testPartDurationA music21/stream/tests.py::Test::testPartDurationB music21/stream/tests.py::Test::testPartsToVoicesA music21/stream/tests.py::Test::testPartsToVoicesB music21/stream/tests.py::Test::testQuantize music21/stream/tests.py::Test::testQuantizeMinimumDuration music21/stream/tests.py::Test::testRecurseA music21/stream/tests.py::Test::testRecurseB music21/stream/tests.py::Test::testRemove music21/stream/tests.py::Test::testRemoveByClass music21/stream/tests.py::Test::testReplace music21/stream/tests.py::Test::testReplaceA1 music21/stream/tests.py::Test::testReplaceB music21/stream/tests.py::Test::testReplaceDerived music21/stream/tests.py::Test::testScaleDurationsBasic music21/stream/tests.py::Test::testScaleOffsetsBasic music21/stream/tests.py::Test::testScaleOffsetsBasicInPlaceA music21/stream/tests.py::Test::testScaleOffsetsBasicInPlaceB music21/stream/tests.py::Test::testScaleOffsetsBasicInPlaceC music21/stream/tests.py::Test::testScaleOffsetsBasicInPlaceD music21/stream/tests.py::Test::testScaleOffsetsNested music21/stream/tests.py::Test::testScoreShowA music21/stream/tests.py::Test::testSecondsMapA music21/stream/tests.py::Test::testSecondsMapB music21/stream/tests.py::Test::testSecondsPropertyA music21/stream/tests.py::Test::testSecondsPropertyB music21/stream/tests.py::Test::testSecondsPropertyC music21/stream/tests.py::Test::testSemiFlatCachingA music21/stream/tests.py::Test::testSetElements music21/stream/tests.py::Test::testSetElementsFromOtherStreamWithEndElements music21/stream/tests.py::Test::testSimpleRecurse music21/stream/tests.py::Test::testSliceAtOffsetsBuilt music21/stream/tests.py::Test::testSliceAtOffsetsImported music21/stream/tests.py::Test::testSliceAtOffsetsSimple music21/stream/tests.py::Test::testSliceByBeatBuilt music21/stream/tests.py::Test::testSliceByBeatImported music21/stream/tests.py::Test::testSliceByGreatestDivisorBuilt music21/stream/tests.py::Test::testSliceByGreatestDivisorImported music21/stream/tests.py::Test::testSliceByQuarterLengthsBuilt music21/stream/tests.py::Test::testSliceByQuarterLengthsImported music21/stream/tests.py::Test::testSort music21/stream/tests.py::Test::testSortAndAutoSort music21/stream/tests.py::Test::testSpannerTransferA music21/stream/tests.py::Test::testSplitAtQuarterLengthA music21/stream/tests.py::Test::testSplitAtQuarterLengthB music21/stream/tests.py::Test::testSplitAtQuarterLengthC music21/stream/tests.py::Test::testStoreAtEndFailures music21/stream/tests.py::Test::testStreamCopy music21/stream/tests.py::Test::testStreamDuration music21/stream/tests.py::Test::testStreamDurationRecalculated music21/stream/tests.py::Test::testStreamElementsComparison music21/stream/tests.py::Test::testStreamExceptionsOnAssert music21/stream/tests.py::Test::testStreamRecursion music21/stream/tests.py::Test::testStreamSortRecursion music21/stream/tests.py::Test::testStripTiesBuiltA music21/stream/tests.py::Test::testStripTiesBuiltB music21/stream/tests.py::Test::testStripTiesChordMembersAllTied music21/stream/tests.py::Test::testStripTiesChordMembersSomeTied music21/stream/tests.py::Test::testStripTiesChords music21/stream/tests.py::Test::testStripTiesClearBeaming music21/stream/tests.py::Test::testStripTiesConsecutiveInVoiceNotContainer music21/stream/tests.py::Test::testStripTiesImportedA music21/stream/tests.py::Test::testStripTiesImportedB music21/stream/tests.py::Test::testStripTiesNonMeasureContainers music21/stream/tests.py::Test::testStripTiesReplaceSpannedElements music21/stream/tests.py::Test::testStripTiesScore music21/stream/tests.py::Test::testTemplateAll music21/stream/tests.py::Test::testTransposeByPitchB music21/stream/tests.py::Test::testTransposeByPitchC music21/stream/tests.py::Test::testTransposeScore music21/stream/tests.py::Test::testTwoStreamMethods music21/stream/tests.py::Test::testTwoZeroOffset music21/stream/tests.py::Test::testVoicesA music21/stream/tests.py::Test::testVoicesALonger music21/stream/tests.py::Test::testVoicesB music21/stream/tests.py::Test::testVoicesC music21/stream/tests.py::Test::testVoicesToPartsA music21/stream/tests.py::Test::testVoicesToPartsNonNoteElementPropagation music21/stream/tests.py::Test::testWrite music21/stream/tests.py::Test::testYieldContainers music21/stream/tests.py::Test::test_makeBeams__1_e__after_16th_note music21/stream/tests.py::Test::test_makeBeams__1_e_n_a music21/stream/tests.py::Test::test_makeBeams__all_eighths music21/stream/tests.py::Test::test_makeBeams__all_quarters music21/stream/tests.py::Test::test_makeBeams__eighth_rests_and_eighth music21/stream/tests.py::Test::test_makeBeams__paddingLeft_2_2 music21/stream/tests.py::Test::test_makeBeams__repeated_1_e_a