Live data from Hacker News

Show HN: Audioshop – Audio image editing

github.com

31–40 of 48 posts

Re: Show HN: Audioshop – Audio image editing

#31

Might be interesting to experiment with different mappings of pixel location to audio sample number, rather than just having a row by row linear scan from corner to corner.

I am curious. I do not know much about image encoding and the such. What other types are there besides linear either row by row or column by column? It seems to me that those two are the only logical ways to map pixels.

Polar coordinates?

Re: Show HN: Audioshop – Audio image editing

#34
I used to play with this as a kid. I couldn't script it, but I could remove the headers from a bmp and add the headers for a wav in a hex editor. Then I tried all the effects in audacity. The resulting images were pretty cool (only grayacale).

I also tried different audio compressions on the picture. Ogg vorbis even looked better than mp3, haha.

Re: Show HN: Audioshop – Audio image editing

#35
post #34

I used to play with this as a kid. I couldn't script it, but I could remove the headers from a bmp and add the headers for a wav in a hex editor. Then I tried all the effects in audacity. The resulting images were pretty cool (only grayacale). I also tried different audio compressions on the picture. Ogg vorbis even looked better than mp3, haha.

I actually played with doing the opposite when I was in high school: photoshop had a "RAW" file format plugin which let you specify the offset past the header and the bitmap data stride, height, width, and pixel format. You could open a WAV file as a Nx1 bitmap and then apply filters to it and get some interesting effects when saved back out and played in an audio player.

Re: Show HN: Audioshop – Audio image editing

#36

Hi HN, I just finished adding video support (and stubbed out audio support). Due to already using ffmpeg for image manipulations, this turned out to be rather easy. Give it a try using something like this: $ ./mangle.sh in.mp4 out.mp4 --color-format=yuv444p --bits=8 --blend=0.4 overdrive 17 hilbert -n 5001

This is fantastic. For folks wanting to play around with this on OSX: brew install ffmpeg lame brew install sox --with-lame The --with-lame is important if you want to process mp4s. Might want to consider putting some kind of progress indicator (simple polling on tmp_audio_in.u8 vs tmp_audio_out.u8). I ended up looking at the output directory with watch -n .5 ls -la /tmp/audio_shop-DIRECTORY I think the cleanup isn't…

i think the progress could be done with pv. | pv -s $( somehowgetinputsize ) > tmp_audio_out.u8

Re: Show HN: Audioshop – Audio image editing

#37

Might be interesting to experiment with different mappings of pixel location to audio sample number, rather than just having a row by row linear scan from corner to corner.

I am curious. I do not know much about image encoding and the such. What other types are there besides linear either row by row or column by column? It seems to me that those two are the only logical ways to map pixels.

Z-order (aka Morton order) is widely used in GPU acceleration, as a means of converting 2D locality into 1D locality.

https://en.wikipedia.org/wiki/Z-order_curve

Re: Show HN: Audioshop – Audio image editing

#39
post #21

The author of the modular synth "SunVox" made a live tool called "PixiVisor" that does something similar. http://www.warmplace.ru/soft/pixivisor/ The last two videos on the page are particularly impressive, which demonstrate video mixing using two channels of an audio mixer, and video blurring from multi-path audio reflections.

that guy/gal is an uber engineer. love all the stuff they've made!

Sunvox really is a stunning piece of software, for anyone who hasn't seen it or tinkered with it. It explores UI and synthesis in ways that haven't been really explored much (Jeskola Buzz started down the path many years ago, and there have been others in that space, but Sunvox is a beast in a category of its own). And, it runs (well) on very small devices...I was able to run it effectively on an old Nexus One, and it does very well on my Nexus 7 table and modern phone. It's hard to actually compose with such a small interface, but the synthesis and UI are efficient as hell. And, of course, it runs fine on a laptop of any sort.

So, yeah, I agree. Alexander Zolotov is brilliant and prolific. The demo videos for Sunvox are worth a watch.

Post reply on HN