a146d001bf63734851d5a02c2b96d1ef29a61e96,magenta/music/chords_lib_test.py,ChordsLibTest,setUp,#ChordsLibTest#,31

Before Change


class ChordsLibTest(tf.test.TestCase):

  def setUp(self):
    self.quantized_sequence = sequences_lib.QuantizedSequence()
    self.quantized_sequence.qpm = 60.0
    self.quantized_sequence.steps_per_quarter = 4

  def testTranspose(self):
    // Transpose ChordProgression with basic triads.

After Change



  def setUp(self):
    self.steps_per_quarter = 1
    self.note_sequence = common_testing_lib.parse_test_proto(
        music_pb2.NoteSequence,
        
        time_signatures: {
          numerator: 4
          denominator: 4
        }
        tempos: {
          qpm: 60
        }
        )

  def testTranspose(self):
    // Transpose ChordProgression with basic triads.
    events = ["Cm", "F", "B-", "E-"]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 13

Instances


Project Name: tensorflow/magenta
Commit Name: a146d001bf63734851d5a02c2b96d1ef29a61e96
Time: 2016-11-15
Author: curtis@thefjord.org
File Name: magenta/music/chords_lib_test.py
Class Name: ChordsLibTest
Method Name: setUp


Project Name: tensorflow/magenta
Commit Name: a146d001bf63734851d5a02c2b96d1ef29a61e96
Time: 2016-11-15
Author: curtis@thefjord.org
File Name: magenta/music/lead_sheets_lib_test.py
Class Name: LeadSheetsLibTest
Method Name: setUp


Project Name: tensorflow/magenta
Commit Name: a146d001bf63734851d5a02c2b96d1ef29a61e96
Time: 2016-11-15
Author: curtis@thefjord.org
File Name: magenta/music/melodies_lib_test.py
Class Name: MelodiesLibTest
Method Name: setUp


Project Name: tensorflow/magenta
Commit Name: a146d001bf63734851d5a02c2b96d1ef29a61e96
Time: 2016-11-15
Author: curtis@thefjord.org
File Name: magenta/music/drums_lib_test.py
Class Name: DrumsLibTest
Method Name: setUp