sethsethseth (OP)
Sr. Member
  
Offline
Activity: 257
Merit: 250
Not trusting third parties with my private keys
|
 |
April 19, 2011, 09:05:39 PM |
|
I want a custom sound file to play when I generate a block on windows. 10btc Bounty.
|
SealsWithClubs poker room has over 400 players online. Buy in from .01 to 60btc. BTCSportsMatch lets you bet sports with vig free lines! Best kept secret in bitcoin.... LocalBitcoins.com is very user-friendly now for bank transfers. You don't have to live close to trade when in the same currency area. Electrum client is awesome. Try it. And please stop sending bitcoins to sites run by security newbies, or don't complain when you lose everything.
|
|
|
Anonymous
Guest
|
 |
April 19, 2011, 10:13:26 PM |
|
I want a custom sound file to play when I generate a block on windows. 10btc Bounty.
awesome. Now what is an appropriate sound for a bitcoin block? A cash register ? Depending on your miner you might not hear the sound for a long time. 
|
|
|
|
tcatm
|
 |
April 19, 2011, 10:20:23 PM |
|
Depending on your miner you might not hear the sound for a long time.  Yep, it should temporarily turn off the fans, too... 
|
|
|
|
PLATO
Sr. Member
  
Offline
Activity: 493
Merit: 250
Don't trust "BBOD The Best Futures Exchange"
|
 |
April 20, 2011, 03:55:49 AM |
|
awesome. Now what is an appropriate sound for a bitcoin block?
http://themushroomkingdom.net/sounds/wav/smb3_coin.wav
|
All posts by me after 2012 were a compromised account. Probably by "BBOD The Best Futures Exchange". SORRY Y'ALL
|
|
|
sethsethseth (OP)
Sr. Member
  
Offline
Activity: 257
Merit: 250
Not trusting third parties with my private keys
|
 |
April 21, 2011, 06:20:12 PM |
|
YES! coin drop, cash register, firework.... Plz donate guys, i'm sure this will get done with just a little more action
|
SealsWithClubs poker room has over 400 players online. Buy in from .01 to 60btc. BTCSportsMatch lets you bet sports with vig free lines! Best kept secret in bitcoin.... LocalBitcoins.com is very user-friendly now for bank transfers. You don't have to live close to trade when in the same currency area. Electrum client is awesome. Try it. And please stop sending bitcoins to sites run by security newbies, or don't complain when you lose everything.
|
|
|
gigabytecoin
|
 |
April 21, 2011, 09:07:05 PM |
|
I want a custom sound file to play when I generate a block on windows. 10btc Bounty.
awesome. Now what is an appropriate sound for a bitcoin block? A cash register ? Depending on your miner you might not hear the sound for a long time.  How about one of the casino/lottery winning sound bytes? Those things were specially created to make you feel elated when you hear them, and people already associate it with money. Some kind of fast, high pitched, major arpeggio would be good.
|
|
|
|
NghtRppr
|
 |
April 22, 2011, 07:51:56 PM |
|
I could do this pretty easily if I just made it play a sound file when your balance increases.
|
|
|
|
sethsethseth (OP)
Sr. Member
  
Offline
Activity: 257
Merit: 250
Not trusting third parties with my private keys
|
 |
April 23, 2011, 04:35:15 PM |
|
I really want the sound to happen when the blocks are generated, not a day later when they are confirmed though....
|
SealsWithClubs poker room has over 400 players online. Buy in from .01 to 60btc. BTCSportsMatch lets you bet sports with vig free lines! Best kept secret in bitcoin.... LocalBitcoins.com is very user-friendly now for bank transfers. You don't have to live close to trade when in the same currency area. Electrum client is awesome. Try it. And please stop sending bitcoins to sites run by security newbies, or don't complain when you lose everything.
|
|
|
LMGTFY
|
 |
April 23, 2011, 04:56:23 PM |
|
I really want the sound to happen when the blocks are generated, not a day later when they are confirmed though....
On *nix I'd pipe the miner's output to a log file (which I do anyway) and then run a scheduled task every minute or so. The task would need to do some magic (this assumes some like DiabloMiner, which normally shows hash rate until a block is generate, then displays a line containing the word "Block"): Look at the penultimate line of the log file, and do something like... If the line contains the string "Block" then... grep -E 'Block [0-9]+' -o | awk '{print $2}' ... and then compare the value returned (the block number) with the previous value, if a previous value exists, and if it's different (or there is no previous value) then store the new value and play a sound file. If I had to do this in Windows I'd end up installing Cygwin or similar, but I'm sure that someone with Windows-fu could do a better job than me. Disclaimer: rough, untested pseudo-code. The grep bit works, nothing else carries any warranty, guarantee, assurance or promise. Your milage may vary, do not drive or operate heavy machinery, DO NOT TAUNT HAPPY FUN BALL!
|
This space intentionally left blank.
|
|
|
sethsethseth (OP)
Sr. Member
  
Offline
Activity: 257
Merit: 250
Not trusting third parties with my private keys
|
 |
April 26, 2011, 11:38:12 PM |
|
geez how much bounty does it take to get simple stuff done around here? I've paid out a 50btc bounty before, but this seems like a 10min job....
|
SealsWithClubs poker room has over 400 players online. Buy in from .01 to 60btc. BTCSportsMatch lets you bet sports with vig free lines! Best kept secret in bitcoin.... LocalBitcoins.com is very user-friendly now for bank transfers. You don't have to live close to trade when in the same currency area. Electrum client is awesome. Try it. And please stop sending bitcoins to sites run by security newbies, or don't complain when you lose everything.
|
|
|
Escalion
Newbie
Offline
Activity: 7
Merit: 0
|
 |
April 28, 2011, 09:51:42 AM |
|
What system are you using, you was very unclear?
He basically just told you how to do it in linux with pipes.... A simple bash script wouldnt be hard.
For Windows it would require the output to a log, and a seperate worker checking the log every x seconds, at least until a sound is introduced in the client.
|
|
|
|
LMGTFY
|
 |
April 28, 2011, 01:08:30 PM |
|
What system are you using, you was very unclear?
He basically just told you how to do it in linux with pipes.... A simple bash script wouldnt be hard.
For Windows it would require the output to a log, and a seperate worker checking the log every x seconds, at least until a sound is introduced in the client.
They're definitely using Windows, I don't know which version. The proposal I made above could be made to work on Windows but you'd need to install Cygwin or similar.
|
This space intentionally left blank.
|
|
|
shooter_mcgavin
Member

Offline
Activity: 76
Merit: 10
|
 |
May 11, 2011, 07:55:11 PM |
|
I can write this easily. Tell me what miner you are using and what platform you would like it written for. I can provide both source and binary if you wish.
|
If you think I've been helpful, toss me a few bitcoin - 1J2bbukPKFrwEfk4iHueKfLfFBXLSNGnTi
|
|
|
sethsethseth (OP)
Sr. Member
  
Offline
Activity: 257
Merit: 250
Not trusting third parties with my private keys
|
 |
May 12, 2011, 02:23:51 AM Last edit: May 12, 2011, 02:44:28 AM by sethsethseth |
|
This is for 64bit windows 7. Is it possible to have it work with multiple miners? I am currently deciding if phoenix gives enough boost over GUI miner to switch, and i've switched a bunch of times in the last few months and I want the code to work if I switch miners.
|
SealsWithClubs poker room has over 400 players online. Buy in from .01 to 60btc. BTCSportsMatch lets you bet sports with vig free lines! Best kept secret in bitcoin.... LocalBitcoins.com is very user-friendly now for bank transfers. You don't have to live close to trade when in the same currency area. Electrum client is awesome. Try it. And please stop sending bitcoins to sites run by security newbies, or don't complain when you lose everything.
|
|
|
shooter_mcgavin
Member

Offline
Activity: 76
Merit: 10
|
 |
May 12, 2011, 05:04:27 AM |
|
This is for 64bit windows 7. Is it possible to have it work with multiple miners? I am currently deciding if phoenix gives enough boost over GUI miner to switch, and i've switched a bunch of times in the last few months and I want the code to work if I switch miners.
Depending on the incentive, I can code in support for multiple miners. It's just extra lines of code.
|
If you think I've been helpful, toss me a few bitcoin - 1J2bbukPKFrwEfk4iHueKfLfFBXLSNGnTi
|
|
|
unfinishe
|
 |
May 12, 2011, 09:34:21 AM |
|
Ok, so I probably didn't need to start a repository for this, but I've never used git or github before, so I figured it'd be fun to try it out. https://github.com/downloads/unfinishe/Bitcoin-Miner-Ding/ding.zipI hope that this works. What you do is: In one cmd window, run your miner from the command-line, except add the following onto the end. > output.txt 2>&1 This sends the output of your miner to a file. Then in another cmd window, run ding.exe [word], which will scan the file every couple seconds to see whether the output includes the [word] in it. If it does, it will play ding.wav. Just use whatever word signifies in the output that a block has been generated in your miner. It could definitely be written better, but hopefully it does the job!
|
|
|
|
nereer
Member

Offline
Activity: 84
Merit: 10
Why settle for the lesser evil?
|
 |
May 12, 2011, 10:35:48 AM |
|
+1 classic. first sound I thought of when I saw this thread 
|
|
|
|
shooter_mcgavin
Member

Offline
Activity: 76
Merit: 10
|
 |
May 12, 2011, 03:19:54 PM Last edit: May 12, 2011, 03:47:35 PM by shooter_mcgavin |
|
sethsethseth, I sent you a PM with the binary file in a zip format. Let me know how it works for you, it should be pretty solid. If anyone else would like to join in on the bounty, please send me a PM. I will consider making it open to the public if it turns out to be a needed feature.
Donations are always nice though :]
1J2bbukPKFrwEfk4iHueKfLfFBXLSNGnTi
|
If you think I've been helpful, toss me a few bitcoin - 1J2bbukPKFrwEfk4iHueKfLfFBXLSNGnTi
|
|
|
Herodes
|
 |
May 13, 2011, 07:12:22 AM |
|
I have now implemented the request feature, compiled a client binary for win 7 64 bit, and e-mailed it to seth. I talked with him on irc earlier on. Later I might submit this as a patch to the official client if anyone is interested. It wasn't a big job at all, when I first got to coding, but setting up the entire environment for compiling took a long time.
As it is now, it checks for "0/unconfirmed", and once that message pops up in the client, the client will play a sound of your choice. Currently this is just a file named test.wav in your directory. I have just tested it on my win 7 64 bit system, and the only files altered are the ui.cpp and the makefile.
Not sure if more people are interested, then let me know, and I may put out the source. I will at some point anyhow, but I tought I'd refine it a bit more, even if it works now.
There is a glitch tough, the send coin menu item and the adress book item seems to no longer behave perfectly graphically speaking, sometimes when moving the client around the screen, or resizing it, the graphic in the menu line is affected and looks a bit odd, I don't know why this is, but will research it later on.
Complete source is available for the topic starter, and also instructions for how to set up the environment for compiling were sent to him, although I must frankly say that these procedures are a bit daunting for a non-programmer.
Let me know what you all think, and I will check in on this thread later. And please do not complain that I have not put up a binary and/or source yet. I will, just waiting for feedback from the topic starter.
The libraries I have used are windows specific, so this solution will most likely not work for any other OS at this point.
|
|
|
|
sethsethseth (OP)
Sr. Member
  
Offline
Activity: 257
Merit: 250
Not trusting third parties with my private keys
|
 |
May 13, 2011, 09:37:59 AM |
|
How does a month go by and then suddenly three people try to do this in one day! TheManOfTown's method seems to be the best, as it works with any miner and multiple mining rigs on the eligius pool. Testing it now shipping coins back and forth to roommates computers to hear the action. if you guys have good sounds post them.
|
SealsWithClubs poker room has over 400 players online. Buy in from .01 to 60btc. BTCSportsMatch lets you bet sports with vig free lines! Best kept secret in bitcoin.... LocalBitcoins.com is very user-friendly now for bank transfers. You don't have to live close to trade when in the same currency area. Electrum client is awesome. Try it. And please stop sending bitcoins to sites run by security newbies, or don't complain when you lose everything.
|
|
|
|