Jump to content
born

euclidean to interval

Recommended Posts

Hi,

how can I convert binaries to intervals?

 

(gen-binary-euclidean 1 14 8 8) => (1 0 1 1 0 1 0 1 0 1 1 0 1 0)

 

Each set of (1 0) shoud be replaced by 2 resulting in  '(2 1 2 2 2 1 2 2).

 

Thanks for help.

Achim

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×