Skip to content

Commit

Permalink
Infrastructures
Browse files Browse the repository at this point in the history
  • Loading branch information
yukozh committed Jun 17, 2016
1 parent 8e276a5 commit 8d73cc8
Show file tree
Hide file tree
Showing 9 changed files with 162 additions and 0 deletions.
32 changes: 32 additions & 0 deletions TentacleGuitar.Tabular.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25123.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{04242EC2-045B-4CC3-8A9B-1F067FE306CB}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1836C5F2-F3FB-4F09-9A62-5F09AFCA0A83}"
ProjectSection(SolutionItems) = preProject
global.json = global.json
EndProjectSection
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "TentacleGuitar.Tabular", "src\TentacleGuitar.Tabular\TentacleGuitar.Tabular.xproj", "{A829054A-3CC9-4063-A6E3-92C2EBEFA7F6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A829054A-3CC9-4063-A6E3-92C2EBEFA7F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A829054A-3CC9-4063-A6E3-92C2EBEFA7F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A829054A-3CC9-4063-A6E3-92C2EBEFA7F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A829054A-3CC9-4063-A6E3-92C2EBEFA7F6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{A829054A-3CC9-4063-A6E3-92C2EBEFA7F6} = {04242EC2-045B-4CC3-8A9B-1F067FE306CB}
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"projects": [ "src", "test" ],
"sdk": {
"version": "1.0.0-preview1-002702"
}
}
14 changes: 14 additions & 0 deletions src/TentacleGuitar.Tabular/Note.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace TentacleGuitar.Tabular
{
public class Note
{
public int Fret { get; set; }

public string String { get; set; }
}
}
16 changes: 16 additions & 0 deletions src/TentacleGuitar.Tabular/PlayMode.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace TentacleGuitar.Tabular
{
public enum PlayMode
{
Normal,
Slide, // 滑音
HammerOn, // 击弦
PuffOff, // 钩弦
Vibrato, // 揉弦
}
}
19 changes: 19 additions & 0 deletions src/TentacleGuitar.Tabular/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TentacleGuitar.Tabular")]
[assembly: AssemblyTrademark("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("a829054a-3cc9-4063-a6e3-92c2ebefa7f6")]
14 changes: 14 additions & 0 deletions src/TentacleGuitar.Tabular/Staff.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace TentacleGuitar.Tabular
{
public class Staff
{
public string TuningStep { get; set; }

public int TuningOctave { get; set; }
}
}
18 changes: 18 additions & 0 deletions src/TentacleGuitar.Tabular/Tabular.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace TentacleGuitar.Tabular
{
public class Tabular
{
public int BPM { get; set; }

public int Capo { get; set; }

public List<Staff> Staff { get; set; }

public Dictionary<long, List<Note>> Notes { get; set; }
}
}
21 changes: 21 additions & 0 deletions src/TentacleGuitar.Tabular/TentacleGuitar.Tabular.xproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
</PropertyGroup>

<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>a829054a-3cc9-4063-a6e3-92c2ebefa7f6</ProjectGuid>
<RootNamespace>TentacleGuitar.Tabular</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
</PropertyGroup>

<PropertyGroup>
<SchemaVersion>2.0</SchemaVersion>
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.targets" Condition="'$(VSToolsPath)' != ''" />
</Project>
22 changes: 22 additions & 0 deletions src/TentacleGuitar.Tabular/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "1.0.0-*",

"dependencies": {
},

"frameworks": {
"net40": { },
"net451": { },
"netstandard1.5": {
"dependencies": {
"NETStandard.Library": "1.5.0-rc2-24027"
},
"imports": [
"dnxcore50",
"dotnet5.6",
"portable-net40+win7",
"portable-net45+win8"
]
}
}
}

0 comments on commit 8d73cc8

Please sign in to comment.