[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Strange behavior of event type 'phrase'?



On Saturday, December 28, 2013 10:07:53 AM HKT, James Harkins wrote:
Back to the original problem: Actually, it comes from Event:isRest, which I wrote, specifically these two lines:

	// save detunedFreq so that it won't be re-calculated later
	(~detunedFreq = ~detunedFreq.value).isRest

PS I just verified that this bug is not present in the 3.6 branch, so the current stable release should not be affected, only 3.7 (and 3.7 is no longer affected as of a few seconds ago).

https://github.com/supercollider/supercollider/blob/3.6/SCClassLibrary/Common/Collections/Event.sc

       isRest {
               ^this[\isRest] == true
               or: { this[\type] == \rest
                       or: {
                               this.use {
parent ?? { parent = defaultParentEvent };
                                       ~detunedFreq.value.isRest
                               }
                       }
               }
       }

hjh

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/