Re: image viewer pre-alpha (AKA what I should have done a long time ago)

2014-09-07 Thread AudioGames . net Forum — Off-topic room : hhurstseth405 via Audiogames-reflector


  


Re: image viewer pre-alpha (AKA what I should have done a long time ago)

So basically it allows you to see the picture by learning what all the sounds or the colors mean in braille? Its like learning braille you learn what the letters mean and you are able to make words. But in this case this is for pictures?

URL: http://forum.audiogames.net/viewtopic.php?pid=188324#p188324




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Re: image viewer pre-alpha (AKA what I should have done a long time ago)

2014-09-07 Thread AudioGames . net Forum — Off-topic room : CAE_Jones via Audiogames-reflector


  


Re: image viewer pre-alpha (AKA what I should have done a long time ago)

More or less. The biggest limitation is that there isnt another output method with the resolution that a computer screen has, so keeping a good signal to noise ratio is tricky.

URL: http://forum.audiogames.net/viewtopic.php?pid=188325#p188325




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

image viewer pre-alpha (AKA what I should have done a long time ago)

2014-09-06 Thread AudioGames . net Forum — Off-topic room : CAE_Jones via Audiogames-reflector


  


image viewer pre-alpha (AKA what I should have done a long time ago)

(Latest version:source code: https://dl.dropboxusercontent.com/u/165 … viewer.zip)Fair warning: I say pre-alpha because, even though it works wonderfully for me, I have no idea if it will work for you. Heres hoping.- - The first version of this is distributed as source code without dependencies. A .exe is coming, but its kinda bulky and Im new with py2exe and need to work out a few dependency issues. It works fine for me with python2.7 with pygame, numpy, accessible_output2 and camlorn_audio * installed.The main file is atest.py. Do not try to run aviewer.py; nothing will happen other than loading stuff.This program will load images on your computer, and give you audio (and optionally, braille) representations of the region around the cursor.It doesnt try to view the entire image in one sweep. I do want to add such a mode, but its much more complicated and work-intensive.You might describe how it works now as kinda like Swamps radar, but with colors. Basically, for each frame, the program scans in one direction, until it finds a color that is different from the color at your position (or the edge of the image, whichever comes first). It then tries to find the best match for that color in audio, which basically means trying to play as few sounds as possible to represent it. In the worst case, it will mix 3 sounds to represent the red, green and blue values. Whats more, you can add or replace sound files in the sounds folder as you wish. After all, I set it up for my own synesthetic preferences; just because red sounds like a laser for me doesnt mean it has to for you!The program defaults to scanning in the four compass directions, but you can press ctrl+left or ctrl+right to increase how many scans it does per cycle. A full list of keystrokes is in the readme-atest.txt file.If you have a braille display, you can get braille feedback, too. Its not very good just yet, since I havent added zoom, scale, or black and white options, and even most small images are going to be several times as wide in pixels as a braille display is in cells. But its there if you want to try it. Colors are represented in braille by taking only the top 2 bits of each red, green and blue value, and stacking them. So all the dots (=) would be something close to white,, a blank space would be black, c would be red, g would be yellow, u might be indigo, etc. This is all set to work best with English computer braille; I have no idea what will happen if you try it with another language.The pitch bend is supposed to represent vertical position, but it really doesnt work right. I left it in anyway because its kinda fun.* camlorn_audio is deprecated hard core. Im using it out of convenience for the time being. If you run this as a console program, youll see lots and lots of error messages when it closes. They have not caused me any problems so far.

URL: http://forum.audiogames.net/viewtopic.php?pid=188159#p188159




___
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector