Examples
In this section you will find some example SAFIRE
projects, from simplest "Hello SAFIRE-World" to more
complex applications, demonstrating particular SAFIRE features.
NOTE that the installed workspace requires the latest IDE
version. To get the latest
version visit the Products page.
HelloSAFIREWorld - a simple "Hello World!"
application demonstrating building of a C program
- To install, unzip the downloaded file to
your work-space location (c:\SAFIRE\USER\"user-name"\ws\)
- To build, open the work space in SAFIRE-4G IDE,
select "build all" and check the Products
folder for the generated executable
"HelloSAFIREWorld.exe"
- To run the program select the project and click the "run"
button. Make sure to start DebugView before running to see the
output.
Y Example - a simple application demonstrating usage of "Y" language features
-
To install, run the installer with the "Destination folder" pointing to
your work-space location (c:\SAFIRE\USER\"user-name"\ws)
-
To build, open the work space in SAFIRE-4G IDE, select "build all" and check the
Products folder for the generated executable "Y_Example.y.vn".
- To run the program select the project and click the "run" button.
Make sure to start DebugView before running to see the output.
Y Audio Toolbox - boundle of the AudioToolBox building blocks ("FSM puzzles") and demo applications providing
possibility to play with audio using "Y" language features (including creation of simple GUI dialogs)
- To install, run the installer and it will create a new Y_atb user, including required work-space (at c:\SAFIRE\USER\Y_atb)
- To build, open SAFIRE-4G IDE as Y_atb user, load the work-space and select "build all"
- There are two demo application types: simple applications (without GUI interface) and simple dialog applications (with basic GUI interface)
- To run the demo application select the project and click the "run" button
- To find more about AudioToolBox FSM framework, building blocks and demo applications download the power point presentation - AudioToolBox
- Run demo applications from Y_App (without GUI) or Y_DlgApp folder, such as:
- SPEAKER (Y_AppDlg\App_Speaker) - Play with your voice, change volume and delay
- PLAYER (Y_AppDlg\App_Wavlayer) - Play WAV file songs from our small collection
- RECORDER (Y_AppDlg\App_WavRecorder) - Record your voice in WAV file
- ECHO (Y_AppDlg\App_Echo) - Play with echo effect, change delay and volume of the audio feedback
- KARAOKE (Y_AppDlg\App_Karoke) - Sing with music matrix, change volume of your voice
- DTMF PIANO (Y_AppDlg\App_DtmfPiano) - Play your own music using DTMF tones
- Run demo applications and enjoy playing with audio!!!
- Create your first Y application using available audio building blocks!!!
More examples will follow ...