Using using the RockStar EsoLang to make music in FoxDot
Project description
rockstarfoxdot
Using using the RockStar EsoLang to make music in FoxDot
To install (I think)
- use python3
- pip3 install numpy timeout_decorator watchdog rockstarfoxdot
- pip3 install -U git+https://github.com/yanorestes/rockstar-py.git
Instructions
Start up FoxDot as normal
Before trying to run any Rockstar run this line
from rockstarfoxdot import *
rockstar(lyrics, namespace=None, printname=None)
Use rockstar in-line
rockstar('''
Papa was a rolling stone
''', locals())
When run this will exec this python in your FoxDot
Papa = 175
rockstar(filename, namespace=None, printname=None)
Use rockstar from a file
rsf("FizzBuzz.rock", locals(), "fizzbuzz")
p1 >> bass(fizzbuzz, dur=PDur(17, 24))
When run this will exec the rockstar from "FizzBuzz.rock" in your FoxDot and place anything you 'Shout'ed 'Said' or 'Scream'ed into a list called fizzbuzz.
Then it will play those notes on the bass in FoxDot player p1
rockstar() has a timeout protecting you from infinite loops in the code
rs(lyrics, namespace=None, printname=None)
Use rockstar in-line
rockstar('''
Papa was a rolling stone
''', locals())
When run this will exec this python in your FoxDot
Papa = 175
rsf(filename, namespace=None, printname=None)
Use rockstar from a file
rsf("FizzBuzz.rock", locals(), "fizzbuzz")
p1 >> bass(fizzbuzz, dur=PDur(17, 24))
When run this will exec the rockstar from "FizzBuzz.rock" in your FoxDot and place anything you 'Shout'ed 'Said' or 'Scream'ed into a list called fizzbuzz.
Then it will play those notes on the bass in FoxDot player p1
rsf() has a timeout protecting you from infinite loops in the rockstar
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rockstarfoxdot-1.0.0.tar.gz
.
File metadata
- Download URL: rockstarfoxdot-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
58fcdfe4bc66a558606c1ea741bd3058f2c27d05f71db5c94b6d72af9eb7483b
|
|
MD5 |
bb17102cbd12cf73866ae08fc16cbf36
|
|
BLAKE2b-256 |
ccb809759febae9fdab6f43acc94574f3801e954c53c96b0dc26e722b2093a42
|
File details
Details for the file rockstarfoxdot-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: rockstarfoxdot-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
23ed34cc252918870b06041301f74298390fae6743089391cc20d2400789685f
|
|
MD5 |
fc67056b4ff9dc7afd592aa6e12ae84d
|
|
BLAKE2b-256 |
b1269a9374a2e0f2d31983d327d6facb51efe270ddcda6fe28c03994b33d2fff
|