Ignore:
Timestamp:
11/29/12 08:17:10 (8 years ago)
Author:
AzureViolin <zhanghaotz@…>
Branches:
master, RawEEG, Raw_EEG_Plot, Servo, Tab_Interface, pyramid
Children:
0401409, 655a816
Parents:
3322dad
Message:

flyOrbit.m can now generate arbitry control code for play from laptop. update read.me

File:
1 edited

Legend:

Unmodified
Added
Removed
  • octave/GenerateAudioCommand/read.me~

    r6aa182f ra0b523e  
     1This script suppose to generate Audio wave to talk to UPRtek's IR dongle and produce IR signal to control helicopter. 
     2this is an unfinished script, without complete documentation. 
     3Author:hz@puzzlbox.info 
     4Released under GPLv2. 
     5================= 
     61) open terminal; 
     72) switch to this path; 
     83) run octave; 
     94) type these commands: 
     10 
     11for laptop (not android yet) 
     12        flyOrbit('demo4',4049,'flyOrbitlaptop.wav',48000,100,'Android','flip'); 
     13for iPad 
     14        flyOrbit('demo4',4049,'flyOrbitiPad.wav',48000,100,'iOS','notF'); 
     15 
     16 
     175) 
     18note that 'demo4' can be replaced with any code arrya like [1  0        1       1       0       1       1       1       0       1       0       0       1       1       0       0       1       0       0       1       1       1       1       1       0       1       1       0       1] 
     19         
     205 first parameter is the code you want to produce as an audio file. 
     21  second parameter is the space between two command codes [unit:samples]. 
     22  3rd is the output file name. 
     23  4th is the sample rate (sample per second) 
     24  5th is how many times you want to repeat the code. 100 will generate a signal about 13 seconds long. 
     25  6th is option between iOS style code or Android style code. 
     26  7th when you use Android sytle code you need to flip the code that generated. This parameter will soon be obsolete in later version. 
Note: See TracChangeset for help on using the changeset viewer.