domgetter / win32-sound Goto Github PK
View Code? Open in Web Editor NEWThis project forked from chef-boneyard/win32-sound
A Ruby library for playing and controlling sounds on MS Windows.
This project forked from chef-boneyard/win32-sound
A Ruby library for playing and controlling sounds on MS Windows.
= Description A library for playing and controlling sounds on MS Windows. = Prerequisites * ffi * test-unit 2 (Development only) = Installation gem install win32-sound = Synopsis require 'win32/sound' include Win32 # Play a wav file Sound.play("somefile.wav") # Play a system sound Sound.play("SystemAsterisk",Sound::ALIAS) # Get the current volume of the waveform-audio output device. p Sound.volume.join(", ") # left channel, right channel = Acknowledgements API ideas derived (or not) from Perl's Win32::Sound module and Python's winsound package. = Known Bugs None that I'm aware of. Please report any bugs on the project page at https://github.com/djberg96/win32-sound. = Future Plans Add ability to retrieve information about WAV files. Add MIDI support? = Developer's Notes The MessageBeep() function, which the Python "winsound" module contains, is intentionally omitted here. I felt it was redundant, because you can achieve the same effect with something like this: Sound.play("SystemAsterisk", Sound::ALIAS). = License Artistic 2.0 = Copyright (C) 2004-2013, Daniel J. Berger, All Rights Reserved = Warranty This package is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose. = Author(s) Daniel Berger Park Heesob
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.