Skip to content

Commit

Permalink
[Docs] Small docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
melanchall committed Mar 26, 2021
1 parent 055f805 commit 6f65d79
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Docs/articles/tools/MIDI-file-splitter.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ uid: a_file_splitter

You can split MIDI file in different ways using extension methods from the [MidiFileSplitter](xref:Melanchall.DryWetMidi.Tools.MidiFileSplitter) class. Available methods of splitting are described below.

> [!IMPORTANT]
> This article doesn't cover all possible methods and their settings. Please read API documentation on [MidiFileSplitter](xref:Melanchall.DryWetMidi.Tools.MidiFileSplitter) to get complete information.
## SplitByChannel

[SplitByChannel](xref:Melanchall.DryWetMidi.Tools.MidiFileSplitter.SplitByChannel(Melanchall.DryWetMidi.Core.MidiFile)) method splits MIDI file by channel so all [channel events](xref:Melanchall.DryWetMidi.Core.ChannelEvent) will be separated by channel and copied to corresponding new files. All meta and system exclusive events will be copied to all the new files. Non-track chunks will not be copied to any of the new files. Thus each file from the result will contain all meta and sysex events and channel events for single channel. The image below illustrates this process:
Expand Down
2 changes: 1 addition & 1 deletion Docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"_enableSearch": true,
"_appLogoPath": "images/logo.png",
"_appFaviconPath": "images/favicon.png",
"_appFooter": "Generated by <a href=\"https://dotnet.github.io/docfx\">DocFX</a>",
"_appFooter": "2021 / Generated by <a href=\"https://dotnet.github.io/docfx\">DocFX</a>",
"_disableContribution": true
},
"template": [
Expand Down
13 changes: 12 additions & 1 deletion Docs/templates/dwm/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,17 @@ img[src*="logo.png"], img[src*="build/status"], img[src*="img.shields.io"] {
border-color: #EC5508;
}

.alert h5 {
.alert-danger h5 {
color: #EC5508;
}

.alert-warning {
color: #F8F8F8;
border-radius: 0px;
background-color: transparent;
border-color: #ECE208;
}

.alert-warning h5 {
color: #ECE208;
}

0 comments on commit 6f65d79

Please sign in to comment.