I’m sure there lots of programmers around who don’t know about anything c++, xcode and openframeworks technologies…So, sometimes we loose tons of time in order to get over very small issues like defining folder paths, potting files into correct place, or doing some operations in correct sequence, etc… And the funny part is, most of the time you can’t find any sources on the web in such situations. Don’t know why. May be it’s just related with me
First of all I need to tell my exact system running on my computer, so you check everything and be sure what’s going wrong..
1- donwload the 007 version release of openframeworks
2- my OS is OS X LION
3- Xcode 4
Installing Xcode4 is the most easy part as you expect… There is nothing tricky parts. After installation, place the “of_preRelease_v007_osx” folder anywhere in your hard drive. Xcode 4 is different then previous Xcode versions in terms of GUI. Don’t know it’s good or bad, but after some days I get used to new GUI. I think, it’s really comfortable to manage things easly…
Anyways, to copile and openframeworks examples;
1- Navigate to of_preRelease_v007_osx-> apps -> examples
2- Select one of the example project that you desire and double click to *.xcodeproj file
3- Here is the tricky part ”of_preRelease_v007_osx” was released before Xcode4 so it doesn’t know anything about the osx 10.7 SDK. Firstly, you need to change BASE SDK for the project. To do that click onto project file and set BASE SDK to MAC OS X 10.6 as follows;
4- Hit the Run button to compile and debug the project
In the next tip I’ll explain how to create a new project from scratch..and add addons folders libraries to the header files…
Embedding fonts in Flash Builder is so easy as follows. However, in some cases that I have no idea, Flash Builder changes the fonts in your application. To fix that, just goto topbar Project->Clean…Then Flash Builder refreshes your project and everything is gonna be fine This is just a reminder for myself. I’m sure, I’ll forget the fix for this issue when I exprience it again.
[Embed(source="com/alptugan/assets/font/HelveticaNeueLTPro-Roman.otf", embedAsCFF="false", fontName="roman", mimeType="application/x-font")]
public var Roman:Class;
[Embed(source="com/alptugan/assets/font/HelveticaNeueLTPro-Bd.otf", embedAsCFF="false", fontName="helvetica-bold", mimeType="application/x-font")]
public var Bold:Class;
[Embed(source="com/alptugan/assets/font/HelveticaNeueLTPro-ThCn.otf", embedAsCFF="false", fontName="helvetica-thin", mimeType="application/x-font")]
public var Thin:Class;
Soundmaps will be series of generative visuals of my favourite sound pieces. Here’s the first one “Uoon I” from Alva Noto & Ryuichi Sakamoto’s Vrioon album. Visuals are generated with Processing and Minim audio library.
It’s a so common issue for me. Whenever I install a new Flash Player version or a new software (really I don’t know why it’s happening!!), Flash Builder gets confused about debugging. And I start to experiment with the problem endless hours..In some way, I make it work. But most of the time, the solition is uninstall all of the Flash Player and Debugger versions and also Flash Builder from my computer. Then, re-install everything again..What a suffer..
I couldn’t find any consistant fix for that issue. I wrote many e-mails to Adobe, but no chance!!!
Few hours ago, it’s happened again, and I lost 6 hours or something more. Because of that issue I couldn’t finish my client’s work also. At last, I realised that the solition is so simple. Hope it helps someone else who is suffering from the debugging issue in Flash Builder appearing randomly. And it’s a reminder for me also. Don’t wanna loose hours for the next time. It really pissed me of this time.
Well, the solution as follows;
1- Turn back to defaults for every preferences in the Flash Builder
Delete the text in the “Standalone Adobe Flash Player” and Web browser” fields.
2- This is the magic part (!) Just right click on a swf file in your computer and select “get info”
Select the desired latest Flash Player/Debugger that you want. For me, Flash Builder located to Flash Player 10.1..But, my sdk was Flex_4.5.1. The minimum player version has to be 10.2 in order to use flex_sdk_4.5.1. I chose “Flash Player Debugger 10.3″ from the list.
And DO NOT FORGET to hit “Change All…” button inthe info window.
That’s all!
3- Turn back to Flash Builder and hit “Debug” icon. It should work.
If you know the reason is why, just please tell me I’ve been using Flash Builder/Flex for two or three years and have no idea about the problem. May be it’s related with the location.
Update (November/12/2011)
if the method that I mentioned above, you can try to connect flash debugger player manually. To do that;
1- Run/Debug your application from Flash Builder
2- When the progress tab stucks at 57% or something else, wait for the flash player/debugger window appears.
3- On the browser or the window, right click on it and select “Debugger” (To do that you have to have Flash Debug Player Version both for browser and stand alone application. You can download debugger version of Flash Player from adobe’s web site)
4- Select “At IP Address” and type “127.0.0.1″, hit continue. It should work. I hope At least worked for me
Last week I was at my hometown (Düzce). There was a forest very close to our house. I was hearing those beautiful bird’s sounds at every night. They started to sing at 10.0 pm until sunrise. It was something like dreamy thing for me. Then, I decided to took my recorder and tried to capture birds’ sounds. However, It became a misterious event for me I went out from garden and was walking through a path to the woods to record a clean and high level sound of the birds. Finally, I found myself in the middle of the trees without light. It was so dreamy thing for me. I mean, as if I entered from a gate to another world. Still I couldn’t get the sound that I was expecting. Asked to myself where are these birds? Anyway, the second time I took a bottle of wine with me and went into forest again. This time, I just switched on recorder and sit in front of it and started to drink my wine. It was so beautiful. The best and the only nice part of my hometown is its nature. So I took couple of recordings. Here are the four of them that is telling my mysterious journey to woods..
Techincal Part (Reminder for myself also) : It’s better to put somewhere the recorder always. By doing that, I can avoid unwanted hand/finger squeaks, cracks and scratch sounds on the recorder. It was a nightmare to edit all of these noises. There was a huge amount of background noise because lots electricity poles around woods and path. To reduce the background noise, basically I used to main Waves plugins. First one is Paz Stereo Specktrum. I choose a 2-3 minutes track and hit play, and start to watch for the frequency responses in order to apply a band-pass filter from an EQ plugin. The sound of the birds are exactly between 2000-8000Hz range. So, I apply a band-pass filter with EQ plugin, but a soft one with a long attack time. Because I don’t want to have a thiny and dry sound without any background noise. So, my bands-pass filter covers 1600 Hz – 10000 Hz range and removed all of the other things.