Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - thepiano

1
User Tools / Re: Colouring Tools
Code: (Lua) [Select · Download]
-- rg_ColorNotesMIDI.Lua ver 1.0 User Tool <http://nwsw.net/-f9310>
local map = {[0] = 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0}
local playContext = nwcPlayContext.new()

for item in nwcut.items() do
for notepos in item:AllNotePositions() do
notepos.Color = map[playContext:GetNoteMidiPitch(notepos) % 12]
end
playContext:put(item)
nwcut.writeline(item)
end
Code: (nwc) [Select · Download]
!NoteWorthyComposerClip(2.75,Single)
|Clef|Type:Treble
|Key|Signature:F#,C#|Tonic:D
|TimeSig|Signature:4/4
|Chord|Dur:4th|Pos:-3,1
|Chord|Dur:4th|Pos:-5,-3,1,2
|Chord|Dur:4th|Pos:-5,#-2,1,2
|Note|Dur:4th|Pos:-2
!NoteWorthyComposerClip-End


It worked. Thank you very much!
2
User Tools / Re: Colouring Tools
Thank you very much, I can change all the clefs into red.
I am still learning to find a way to change the colour of noteheads...
3
User Tools / Colouring Tools
Dear NWC users,

I have two problems in editing my sheetmusics. I hope someone could help me writing a tool:

Firstly, I want to colour (red) all of clefs.
https://drive.google.com/file/d/0B-H5D05PlaLTUlljaWN0Z3FFQzg/view?usp=sharing

Secondly, I also want to colour (red) all of noteheads which are played in the black key of a Piano.
https://drive.google.com/file/d/0B-H5D05PlaLTTE1oeUttZ19aRXc/view?usp=sharing

I do not have any background in programming, I have read the User Tools in NWC but I cannot understand clearly.

Best regards
Thank you