AM Posted May 24, 2018 Share Posted May 24, 2018 is there a possibility to filter some "combinations"? when i have a seq like that: (a4 gs4 a4 gs4 a4 fs4 gs4 g5 bb5 g5 gs4) i want to filter all immediate repetitions with pattern-length = 2 the result would be: (a4 gs4 a4 fs4 gs4 g5 bb5 g5 gs4) because a4-gs4 is the pair that repeats Stephane Boussuge and opmo 2 Quote Link to comment Share on other sites More sharing options...
opmo Posted May 24, 2018 Share Posted May 24, 2018 Yes, we should have function like that. AM 1 Quote Link to comment Share on other sites More sharing options...
opmo Posted June 12, 2018 Share Posted June 12, 2018 Filter with sequence option: (filter-repeat 1 '(a4 gs4 a4 gs4 a4 fs4 gs4 g5 bb5 g5 g5 g5 gs4 a4 gs4) :seq 2) => (a4 gs4 a4 fs4 gs4 g5 bb5 g5 g5 g5 gs4 a4 gs4) (filter-repeat 1 '(a4 gs4 a4 gs4 a4 fs4 gs4 g5 bb5 g5 g5 g5 gs4 a4 gs4)) => (a4 gs4 a4 gs4 a4 fs4 gs4 g5 bb5 g5 gs4 a4 gs4) Is this what you are looking for ? Quote Link to comment Share on other sites More sharing options...
AM Posted June 12, 2018 Author Share Posted June 12, 2018 yes, that's it!! already part of the system? Quote Link to comment Share on other sites More sharing options...
opmo Posted June 12, 2018 Share Posted June 12, 2018 With the next release. I wonder if the result should remove the repeats of single notes: (filter-repeat 1 '(a4 gs4 a4 gs4 a4 fs4 gs4 g5 bb5 g5 g5 g5 gs4 a4 gs4) :seq 2) => (a4 gs4 a4 fs4 gs4 g5 bb5 g5 gs4 a4 gs4) AM 1 Quote Link to comment Share on other sites More sharing options...
AM Posted June 12, 2018 Author Share Posted June 12, 2018 i think it's better when it's seperate. keep the function/process as simple and clear as possible? Quote Link to comment Share on other sites More sharing options...
opmo Posted June 12, 2018 Share Posted June 12, 2018 Implemented in v. 1.2.23418 Stephane Boussuge 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.