11
12
Object Plugins / Re: ChordPlay.nw
Last post by Flurmy -In fact, I can't think of a scenario where object playback should not include staff transposition, it makes no sense to me.
13
Object Plugins / Re: ChordPlay.nw
Last post by Lawrie Pardy -I'm also inclined to agree that in this case the new parameter should be unchecked by default as IMHO having playback match the transposition is far more likely to be desired than otherwise.
In fact, I can't think of a scenario where object playback should not include staff transposition, it makes no sense to me.
14
Object Plugins / Re: ChordPlay.nw
Last post by Mike Shawaluk -15
Object Plugins / Re: ChordPlay.nw
Last post by Mike Shawaluk -I note that in my installation the function is called this:
play_ChordPlay(t)
instead of this:
play_ChordPlay()
16
Object Plugins / Re: ChordPlay.nw
Last post by Lawrie Pardy -works a treat once I found the code section... and made ALL the changes
I note that in my installation the function is called this:
play_ChordPlay(t)
instead of this:
play_ChordPlay()
17
Object Plugins / Re: ChordPlay.nw
Last post by Mike Shawaluk -18
Object Plugins / Re: ChordPlay.nw
Last post by Mike Shawaluk -Make these changes to the code toward the end of the play_ChordPlay() function:
local noteCount = #k
local arpeggioShift = (strum ~= 'No') and math.floor(math.min(duration,nwcplay.PPQ)/math.max(12,noteCount+1)) or 0
local trans = nwcplay.getTransposition()
for i, v in ipairs(k) do
local thisShift = math.min(duration-arpeggioShift, arpeggioShift * ((strum == 'Down') and (noteCount-i) or i))
nwcplay.note(thisShift, duration-thisShift, startPitch+v+nshift+trans)
end
(Note: I would have used the "code" block feature, but that wouldn't let me use colored text)
19
Object Plugins / Re: ChordPlay.nw
Last post by Mike Shawaluk -When I saw this, I thought that perhaps more of my objects that have playback would suffer from this, but it appears that objects that look at existing notes, like Arpeggio and Trill, are getting the staff transposition information. I will look at the code for GuitarChord.ms to see if there is an easy fix for this, which hopefully could be applied to the other objects.
20
Object Plugins / Re: ChordPlay.nw
Last post by Lawrie Pardy -It isn't important enough to me to warrant any real effort to correct, I was more wanting confirmation that I hadn't lost what's left of my tiny, little mind