Commits

uniqx committed 1be47f7

lots

Comments (0)

Files changed (11)

algorithmic-oneline-music/knuq1.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+knuq = lambda t: t
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=knuq,filename='knuq.wav')
+  
+
+

algorithmic-oneline-music/knuq2.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+knuq = lambda t: (t|t>>(t|t>>8)) * (t>>8 |t >> (max(8,t%256))) >> int(4*(1+math.sin(t*0.5)))
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=knuq,filename='knuq.wav',frame_count=8000*512)
+  
+
+

algorithmic-oneline-music/knuq3.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+knuq = lambda t: (t>>4|t>>(128-(t%128)>>3))
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=knuq,filename='knuq.wav',frame_count=8000*128)
+  
+
+

algorithmic-oneline-music/knuq4.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+knuq = lambda t: (t|t>>6|t>>(128-(t%128)>>4))
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=knuq,filename='knuq.wav',frame_count=8000*128)
+  
+
+

algorithmic-oneline-music/knuq5.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+knuq = lambda t: (6*t|((((2*t)>>6)/2))|t>>(32-(t%32)>>4))
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=knuq,filename='knuq.wav',frame_count=8000*128)
+  
+
+

algorithmic-oneline-music/knuq6.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+knuq = lambda t: (6*t|(t>>6)|t>>(64-(t%32)>>4))
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=knuq,filename='knuq.wav',frame_count=8000*128)
+  
+
+

algorithmic-oneline-music/knuq7.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+knuq = lambda t: (6*t|(t>>6)|t>>(64-(t%32)>>4)) & ( t>>3^t>>2 )
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=knuq,filename='knuq.wav',frame_count=8000*128)
+  
+
+

algorithmic-oneline-music/knuq8.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+knuq = lambda t: (6*t|(t>>6)|t>>(64-(t%32)>>4)) & ( t>>6^t>>5 | t>>11 )
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=knuq,filename='knuq.wav',frame_count=8000*128)
+  
+
+

algorithmic-oneline-music/knuq9.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+knuq = lambda t: (6*t|(t>>6)|t>>(64-(t%32)>>4)) & ( t>>6^t>>5 | t>>((t**2)%256) )
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=knuq,filename='knuq.wav',frame_count=8000*128)
+  
+
+

algorithmic-oneline-music/nuuq1.py

+#! /usr/bin/env python
+# -*- coding: utf-8 -*-
+#
+#  Copyright (C) 2011 uniqx
+#   Metalab, 1010 Vienna, Austria
+#
+# the algorithms and music generated by them are available to you under
+# following licence:
+#
+#  Creative Commons Attribution-ShareAlike 3.0 Austria License
+#  http://creativecommons.org/licenses/by-sa/3.0/at/
+#
+
+import oneline
+import math
+
+nuuq = lambda t: (6*t|(t>>6)|t>>(64-(t%32)>>4)) & ( t>>6^t>>5 | t>>((t**2)%256) ) & ( t&255>>t>>4 )
+
+if __name__ == '__main__':
+  
+  oneline.make_wav(func=nuuq,filename='nuuq.wav',frame_count=8000*128)
+  
+
+

algorithmic-oneline-music/viznut_demo.py

   def viznut(t):
     return (t>>6|t|t>>(t>>16))*10+((t>>11)&7)
   
-  oneline.make_wav(func=viznut,filename='viznut_demo.wav',frame_count=8000*240)
+  oneline.make_wav(func=viznut,filename='viznut_demo.wav',frame_count=8000*512)