Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added linux shell script - george.sh #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nemothorx
Copy link

[attempt 2, now with correct author metadata]

Relatively simple linux shell script added for local use. Timing calculations are different to the JS method, but the end result is within a fraction of a second for the beeps. Future improvements idea: limit how many loops it runs to suit intermittent running from cron.

@ryanmonro
Copy link
Owner

Hi @EarthNative, I love the idea of a CLI version. I can't get it to run, as it turns out the time command has different parameters in Mac OSX. I don't currently have Linux installed anywhere, so haven't been able to test yet. I'll get back to you when I do.

@nemothorx
Copy link
Author

time command? date?

but yeah, it's a very first draft script - relies on "mpv" (fork of mplayer) for playing the audio, and I didn't put any fallbacks in. I got it working to local satisfaction and figured other bugs could be resolved as they're encountered! :D

...It also relies on some possibly non-universal things such as the ability for sleep to handle floating point...

I've got an OSX install I'll poke at it with too :)

@ryanmonro
Copy link
Owner

ryanmonro commented Oct 21, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants