ray.sniff~ convert our web field
I create a Max external object.
I hope you to use it with your great/crazy/smart idea.
エクスターナルオブジェクトを作りました。
後はみなさんが煮るなり焼くなりして下さい。
Very beautiful concept
The sounds on the video are fantastic! Is there a compiled version for Windows users?
Cheers
Paul
Thank you!
I will create it as soon as possible. > Windows version.
or Could anyone fork it and pull request in gitHub? May be use WinPcap(http://www.winpcap.org/).
Regards
leico
日本語にてすいません。
とても素晴らしいです。
音楽制作をしていて是非使いたいのですが、MAXを持っておらず知識もなく使えなくて困っています(MAX/MSP Runtimeでは駄目でしょうか)。
こんな状態で聞くのは恥ずかしいとも思いましたが、それでもこの技術を知りたい使いたいと思ったのでコメントしました。
なにか少しでも教えてもらえたら嬉しいです。
よろしくお願いします。
love this!
RYOISEKIさん
日本語全然大丈夫です! 生身は日本人です。
使っているOSはMacですかね。
アプリケーション -> Max6 Runtime -> Cycling '74 -> msp-externals
にray.sniff~.mxoをいれて頂くと動きますよー
Max Runtimeを起動する時にAdmin権限が必要なのが難点ですが、是非是非使ってくださいな。
Adminの問題も改善したいです。
Thanks! ;-)
LEICOさん
ありがとうございます!日本語助かります。
是非使わせてください!
早速教えていただいた通りにやってみました。
ですがアプリケーション -> Max6 Runtime -> Cycling ’74 -> msp-externalsにray.sniff~.mxoをいれてからが分からず困っております。
Adminlaunchの使い時すら分からずです、、、。
申し訳ないんですがもう少し教えてもらえるととても助かります。
どうかよろしくお願いします。
RYOISEKIさん
Runtime単体だとプログラムを書いたり編集したりができないんですよね。。
RuntimeでこのMaxパッチを開いて動かして見てください。
AdminLaunchですが、出てきたウィンドウにプログラムをドラッグ&ドロップすると
アプリケーションが管理者モードで起動します。
ただし、Dockからドラッグ&ドロップができないので注意です。
----
I put simple ray.sniff~ patch.
take it and Enjoy!
LEICOさん
度々丁寧にありがとうございます!
無知すぎて恥ずかしいです、、、。
言われた通りやってみたつもりなのですが音が鳴りませんでした。
WINDOWに下記の文字が出てきたのですが関係ありますか?
ray.sniff~: unable to load object bundle executable
聞いてばっかりで本当に申し訳ないです。
hey,
i too have a problem of missing object bundle executable
(see max console output :ray.sniff~: unable to load object bundle executable
2014-04-09 21:17:12.435 Max[200:207] Cannot find executable for CFBundle 0x25138090 (not loaded)
)
moreover, if i open ray.sniff~.mxo, tere is nothing like an executable inside... i will try to recompile if needed, but...
for VICHUG
Oops! I got same problem in Max6.0.8.
It works fine in Max 6.1.4.
I will fix soon. Please take a moments. I will announce here when I will have fixed.
A problem is caused by Build setting.
RYOISEKIさん
同様の問題がMax6.0.8で起こりました。
Max 6.1.4だと綺麗に動きますわー
修正するので少々お待ちください。修正されたらお知らせしますー
おそらく作る時の設定の問題ですわー。
Yeeeeeeeaaaaaaah!
I fixed!!!
Please download again.github.com/leico/ray.sniff-
I want to see your work with ray.sniff~. Also I'll introduce your work in this page.
Please tell me!
-----------
なおったよおおおおおおおおお!!
もう一度ダウンロードお願いしますーgithub.com/leico/ray.sniff-
もし作品できたら見せて下さいー。このページで紹介しますー!
hey, same error here, i'm on max 616 :s
for vichug
hmmmm. It works on Max 6.1.6 in my Mac.
I have Some questions.
Do you download a new version?
Which OS do you use?
Running on 32bit or 64bit ?
regards,
leico
hey !
->yes, i downloaded latest version on GIthub
->osx 10.6.8
->max is 32 bits
regards
LEICOさん
すいません遅くなりましたが今ダウンロードし直してやってみました!
対応本当にありがとうございます!
ただせっかくやってもらったのにできませんでした。。。
こちらの環境が悪いのかもですね。
OSX 10.6.8
max 32bitです。
この素晴らしい技術の紹介になるかは自信ないですが、制作できたら是非見て欲しいです!
何度もありがとうございます。
for VICHUG and RYOISEKI
There are same OS. I think it's caused by LLVM.
My OS is Marvericks. So I will try to find Snow Leopard and compile.
----------------
Snow Leopardかぁ! 多分コンパイラがLionから変わったのが原因かな。
自分はMarvericks使っています。Snow Leopard探してみます。
ah... i've seen stuff about retrocompatibility for snow leo not beeing enabled by default on latest MacOS... might be that yes, but afaik the tools for retrocompatibility can be used on mavericks - though they are not there by default.
Today, I borrow a Snow Leopard Macbook from school.
so I will try to compile and debug tomorrow.
今日学校からSnow Leopardを借りたので、明日コンパイルとデバッグしてみますねー
nice, thanks :)
update!
I upload Snow Leopard version.
Please try it.https://github.com/leico/ray.sniff-
Hey, it works !
Though not as well as on your video... sounds are more sparse, at 16 bits.
will it work better with video streaming ? With social websites/email ? What does the 'glitch' switch do exactly ?
Hah it works way much better with "en1" - what does "en1" mean ??
Cool!
so, glitch message sets margin when do not sniff data.
Network packet size is normally 1500bytes.(over 1500bytes called jumbo frame : now work in progress ;-) )
(glitch 1) : when no data, create 1500bytes mute, sometimes overflow ;-P
(glitch 0) : when no data, create 0001byte mute
Default is (glitch 1)
also, you could change pitch with Max's sampling rate.
my movie use 44100.
Macbook has 2 network ports.
normally,
en1 : wireless LAN port.
en0 : wired LAN port.
find your best settings! Enjoy!!
上記の日本語版です
glitchメッセージはデータがない時の余白の大きさを設定します。
パケットサイズは普通1500バイトで送られてきます。(現在1500バイト以上のジャンボフレームと呼ばれる方式も存在します。現在実装中;-) )
(glitch 1) : データが無い時、1500バイト分のミュートを作ります。時々オーバーフローします
(glitch 0) : データが無い時、0001バイト分のミュートを作ります。
通常は(glitch 1)です。
同様に、ピッチをMaxのサンプリング・レートで設定できます。
動画では44100でおこなっています。
Macbookには2つのネットワークの入り口があります。普通
en0 : 有線LANポート
en1 : 無線LANポート
となっています。
好きな設定を探してみてくださいねヽ(゚∀゚)メ(゚∀゚)メ(゚∀゚)ノ
ooh, so taht en1/0 is quite crucial indeed ;-) thanks!
Next update
for Windows
Completely sniffing
stability
Please take a moments.
次のアップデートは
Win版の製作
データキャプチャの精度向上
安定性向上
乞うご期待!
Clicking on 'Start Sampling' in the help file is crashing Max 6.1.6. Just downloaded the latest version from Github. Wouldn't initially load and had to unzip the file (ray.sniff~.mxo_10.6.zip) in the externals folder which then loaded, but crashed on first test.
I had Safari 7.0.2 open each time it crashed.
Screenshot of un-responsive Max window attached.
Great to see that a version for Windows will be coming with the next update. Very much ooking forward to it.
@wade : did you launch Max with AdminLaunch ? or anohter way to have super user admin rights ?
@wade
Maybe, you don't use AdminLaunch.
but, sorry not enough test when normally launch.
I will check and fix crash point.
@FOLDH
I try as soon as possible!
@VICHUG
Thank you for your advice.
@vichug: I didn't know I needed to run it. Saw the link but I already have Admin rights on my machine, so I assumed I didn't need it. Isn't that the same thing, or does this need root access or something?
I'll give it a try. Thanks for the heads up!
ye, on my machine it didn't work without launching from AdminLaunch
i tried a command su open Max.app
but it didn't work neither (although didn't try for long, mayeb i jsut had my password wrong)
@vichug: I tried it with AdminLaunch but after typing in my password, opening the help file, and then opening some websites in Safari, I'm not getting any sound beyond a few little clicks and short chirps once in a while, and that was only with the glitch button on. With just the regular button on I got nothing.
Am I doing something wrong?
did you use the 'en' argument suited to your current network conifguration ? ( en1 for airport, en0 for ethernet)
ray.sniff~ using a low level interface.
So we have to open a interface with administrative permission.
now I am finding good solution this problem.
ray.sniff~.maxhelp embed the minimum setting of ray.sniff~.
ray.sniff~ use default interface as a wired(en0).
However, many people use wireless interface as default, It will change ;-).
if you want to use wireless(en1), add a interface in 2nd argument.
For example:
[ray.sniff~ 16 en1]
If you open as root using Terminal.app, use this command:sudo Max.app/Contents/MacOS/Max
http://youtu.be/FDh5cbkpdcA
New ray.sniff~ coming soon.
I published new version. Try it.
Hi, still looking at a Windows version?
OMG! What a cool works!
I want introduce your works on this page top. May I do it?
leico
as you wish Leico.
I had fun doing it and your ray.sniff~ is really great!!!
Ciao,
Giorgio
thank you Giorgio!
I update this page now. I put your great works.
leico
ray.sniff~ come back.
rebuild on "MacOS" 10.11 & MaxSDK 7.1https://github.com/leico/ray.sniff-
leico
a couple of new videos made using ray.sniff~
ciao,
g
Hi Giorgio
So cool! Awesome work!!
Now C74 project page can't change.
I'll contact C74 can I / how to change project page. When it possible, I'll introduce your work on top.
leico
No worries, I just wanted to share something and thanking you again for ray.sniff~
I had lots of fun with it.
Ciao,
Giorgio
Finally got around to getting this working! Thanks for the help @leico and for your great object.
Just hearing noise though, on and off... nothing but white noise when I do a web search.
Is there some special filtering I need to do to get more interesting results?
@Giorio: Your examples are wicked. :)
@WAX
Thanks for the reply.
That result is correct for the current version.
I have been updating this object about every year or so.
Among them, I have made the following improvements.
Fixed an issue where I couldn't convert all the data to sound when I had too much data
Improved stability by revising the algorithm
Support for the latest version of Max
The buffer size for pooling data has been increased to improve 1. As a result, we have succeeded in converting all the data into sound, unless it is a massive download/upload.
However, the modern internet seems to be too much information and too fast. A little communication generates so long sound data.
This object can select bit depth in 1st argument where use to convert to sound from communication data. It could select from 8, 16, 24 and 32.
Also, sampling rate of the application also affects the cycle of this object's conversion.
@WAX
Thank you, I would suggest to experiment with different bit depths.
I run a patch with 4 objects at different bit (8, 16, 24 and 32) to get a variety of sounds.
Ciao, Giorgio
@GIORGIO
Thanks, I've been playing with the bit depths, but they all sound the same with the settings I have.
@LEICO
Thanks for your response. Could you give me an example of the arguments?
Is this correct?:
ray.sniff~ 8 en1 1 80
Also, in the maxhelp file, it has glitch $1 and clear messages. Both of which cause an error. Should those be removed? I could have an old maxhelp file though...
@WAX
this is what I use on my mac running MAX 8 on MAC OS El Capitain.
I open ADMIN LAUNCH first to launch MAX from it and then open
the ray.sniff patch. Let me know if this works.
@GIORGIO
Thanks Giorgio! Yes, this is the same sounding as mine. I modified the en3 to en0 as it wasn't matching my network. Maybe my internet traffic isn't as good sounding as yours. :)
I did notice that changing the I/O vector size and signal vector size (Audio Status) made the biggest difference is sound...
I used AdminLaunch to run the patch you posted. However, I find it easier to just run Max using a shell script with a double click. You might find it useful. You'll have to re-add your File Preferences.
@WAX
Thank you for the tip.
I also noticed a big difference between WiFi connection (richer sounds) and Ethernet (not so rich)
so maybe try WiFi if you didn't already.
Ciao,
g
@GIORGIO
Hello, Giorgio. I'm very happy to see that you continue to use it. Also thank you for sharing your experience.
@WASIs this correct?:
ray.sniff~ 8 en1 1 80
The second, third, and fourth arguments specify the network interface, IP address, and subnet mask.
IP address and subnet mask is integer value.
The third and fourth arguments are often used with 0, and, are not used correctly and will be removed soon.
The fifth argument allows you to set a filter for capture. For example, if you specify "port 80", only the data on port 80 will be converted.I did notice that changing the I/O vector size and signal vector size (Audio Status) made the biggest difference is sound...
Yes, This object translates from communication data to sound in a low layer, pretty directly.
Therefore, Max's Audio Settings will affect the sound of this object.
I hope you enjoy that as well.
leico
Thanks @LEICO. Just not sure how to turn it from heavy noise into more interesting noises. :) Lower packet trace route works pretty good though...
@GIORGIO: It definitely helps to use it with wifi, the sound is definitely better. Thanks for mentioning that. I was on ethernet before.
@LEICO
Thank YOU!
I'm still enjoying using it!!
Ciao!