[…]the team could produce the very first “complete and stable” instant picture last week.
bq.. “Vegetarian” – Old Apache word for “lousy hunter”
5 Pet Peeves Designers Have With Developers (and How to Avoid Them)(Webdesignerdepot). As a developer, I can recognize several points the article makes, but for every stubborn (inflexible) developer, there is an equally stubborn (inflexible) designer. Hopefully, I will cross paths with neither.
The Cryptic Canvas – 50 movies in a painting.
Shorts
R.I.P. Kodachrome
13:53
Kaikki hyvä loppuu aikanaan, sanotaan. Valokuvauksen saralla kuoleman koki hiljattain Polaroid-filmi1, seuraavana onkin vuorossa Kodachrome2. Eipä sillä että olisin itse vannonut juuri tuon filmin nimeen, on siinä kuitenkin jotain legendaarista. Väriloistossa ja sen kestävyydessä ei kai vertaista ole koskaan ollutkaan.
Shorts
Stray Cats: Rock This Town
22:17
Käännöksen tarjosi Google Language Tools.
bq.. Stray Cats – Rock Tämä kaupunki
No minun vauva ja minun meni myöhään lauantai-iltana
Minulla oli hiukset kasataan korkea ja vauvani vain näyttää niin oikeassa
No, noutaa sinua kymmenen sai sinut kotiin kahdella,
Äiti ei tiedä, mitä minulla varastossa sinulle
No se on kunnossa, koska emme HAKU kuin viileä kuten voidaan
No löysimme hieman paikka, että ei todellakaan katso puoli huono
I’ll on viskin jäillä ja muutos dollarilla varten jukeboksin
No, esitin neljäsosaa suoraan, että voi, mutta kaikki se pelataan oli Disko mies
C’mon pretty baby, let’s get täältä heti.
We’re gonna rock tämän kaupungin, rock se nurinpäin
We’re gonna rock tähän kaupunkiin, jotta ne huutaa ja huutaa
Let’s rock, rock, rock miehen rock, rock
We’re gonna rock asti meidän pop, We’re gonna roll till meidän pudota
We’re gonna rock tämän kaupungin, rock se nurinpäin
No emme ottaa palloa vain bopping on suuri tanssilattia
No siellä on todellinen neliön kissan hän näyttää yhdeksäntoista seitsemänkymmentäneljä
No, katso minua kerran, te katsotte minua kahdesti,
Näytät minua jälleen siitä tulee taistelu
We’re gonna rock tämä kaupunki, we’re gonna rip tämän paikan lisäksi
We’re gonna rock tämän kaupungin, rock se nurinpäin
We’re gonna rock tähän kaupunkiin, jotta ne huutaa ja huutaa
Let’s rock, rock, rock miehen rock, rock
We’re gonna rock asti meidän pop, We’re gonna roll till meidän pudota
We’re gonna rock tämän kaupungin, rock tämän paikan lisäksi
We’re gonna rock tämän kaupungin, rock se nurinpäin
We’re gonna rock tähän kaupunkiin, jotta ne huutaa ja huutaa
Let’s rock, rock, rock miehen rock, rock
We’re gonna rock asti meidän pop, We’re gonna roll till meidän pudota
We’re gonna rock tämän kaupungin, rock se nurinpäin
We’re gonna rock tämän kaupungin, rock se nurinpäin
We’re gonna rock tämän kaupungin, rock se nurinpäin
Ukonilma kuvin
18:45
Pätkä eilistä ukonilmaa usean perättäisen kuvan voimalla. Ensimmäinen kuva on otettu kello 22.07 ja viimeinen ruutu kello 22.33. Harmillisesti salamat olivat vain pilviä valaisevaa lajia, niitä minä tavoittelin, mutta onhan se ihan kiva näinkin.
var flashvars = {};
var params = {menu: “false”,scale: “noScale”,allowFullscreen: “true”,allowScriptAccess: “always”,bgcolor: “#FFFFFF”};
var attributes = {id:“Slideshow”};
swfobject.embedSWF(“/wp-content/uploads/2009/06/Ukkosilma/Slideshow.swf”, “altContent”, “450”, “300”, “9.0.0”, “expressInstall.swf”, flashvars, params, attributes);
Timelapsen katsomista varten tarvitset Flash-pluginin.
Seamless mp3-playback in flash
20:52
I have the pleasure of working with flash. And when I say pleasure, I actually mean it. Except for on those special occasions, which are more frequent than I’d like them to be.
My latest task was to create a simple tracker(Wikipedia: Tracker). You’ve all seen one of them; drag the samples on to the timeline and press play on tape to hear your masterpiece. All good and dandy, sounds like a fun little project. My only worry was regarding playing back the samples one after another, as working with sounds in flash isn’t quite as smooth as I’d like it to be.
Luckily, we’ve already (heh) migrated to Flash 9 and AS3(Actionscript 3), so I figured most of the pain I remembered from the days of AS2(Actionscript 2) would be gone by now. But how wrong was I…
Flash is not alone to take the blame though. As it turns out, mp3 encoders always create a short lead in and out when encoding. That’s problem number 1.
Problem number 2 is that the Event.SOUND_COMPLETE
-event flash so conveniently provides you with, isn’t usable in this case, because playing sounds sequentially when the event triggers, results in a short but disastrous gap between sounds, making the event useless (in this case).
Problem number 3 is an interesting one. Let’s say, that I have a 1.8 seconds long sound. When I load that sound into my flash movie, the Sound
-object will say that the duration is 1800 milliseconds. However, when I play it back, the SoundChannel
-object will trigger the soundComplete
-event a bit before the Sound.position
reaches that magical 1800 marker.
It seems, that the good folks at Macromedia Adobe have tried to create a mechanism that works around the automagically inserted lead in and out. The article linked to at the top notes that importing a wav-file into the library will result in gapless mp3-encoded sound, and it seems (just speculating here) that the SoundChannel
-object is trying to mimic that behaviour, but failing to do so, or perhaps it’s just the Sound
-object that fails at accounting for the lead in and out when setting its own length.
Firstly, it does in no way account for the lead in. Secondly, the unconsistency between Sound.length and the point where the soundComplete
-event triggers, makes the situation even worse when trying to programmatically work around the shortcomings of the mp3-format and the Sound API (Application Programming Interface).
Lastly, I’ve found no pattern in the manner that the Sound.length
relates to the point where the soundComplete
-event triggers, so I can’t calculate it. (Disclaimer: my tests have not been thorough, rigorous and scientific, so this is not to be taken as absolute truth — it also most probably related to mp3-encoding and not the Sound API, but I’m mostly guessing.) The “solution” I came up with, was to play back the sound silently and record the position where the soundComplete
-event triggers — certainly not elegant, but it works.
For the overall problem of gapless playback, I used an existing “solution” (scroll down to part b) which is basically an event triggering every millisecond to stop and start sounds at the right moment. Quite resource wasteful and certainly not foolproof, but it solved circumvented the problem at hand.
Shorts
Viisi kuvaa Helsingistä
23:08
Kyllä mä joskus vielä keksin jotain sanottavaa, sitä odotellessa harjoitellaan kuvablogin toista tulemista varten.
Shorts
Romka Magazine – a magazine for photography and features international amateurs, students and professionals.
Meta
Subscribe to feeds
Pages
Latest Posts
- Overland from Finland to London: Epilogue
- Overland from Finland to London: Days 3 and 4
- Overland from Finland to London: Day 2
- Overland from Finland to London: Day 1
- Overland from London to Finland: Day 5
- Overland from London to Finland: Day 4
- Overland from London to Finland: Day 3
- Overland from London to Finland: Day 2
- Overland from London to Finland: The Beginning
- The day the .dev gTLD died
Latest comments
- nikc on Managing scrollTop in your Backbone single-page app: Richard, you’re right, you can store...
- Richard Hunter on Managing scrollTop in your Backbone single-page app: Unfortunately, pop state wont help you...
- nikc on Managing scrollTop in your Backbone single-page app: Richard, Thank you. You’re right, scroll position...
- Richard Hunter on Managing scrollTop in your Backbone single-page app: This is a clever solution- however...
- llaurén on Better tools for procrastination: Yer welcome!
- nikc on Better tools for procrastination: Well, after evaluating both, I find...
- nikc on Better tools for procrastination: Having taken a closer look at...
- nikc on Better tools for procrastination: One Tab looks nice, too. But...
- llaurén on Better tools for procrastination: Nice catch! I use One Tab to...
- nikc on How to turn your smartphone (nearly) useless in one simple step: Wow, I’d love for the EU...