You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Rubyã§wavãã¡ã¤ã«ã®ãã©ã¼ããããèªãã ãããã¼ã¿ãã£ã³ã¯ãç·¨éããããã®gemãä½ã£ãã ãã¼ã¹ã¯ä»¥åä½ã£ããã¤ã§ãã¤ãã§ã«wavãã¡ã¤ã«æä½ã®ãµã³ãã«ããããã追å ãã¦rubygems.orgã«ç»é²ãã¦ãããã ããã¾ã§ãµã¼ãã¼ã§é³ãåæãã¦è¿ããããªwebãµã¼ãã¹ã§ä½¿ãäºãæ³å®ãã¦ããç©ã§ããã¤ã¯ããã®å ¥åããªã¢ã«ã¿ã¤ã ã«é³å£°å¦çããããã®ç©ã§ã¯ãªãã â ã¤ã³ã¹ãã¼ã« gem install wav-file â 使ã ãã©ã¼ãããã¨ãã¼ã¿ãã£ã³ã¯ãèªã require 'rubygems' require 'wav-file' f = open("input.wav") format = WavFile::readFormat(f) dataChunk = WavFile::readDataChunk(f) f.close puts format ããã¨ãããªæãã«ãã©ã¼ããã
Iâve been trying to set up a Motion-JPEG streaming with ruby, for a webcam which uploads a picture per second to a server. I want new images to be served via streaming instead of making the browser call them every second via a javascript call. I found many different solutions, some of them including EventMachine, which now is not necessary thanks to the new Sinatra 1.3 streaming feature. The trick
Ruby2008/8/7ã«ããããä¿®æ£ãã¾ããããã½ã¼ã¹ã³ã¼ãsvn㯠svn co http://svn.coderepos.org/share/lang/ruby/nario Codereposã«ããã¦ããã®ã§èªç±ã«è§¦ã£ã¦ãã ããããç°å¢è¨å®Windowsã§ããã°ããã¡ã¤ã«å ã®rskit/game.exeã§ããã«ã¹ã¯ãªã¼ã³ã§åä½ãã¾ããlinuxã§ããã°ruby/sdlãåãç°å¢ãä½æãã¦ã ruby nario.rb ã§å¤§ä¸å¤«ã§ãããUbuntuã§åä½ç¢ºèªãã¦ããã ãã¾ããã SUPER NARIOããã¬ã¤ãã¦ã¿ã(æéã¬ãã¥ã¼ããããã¦) - ãã¿ã®ãã¼ãã8ããããã£ã¹ããæä½æ¹æ³ååãã¼ãââââAãã¿ã³ãABãã¿ã³ãBçµäºãESC(ãã«ã¹ã¯ãªã¼ã³ã§åããã¨ãã¯ç¹ã«è¦ãã¦ãããã»ããããã§ã)ãTodoãã®ãã¨ãæé·ç³»ãä»ã®ããããBGMãSEãã ã1-1ãä½ã£ã¦é常ã«ç²ããã®
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}