{ "cells": [ { "cell_type": "code", "execution_count": 62, "id": "6eaaf021-e956-43f7-8c85-9d468a820ac3", "metadata": { "editable": true, "scrolled": true, "slideshow": { "slide_type": "" }, "tags": [] }, "outputs": [ { "data": { "text/plain": [ "" ] }, "execution_count": 62, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from FoxDot import *\n", "Clock.bpm=140\n", "Scale.default=\"prometheus\"\n", "Root.default=-5 # try: -5, -3, 1, 0\n", "p1 >> play(P[\"x-*-o(-[-=])+\"].layer(\"mirror\"),pan=(-1,1),dur=PDur(5,8),sample=0,rate=var([1,4],[28,4]))\n", "p2 >> play(PZip(\"Xs\", \" nno\"), sample=2, hpf=var([0,4000],[28,4])).every(3, 'stutter', dur=1)\n", "p3 >> pluck(P[0,1,1.5,5,7,12,5,10,7]+0, echo=[1/3, 1/2, 2/3, 1, 4/3], amp=var([0.35,1],1))\n", "p4 >> pads(p3.pitch[1].accompany()+3, room=0.5, mix=0.8, amp=1.0)\n", "p5 >> bass([0, -1, 5, 3], dur=4)" ] }, { "cell_type": "code", "execution_count": 3, "id": "71615829-6b50-4105-b94d-bb1de9eb8023", "metadata": {}, "outputs": [], "source": [ "p1.stop()\n", "p2.stop()\n", "p3.stop()\n", "p4.stop()\n", "p5.stop()" ] }, { "cell_type": "code", "execution_count": null, "id": "c5fd802e-75fd-4e60-b623-1de4d4a46380", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.5" } }, "nbformat": 4, "nbformat_minor": 5 }