Skip to content

Commit

Permalink
Updated copyright date; and
Browse files Browse the repository at this point in the history
Improved some formatting.
  • Loading branch information
pgeerkens committed May 14, 2016
1 parent 6f8ce39 commit c6d14b0
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Parser/AwareNote.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////////////////
// Q - A B C S O U N D P L A Y E R
//
// Copyright (C) Pieter Geerkens 2012-2016
// Copyright (C) Pieter Geerkens 2012-2016-2016
////////////////////////////////////////////////////////////////////////
using System;

Expand Down
2 changes: 1 addition & 1 deletion Parser/GlobalExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////////////////
// Q - A B C S O U N D P L A Y E R
//
// Copyright (C) Pieter Geerkens 2012-2016
// Copyright (C) Pieter Geerkens 2012-2016-2016
////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion Parser/KeySpec.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////////////////
// Q - A B C S O U N D P L A Y E R
//
// Copyright (C) Pieter Geerkens 2012-2016
// Copyright (C) Pieter Geerkens 2012-2016-2016
////////////////////////////////////////////////////////////////////////
using System;

Expand Down
8 changes: 4 additions & 4 deletions Parser/Music/Note.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////////////////
// Q - A B C S O U N D P L A Y E R
//
// Copyright (C) Pieter Geerkens 2012-2016
// Copyright (C) Pieter Geerkens 2012-2016-2016
////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -99,9 +99,9 @@ public class Note : INote {
private Double _lengthSeconds; // length in seconds of a whole note

/// <summary>TODO</summary>
public INoteLength Length { get { return _length; } }
public INoteLength Length { get { return _length; } }
/// <summary>TODO</summary>
public Double Duration { get { return _style.Length(LengthSeconds); } }
public Double Duration { get { return _style.Length(LengthSeconds); } }
/// <summary>TODO</summary>
public Double LengthSeconds { get { return _length.Time(_tempo); } }
/// <summary>TODO</summary>
Expand All @@ -115,7 +115,7 @@ public class Note : INote {
/// <summary>TODO</summary>
public SharpFlat SharpFlat { get { return _sharpFlat; } }
/// <summary>TODO</summary>
public Style Style { get { return _style; } }
public Style Style { get { return _style; } }

/// <summary>TODO</summary>
///// <param name="noteNum">1 = A0; 49 = A4; 88 = C8; 0 = rest</param>
Expand Down
14 changes: 7 additions & 7 deletions Parser/Music/Notes.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////////////////
// Q - A B C S O U N D P L A Y E R
//
// Copyright (C) Pieter Geerkens 2012-2016
// Copyright (C) Pieter Geerkens 2012-2016-2016
////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
Expand All @@ -13,10 +13,10 @@ namespace PGSoftwareSolutions.Music {
public struct Notes { //: List<INote>, INotes{
/// <summary>TODO</summary>
public static void Init() {
Tempo = 120; // range: [32,255] quarter notes per minute
Length = 4; // range: [ 1, 64] semi-breve to hemi-demi-semi-quaver
Octave = 4; // range: [ 0, 6]
Style = Style.N; // Normal, Legato, and Staccato supported
Tempo = 120; // range: [32,255] quarter notes per minute
Length = 4; // range: [ 1, 64] semi-breve to hemi-demi-semi-quaver
Octave = 4; // range: [ 0, 6]
Style = Style.N; // Normal, Legato, and Staccato supported
}
private static void ValidateField(string field, byte lower, byte upper, byte value) {
if (value < lower || value > upper)
Expand Down Expand Up @@ -68,8 +68,8 @@ public static PianoKey KeyNumber(NoteLetter noteLetter, SharpFlat sharpFlat) {
/// <summary>TODO</summary>
public struct Notes2 {
private byte _tempo; // range: [32,255] quarter notes per minute
private byte _length; // range: [ 1, 64] semi-breve to hemi-demi-semi-quaver
private byte _octave; // range: [ 0, 6]
private byte _length; // range: [ 1, 64] semi-breve to hemi-demi-semi-quaver
private byte _octave; // range: [ 0, 6]
private Style _style; // Normal, Legato, and Staccato supported

/// <summary>TODO</summary>
Expand Down
2 changes: 1 addition & 1 deletion Parser/QabcAstContext.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////////////////
// Q - A B C S O U N D P L A Y E R
//
// Copyright (C) Pieter Geerkens 2012-2016
// Copyright (C) Pieter Geerkens 2012-2016-2016
////////////////////////////////////////////////////////////////////////
using System;

Expand Down
2 changes: 1 addition & 1 deletion Parser/QabcAstNode.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////////////////
// Q - A B C S O U N D P L A Y E R
//
// Copyright (C) Pieter Geerkens 2012-2016
// Copyright (C) Pieter Geerkens 2012-2016-2016
////////////////////////////////////////////////////////////////////////
using System;

Expand Down
2 changes: 1 addition & 1 deletion Parser/QabcIronyParser.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////////////////
// Q - A B C S O U N D P L A Y E R
//
// Copyright (C) Pieter Geerkens 2012-2016
// Copyright (C) Pieter Geerkens 2012-2016-2016
////////////////////////////////////////////////////////////////////////
using System;
using System.IO;
Expand Down
2 changes: 1 addition & 1 deletion Parser/QabcKey.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////////////////
// Q - A B C S O U N D P L A Y E R
//
// Copyright (C) Pieter Geerkens 2012-2016
// Copyright (C) Pieter Geerkens 2012-2016-2016
////////////////////////////////////////////////////////////////////////
using System;
using System.Linq;
Expand Down

0 comments on commit c6d14b0

Please sign in to comment.