MaxLaumeister / bitlisten

Realtime Bitcoin transaction visualizer
http://bitlisten.com/
MIT License
296 stars 113 forks source link

Sound should not cut off previous sound if it is the same sound file being played again. #6

Closed joelstanner closed 11 years ago

joelstanner commented 11 years ago

When a sound is played and it is the same sound file that was previously played, it clips the note when playing it.

joelstanner commented 11 years ago

Has anyone looked at this? I found a beta version of BUZZ that had channels, but I still couldn't get it to work.

joelstanner commented 11 years ago

Maybe moving from buzz.js to howler.js?

http://goldfirestudios.com/blog/104/howler.js-Modern-Web-Audio-Javascript-Library https://github.com/goldfire/howler.js

It seems to be in active development, plays multiple same file sounds on top of each other, and has support? Check out the demo buttons on the page.

I may try this out myself if it doesn't look too hard to change the sound engine.

joelstanner commented 11 years ago

Ok, I tried doing this with howler, and it seems to work much better. It seems to work ok in chrome and firefox locally, but on a remote server, firefox doesn't seem to work. Chrome seems fine.

http://joelstanner.com/Listen-To-Bitcoin/

Anyway, howler seems to be the way to go.

MaxLaumeister commented 11 years ago

Hi again poolbath1! Thank you again for your contribution, I wanted to say that I finally integrated this with the main trunk, so it's live on BitListen.com now.

Sorry again for the delays, I'm going to close this issue unless there's anything else to add.

joelstanner commented 11 years ago

Thank you, saw that. I'm hoping to contribute a few more sounds when I get some time to do that too. Take care--js

On Jun 30, 2013, at 5:39 PM, Maximillian Laumeister wrote:

Hi again poolbath1! Thank you again for your contribution, I wanted to say that I finally integrated this with the main trunk, so it's live on BitListen.com now.

Sorry again for the delays, I'm going to close this issue unless there's anything else to add.

— Reply to this email directly or view it on GitHub.