Skip to main content

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)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rockstarfoxdot-1.0.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

rockstarfoxdot-1.0.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page