Jump to content




Beep Tone


10 replies to this topic

#1 COOLGAMETUBE

  • Members
  • 49 posts
  • LocationGermany

Posted 09 October 2015 - 06:05 PM

We just want a little controlabel Beep from the mainboard(function os.beep())
That not much work to do.

For Example: Timer
-- Called per parallel methode
while Alarm_on do
  if os.pullEvent("timer") then
    for i=1,3 do
      os.beep()
      sleep(0.1)
  end
end


#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 09 October 2015 - 09:26 PM

In the meantime, you have the option of placing a note block next to the computer and hitting it with a redstone pulse.

#3 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 13 October 2015 - 03:08 PM

 COOLGAMETUBE, on 09 October 2015 - 06:05 PM, said:

We just want a little controlabel Beep from the mainboard(function os.beep())
That not much work to do.

For Example: Timer
-- Called per parallel methode
while Alarm_on do
  if os.pullEvent("timer") then
    for i=1,3 do
      os.beep()
      sleep(0.1)
  end
end
Sounds are coming with CraftOS 2.0 (try to search for it on YouTube on Dan200's channel ;) )

#4 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 14 October 2015 - 03:23 AM

 Konlab, on 13 October 2015 - 03:08 PM, said:

Sounds are coming with CraftOS 2.0 (try to search for it on YouTube on Dan200's channel ;) )

However, I believe dan has confirmed that it's not a minecraft mod - or even minecraft related at all

#5 Waitdev_

  • Members
  • 432 posts
  • LocationAdelaide

Posted 20 October 2015 - 09:03 AM

moarperipherals adds an iron noteblock, and a turtle with it. it can play all noteblock sounds from one block.

#6 Blue

  • Members
  • 309 posts
  • LocationGlass/UX/main.lua

Posted 20 October 2015 - 11:46 AM

It's a good idea,but I don't think that this should be in the OS API:

Computercraft Wiki said:

The Operating System API allows for interfacing with the Lua based Operating System itself.
It should be something like "sounds.beep" or "notify.beep".

#7 Kristopher_Jones

  • Members
  • 16 posts
  • LocationLatvia

Posted 29 October 2015 - 12:09 PM

You can use tone box for this.

#8 LoganDark

  • Members
  • 231 posts
  • LocationMacintosh HD/Users/LoganDark

Posted 13 December 2015 - 10:33 PM

You should be able to control the tone of the beep.

I think this would be a good idea, but it should have a cooldown to prevent beep spam.

Also, only advanced / command computers should have this feature.

#9 Silver07

  • Members
  • 34 posts
  • LocationMinecraftia

Posted 13 February 2016 - 03:41 AM

This would be great, os.beep(), computer.beep(), or sounds.beep(length,pitch) would be great for all computers ( Would even go good with a bootloader program i am working on ), this would give computers the ability to notify a user when something is complete or an error has occured. (You Could even be crazy enough to make music with it :P)

Edited by Silver07, 13 February 2016 - 03:41 AM.


#10 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 13 February 2016 - 12:46 PM

you can make sounds in the upcomming CraftOS 2.0

#11 ciba43

  • Members
  • 32 posts

Posted 15 February 2016 - 09:02 AM

I really like the idea of beeps. If you look at computer history, beep tones were used for basic midi-style music and I think I even saw a very basic PCM converter to play actual audio on the thing, though in very low quality. Doubt that could be implemented, but simple beep tones would be awesome. Just think of the idea of entering your base and hearing zelda themes or something like that ;)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users