Jump to content

Featured Replies

Posted

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

 

 

  • 3 weeks later...

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 ?

  • Author

yes, that's it!! already part of the system?

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)
  • Author

i think it's better when it's seperate. keep the function/process as simple and clear as possible?

Create an account or sign in to comment


Copyright © 2014-2025 Opusmodus™ Ltd. All rights reserved.
Product features, specifications, system requirements and availability are subject to change without notice.
Opusmodus, the Opusmodus logo, and other Opusmodus trademarks are either registered trademarks or trademarks of Opusmodus Ltd.
All other trademarks contained herein are the property of their respective owners.

Powered by Invision Community

Important Information

Terms of Use Privacy Policy