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

add a whistle sound, perhaps? #2

Open
vdevel opened this issue Jul 15, 2013 · 15 comments
Open

add a whistle sound, perhaps? #2

vdevel opened this issue Jul 15, 2013 · 15 comments

Comments

@vdevel
Copy link

vdevel commented Jul 15, 2013

can the developer add a whistle sound to sl?
(this is an enhancement request)

@mtoyoda
Copy link
Owner

mtoyoda commented Jul 15, 2013

Nice idea.
I once considered that but didn't know how to implement it in a portable way, and could not find free sound.

@arangamani
Copy link

+1

@miurahr
Copy link

miurahr commented Mar 27, 2014

IMHO, there is no way to make portable sound program.

In my short research to study portable sound utility such as timidity, we need to make drivers for every platforms.

Here is a PoC to realize the whistle in SL.
https://github.com/miurahr/sl/tree/whistle
Audio file is CC0 license. shared on

I've write Makefile to detect host OS and select the way to make it.
It may be an only way to make sound to use is beep() with libncurses.

@wchargin
Copy link

How about w|aplay?

Use for i in $(seq 1 5); do w|aplay; done to get five blows of the worst whistle ever.

@miurahr
Copy link

miurahr commented Apr 16, 2014

Great but aplay is not portable.

@spacekookie
Copy link

Maybe an easy compromise would be to add 'cheew cheew' strings to the steam-clouds?

@Foggalong
Copy link

I always thought it was 'choo choo'

@millette
Copy link

play? aka, sox

@asalisbury
Copy link

+1 to "choo choo"

@aliceneubert
Copy link

For those who really want something like this:

https://www.youtube.com/watch?v=UKitTgH43mo&feature=youtu.be

Here is a simple script:

#!/bin/bash

cvlc ~/Music/caseyjr.wav > /dev/null 2>&1 &
/usr/games/sl

Call it sl and put it in your path. You'll have to find the clip yourself, since I'm sure it's copyrighted.

@alexmyczko
Copy link

http://www.portaudio.com/ is portable...

@koalatux
Copy link

The audio output device is not guaranteed to be at the same physical location as the user's terminal (e.g. if a user is connecting remotely via ssh).

@ddugovic
Copy link

All the better reason for adding the feature.

@mkuipers
Copy link

I think if it's OSX as operating system you could just have it be for i in $(seq 1 5); do say 'choo'; done and that would do the trick.

@alexmyczko
Copy link

say also comes with gnustep! www.gnustep.org

Umair-khurshid pushed a commit to Umair-khurshid/sl that referenced this issue Jun 12, 2024
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

No branches or pull requests