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.

Files for rockstarfoxdot, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size rockstarfoxdot-1.0.0-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size rockstarfoxdot-1.0.0.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page