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
Hashes for rockstarfoxdot-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23ed34cc252918870b06041301f74298390fae6743089391cc20d2400789685f |
|
MD5 | fc67056b4ff9dc7afd592aa6e12ae84d |
|
BLAKE2b-256 | b1269a9374a2e0f2d31983d327d6facb51efe270ddcda6fe28c03994b33d2fff |