(file) Return to quickstart_audio.txt CVS log (file) (dir) Up to [Development] / JSOC / proj / globalhs / sosh

 1 tplarson 1.1 full instructions with introduction can be found in 
 2 tplarson 1.2 instructions_audio.txt.  this file provides the minimum information 
 3 tplarson 1.1 needed to run the Sonification of Solar Harmonics (SoSH) Tool.  other 
 4 tplarson 1.2 important information regarding pure data is found in README_audio.txt, 
 5              especially modifications required for running in windows.
 6 tplarson 1.1 
 7              if you are using the version of the SoSH Tool that includes demo data 
 8              files, these will already be found in the data directory that was 
 9              unpacked with the zip archive, in which case you may skip to step 2 
10 tplarson 1.2 below.  the demo data files are the following three: mdi.average.modes, 
11              mdi.1216d_l=2_m=1_datar.wav and mdi.1216d_l=2_m=1_datai.wav .
12 tplarson 1.1 
14              follow these steps:
16              1) download data
18              the data are available at http://sun.stanford.edu/~tplarson/audio/, 
19              where you will find separate directories for MDI and HMI.  within each, 
20              you will find a series of directories that are day numbers suffixed with 
21              'd'.  the day number corresponds to the first day of the 72 day 
22              timeseries.  day number 1216 was 1 may 1996.  a full table converting 
23              day numbers to dates can be found at the above url as well.
25              clicking on a directory will show two ascii tables containing the mode 
26 tplarson 1.2 paramaters; the file <instrument>.<daynumber>.modes must be downloaded.  
27              the second and larger file, with ".msplit" appended to the name, is only 
28              needed to use different frequency intervals for each m.  this is not 
29              needed by default, but its use is discussed in the full instructions.
31              next, click on the "wavfiles" subdirectory, where you will find a 
32              selection of modes labelled by l and m.  except for m=0, each mode has 
33              both a real and an imaginary part, labelled by "datar" and "datai" 
34              respectively.  pick an assortment of modes and download them to your 
35              data directory.
37              alternatively, averaged mode parameters can be found directly in each of 
38              the "MDI" and "HMI" directories.  you may elect to use these averaged 
39              parameters for all day numbers.  this option is the default for most 
40              patches.
41 tplarson 1.1 
43              2) using the patch
45              open the patch modefilter_standalone.pd .  if you are not using the data 
46              directory which was unpacked with the zip archive, you will need to set 
47              the path to the directory where you put the data.  do this by clicking 
48              the light blue bang at lower left.  a dialog box will open; just select 
49              any file in your data directory and the object [set-directory] will 
50              strip the file name and output the path.  you should now see your path 
51              show up in the message box at right.  if you now save the patch file, 
52              this will be saved as your default data directory and you won't need to 
53              set it any more.
55              next, click on the message box with "pd dsp 1", which will turn on 
56              digital signal processing (DSP).  finally, the inputs you must provide 
57              are the day number corresponding to the 72 day timeseries, the spherical 
58              harmonic degree l, the radial order n, and the azimuthal order m.  note 
59              that even if you want to leave one of these at its default value of 
60              zero, you must still click on the number box and enter 0.  now, to 
61              search for this mode, click the green bang at the upper left.  if found, 
62 tplarson 1.1 the input arrays will be loaded, the fft will run, the gain will be 
63              generated, the gain and the fft will be multiplied and shifted before 
64              being inverse transformed, and the filtered audio will play.  to hear 
65              it, enter a number for the output level.  you will likely want to adjust 
66              the playback sample rate and downshift factor. you can turn off playback 
67              by clicking the toggle.  you may also elect to save the output as a wav 
68              file file by clicking the light blue bang at lower right.
70              EXAMPLE: if using the demo data files, simply turn on DSP and then enter 
71              the following 4 integers at the top of the patch: 1 for degree l, 21 for 
72              radial order n, 1 for azimuthal order m, and 1216 for day number.  do 
73              press enter each time.  once done, click the circle beneath "search for 
74              modes".  at lower right, enter a number for the output level.  once the 
75              fft completes, the sound will play.  it will be quite high.  to hear the 
76 tplarson 1.2 effect of downshifting, enter 4 for the downshift factor.
77 tplarson 1.1 
79              3) skip to the end
81              open example_sum.pd to see an example of how to play 5 modes at once.  
82              first reset the data directory if needed.  set the day number for all 
83              five, and then specify the separate modes along the right edge.  details 
84              can be found in section 5 of the full instructions.

Karen Tian
Powered by
ViewCVS 0.9.4