
Music Programming on Processing!
JFugue 是一個提供"音樂程式設計"的開源 Java API,有音樂背景的程式設計者不需要懂如何呼叫複雜的 MIDI 訊號,只需要短短幾行程式碼,即可輕鬆做出樂曲。
JFugue 讓撰寫音樂程式更輕鬆,例如下例:
Player player = new Player();
player.play("C D E F G A B");
DK 發表在 痞客邦 留言(2) 人氣(2,633)

當我們這些對擴增實境開發有興趣的孩子正苦惱 Unifeye SDK 是如何的貴,NyARToolKit 的 Marker 過於死板、程式不易改寫之時,QualComm 這家主要智慧型手機 chip provider 已悄悄地在去年十月左右公布一個完全免費的 AR SDK,名為 QualComm AR SDK (QCAR)。
此 SDK 支援 Mac/PC/Linux 跨平台的開發環境,但手機平台目前似乎只支援在 Android 2.1 以上,對硬體應該也有一定的要求。目前開放使用的硬體並不多如下表:
DK 發表在 痞客邦 留言(23) 人氣(19,624)
自從3G/3.5G逐漸普及,智慧型手機對於商務人士或某些使用者的不可取代性逐漸提高。(jwill.pixnet.net)
DK 發表在 痞客邦 留言(3) 人氣(3,639)

圖轉貼自CreativeApplications.Net,部分文翻譯自CreativeApplications.Net
原文網址 http://www.creativeapplications.net/android/mobile-app-development-processing-android-tutorial/
DK 發表在 痞客邦 留言(8) 人氣(10,897)

近年來擴增實境的應用與研究像雨後春筍般湧現,國內外已廣泛應用於教育、遊戲與廣告等。在以往的擴增實境系統中,標記僅提供追蹤及辨識之用,它們並不包含其他資訊。因此任何標記與標記相對應的虛擬物件都必須預先註冊於系統中以供系統執行時使用。目前常見的擴增實境系統與研究大部分更以自行設計的標記作為辨識對象,它們並非通用的標記或條碼,在使用上有其侷限性,難以藉此開發出多樣與新奇的應用。
QR Code為一廣泛使用之二維條碼並擁有高容量等優勢,因此若將其結合擴增實境技術必能應用至許多層面。在本研究中,我們結合了QR Code與擴增實境兩樣技術,除了開發以QR Code為擴增實境標記的追蹤與辨識技術外,也透過國內外研究的分析,設計一個多用途的擴增實境架構。本架構不僅限於單一QR Code的使用,尚考量到多重QR Code的擴增實境應用。當使用者以行動裝置拍攝數個QR Code時,系統可以正確解析主要顯示用的QR Code之內容,並下載後視覺化呈現虛擬物件。其他的QR Code能個別顯示次要的內容,並整合至主要顯示物件。除此之外,QR Code亦可作控制之用,例如可用來操控虛擬物件的大小、顏色或是材質貼圖等。本多用途擴增實境架構另一個主要目的是希望讓不同內容提供者藉由本架構能互相整合各自的數位內容,而不需彼此間技術上之磨合。此舉能讓內容提供者只需專注於內容的設計不需擔心技術問題,進而開發出更多有趣的應用。
The field of Augmented Reality (AR) has grown and progressed remarkably in recent years and many useful AR applications have been developed focusing on different areas such as game, education and advertisement. However, most of these AR systems are designed for closed applications with particular markers, limited number of users and restricted digital contents. Hence, they are inappropriate for public environment with diverse digital contents.
In this work we aim at developing a comprehensive framework that can integrate 3D contents from different providers into an AR demonstration. The main purpose of this framework is that we want to separate content providers from sophisticated AR technology so that they only need focusing on content creation and getting rid of the technology issues of setting up an AR system. We expect that with this system different contents can be integrated seamlessly in the AR system even the content providers do not know what the other contents to be integrated are. To achieve this goal, all the control information required for AR joint demonstration must be defined and embedded in the marker. In our system, we use a universal 2D barcode, the QR Code, as our AR marker as its information capacity is sufficient large to afford our application and is widely used in many countries. Besides, QR Code has many advantages that familiar AR marker do not have for public applications. Thus, based on this framework many useful and interesting AR applications can be developed in the areas of commerce, industry and many others.
DK 發表在 痞客邦 留言(19) 人氣(8,045)
iPhone/iPod Touch Serial Port Tutorial By Collin Meyer (TheRain) 12-09-2007
DISCLAIMER: Interfacing electronically to the Iphone has the potential to cause severe damage to your Iphone or cause your Iphone to become non-functional. By following this tutorial you take sole responsibility and understand the risks of what you are doing.
Summary
This tutorial will explain how to use the serial RX and TX lines on the Iphone as a standard UART serial port. Software on the Iphone can access the UART using the same libraries and functions as in any UNIX software. This tutorial was created to explain how to get past this issue. This tutorial will explain some of the basic parts and code needed to use the UART.
Tools
DK 發表在 痞客邦 留言(0) 人氣(1,004)