abc2svg
Check-in [c4031b149b]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:core: play: fix: bad played accidentals in voice reappearing by %%staves
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1: c4031b149b617c4149728ee01d5e4426b2ea9ac0
User & Date: jef 2025-07-31 06:54:44.520
Context
2025-07-31
06:54
core: play: fix: bad played accidentals in voice reappearing by %%staves ... (Leaf check-in: c4031b149b user: jef tags: trunk)
2025-07-29
12:35
modules: page: fix: white page after 2 redisplays with %%pageheight since commit [ff0bdeaa66] ... (check-in: ee6a8b8d58 user: jef tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to core/tune.js.
1539
1540
1541
1542
1543
1544
1545



1546
1547
1548
1549
1550
1551
1552
	} else {
//		if (nv)					// if many voices
		self.voice_adj(1)

		// synchronize the voices
		for (v = 0; v < nv; v++) {
			p_voice = voice_tb[v]



			p_voice.time = maxtime
			p_voice.lyric_restart = p_voice.last_sym
			p_voice.sym_restart = p_voice.last_sym
		}

		/*
		 * create a new staff system and







>
>
>







1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
	} else {
//		if (nv)					// if many voices
		self.voice_adj(1)

		// synchronize the voices
		for (v = 0; v < nv; v++) {
			p_voice = voice_tb[v]
//fixme: does not work if measure bar and %%staves delta time < measure duration
			if (maxtime - p_voice.time >= p_voice.meter.wmeasure)
				p_voice.acc = []	// no accidental anymore
			p_voice.time = maxtime
			p_voice.lyric_restart = p_voice.last_sym
			p_voice.sym_restart = p_voice.last_sym
		}

		/*
		 * create a new staff system and