Skip to content
Newer
Older
100644 62 lines (45 sloc) 2.3 KB
0ca13c1 @jaysalvat Update README.md
authored Oct 12, 2013
1 Buzz, a Javascript HTML5 Audio library
2 ======================================
67880b5 Add Readme file
Jay Salvat authored Jun 30, 2011
3
1f385b9 @PeterDaveHello Use svg instead of png to get better image quality
PeterDaveHello authored Jan 12, 2015
4 [![Build Status](https://travis-ci.org/jaysalvat/buzz.svg?branch=master)](https://travis-ci.org/jaysalvat/buzz)
1ca83d8 @jaysalvat Add Grunt badge to README
authored Jul 11, 2014
5 [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/)
1e47080 add travisci icon
felipebenevides authored Oct 3, 2013
6
67880b5 Add Readme file
Jay Salvat authored Jun 30, 2011
7 Buzz is a small but powerful Javascript library that allows you to easily take advantage of the new HTML5 audio element. It tries to degrade properly on non-modern browsers.
8
9 var mySound = new buzz.sound( "/sounds/myfile", {
b9381eb @jaysalvat New project structure
authored Aug 15, 2013
10 formats: [ "ogg", "mp3", "aac" ]
67880b5 Add Readme file
Jay Salvat authored Jun 30, 2011
11 });
b9381eb @jaysalvat New project structure
authored Aug 15, 2013
12
67880b5 Add Readme file
Jay Salvat authored Jun 30, 2011
13 mySound.play()
14 .fadeIn()
15 .loop()
16 .bind( "timeupdate", function() {
17 var timer = buzz.toTimer( this.getTime() );
18 document.getElementById( "timer" ).innerHTML = timer;
19 });
20
0ca13c1 @jaysalvat Update README.md
authored Oct 12, 2013
21 ### Official website
67880b5 Add Readme file
Jay Salvat authored Jun 30, 2011
22 http://buzz.jaysalvat.com/
23
0ca13c1 @jaysalvat Update README.md
authored Oct 12, 2013
24 ### Real life demo
67880b5 Add Readme file
Jay Salvat authored Jun 30, 2011
25 http://buzz.jaysalvat.com/demo/
26
0ca13c1 @jaysalvat Update README.md
authored Oct 12, 2013
27 ### Documentation
b9381eb @jaysalvat New project structure
authored Aug 15, 2013
28 http://buzz.jaysalvat.com/documentation/
29
0ca13c1 @jaysalvat Update README.md
authored Oct 12, 2013
30 Contributing
31 ------------
b9381eb @jaysalvat New project structure
authored Aug 15, 2013
32
5eb22d7 @jaysalvat Update README.md
authored Oct 22, 2013
33 Please don't edit files in the `dist` subdirectory as it is generated via Grunt. You'll find source code in the `src` subdirectory!
4ec088e @jaysalvat Update README.md
authored Aug 15, 2013
34 Regarding code style like indentation and whitespace, **follow the conventions you see used in the source already.**
0ca13c1 @jaysalvat Update README.md
authored Oct 12, 2013
35
28b3915 @jaysalvat Rename component.json to bower.json
authored Jul 7, 2014
36 PLEASE DO NOT use Gruntfile. I will. :)
37
0ca13c1 @jaysalvat Update README.md
authored Oct 12, 2013
38 License
39 -------
40
41 **The MIT License (MIT)**
42
d097f24 @jaysalvat Update copyright year
authored Sep 11, 2014
43 Copyright (c) 2014 Jay Salvat
0ca13c1 @jaysalvat Update README.md
authored Oct 12, 2013
44
45 Permission is hereby granted, free of charge, to any person obtaining a copy
46 of this software and associated documentation files (the "Software"), to deal
47 in the Software without restriction, including without limitation the rights
48 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
49 copies of the Software, and to permit persons to whom the Software is
50 furnished to do so, subject to the following conditions:
51
52 The above copyright notice and this permission notice shall be included in
53 all copies or substantial portions of the Software.
54
55 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
56 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
57 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
58 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
59 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
60 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
61 THE SOFTWARE.
Something went wrong with that request. Please try again.