I'm working on a sketch which displays kanji (Japanese characters). If I load these from an (UTF-8 encoded) txt-file I have no problems viewing them in Processing. The problem is that I have added them to an mysql database (also UTF-8 encoded), and when I load them from the database I can't view them correctly in Processing.
If I use the same database with PHP it'll work. I use the SQLibrary btw. I already tried stuff like this:
I guess the problem has something to do with the encoding withing my MySQL-Database, so maybe it's not really a Processing related question at all. But I'm sure there are alot of people who know more about text-encoding than I do!
Oh, btw, Kind of related. I also have a file where all the kanji are in JISX0208. I've tried everything but i can't even VIEW the file, let alone load it into Processing. Any ideas on that?
I'm not really new to Processing, but I am
very new to audio. I've searched the old forums and I saw alot of topics on audio, but I never found a good solution for my simple problem.
Basically, the only thing I want, is to know the frequency of incoming sound. I used to write a little program that did this using the krister.Ess library, but that library doesn't seem to work anymore...
I've got two iMacs which both send out a short sinewave on a certain frequency (i.e. 3000 & 5000). When iMac1 receives a tone at +- 3000Hz, it should send out a tone at 5000Hz.. When iMac2 receives a tone at 5000Hz, it should send out at 3000Hz. So they're just ping-ponging a sinewave to eachother... I need a script what will listnen to audio, and DO something once it receives audio from about an certain frequency.
I read alot about FFT and stuff, but I can't really seem to get audio input and fft analyse together...
I hope you understand what I mean. Is there anyone who could give me a lead on this?
Thanks in advance
ps. It doesn't have to use the krister.ess library ofcourse... Anything that will work is fine!