Category Archives: Projects

Tom DeVito 9.2.2011

Start: 10:00

  • Finished midi class and start debugging.  This one didn’t have as many problems as the others and was relatively simple to debug.
  • Started a higher level module which controls the amp and midi controller so I can initialize both in one instance

End: 6:00

Phil 9.1.11

8:00 – 5:30 VISIBILITY

  • It’s now dark at 5:45. Time for the alarm clock. Sigh
  • Bill D. is off for the rest of the week, so I get two full days of development. Yay!
  • Adding ESRI mapping to VisMob
  • Got a scrolling time widget working. Need to do a date widget and then figure out how to generalize. Maybe. It’s not much code.

Tom DeVito 8.30.2011

Start: 10:00

  • Got the simulation working with the midi controller
  • Changed the output to show the instrument, note, and simulation position.
  • Debugging the amp class so I can use it for a multiple finger simulation

End: 6:00

Phil 8.31.2011

8:00 – 4:00 VISIBILITY

  • Continuing with the wireframes
  • Got the charts in a ViewStack. It turns out that you need to explicitly include the mx.swc and the sparkskins.swc.
  • Making sure that all this runs on the phone still – and it does! Dropdown menus don’t work though. They don’t seem to fire  events.
  • I think it should be possible to make a popup rollover dialog using lists. Will try that tomorrow.
  • Had a chat with Bill D. He’s going to try to get us a couple of desks at NBP 324.

Dong Shin 08.30.11

  • adding monthly PM Actuals to Financial Status
    • PM Actual Outlay tooltip added to FinancialStatusDataForm
    • query – long and +gly, grabs whole year’s data
    • SELECT * FROM (SELECT r.funding_amount as statusAmount, r.*, c.uid as contractUid, c.contract_number as contractNumber, c.name as contractorName, c.location as contractorLocation, c.amount as contractAmount, d.uid as directCiteUid, d.obligation_amount as dObligationAmount, d.outlay_amount as dOutlayAmount, NULL as rObligationAmount, NULL as rOutlayAmount, b.center_number, a.amount, r.uid as fundingRequestId, a.uid as budgetAmountsId, o.month_1, o.month_2, o.month_3, o.month_4, o.month_5, o.month_6, o.month_7, o.month_8, o.month_9, o.month_10, o.month_11, o.month_12 FROM funding_requests r LEFT JOIN direct_cites d ON r.uid = d.funding_request_id LEFT JOIN contracts c ON d.contract_id = c.uid LEFT JOIN budget_centers b on r.project_id = b.project_id LEFT JOIN budget_amounts a on b.uid = a.budget_center_id, obligations_outlays o WHERE b.project_id = 100 AND a.uid = 1395 AND NOT ISNULL(d.funding_request_id)  AND r.fiscal_year = 2011 AND o.year = 2011 AND o.project_id = 100 AND o.funding_id = 213 AND o.type LIKE ‘PM Actuals Outlay%’ AND o.year_count = 1 UNION SELECT r.funding_amount as statusAmount, r.*, NULL as contractUid, NULL as contractNumber, NULL as contractorName, NULL as contractorLocation, NULL as contractAmount, NULL as directCiteUid, NULL as dObligationAmount, NULL as dOutlayAmount, r.reimbursable_amount as rObligationAmount, r.outlay_amount as rOutlayAmount, b.center_number, a.amount, r.uid as fundingRequestId, a.uid as budgetAmountsId, o.month_1, o.month_2, o.month_3, o.month_4, o.month_5, o.month_6, o.month_7, o.month_8, o.month_9, o.month_10, o.month_11, o.month_12 FROM funding_requests r LEFT JOIN budget_centers b on r.project_id = b.project_id LEFT JOIN budget_amounts a on b.uid = a.budget_center_id, obligations_outlays o WHERE b.project_id = 100 AND a.uid = 1395 AND r.fiscal_year = 2011 AND r.uid NOT IN (SELECT funding_request_id FROM direct_cites) AND o.year = 2011 AND o.project_id = 100 AND o.funding_id = 213 AND o.type LIKE ‘PM Actuals Outlay%’ AND o.year_count = 1) AS T1 ORDER BY uid, contractUid, statusAmount DESC

Phil 8.30.11

7:30 – 5:00 VISIBILITY

Tom DeVito 8.29.2011

Start: 10:00

  • Started a class for the midi controller to make commanding it easier.
  • Trying to figure out how to time the start and stop of different notes running simultaneously
  • Spent a long time looking at the documentation for the midi chip but it didn’t have midi commands in it.
  • http://hummer.stanford.edu/museinfo/doc/formats/midi/ as lots of good info on midi
  • It seems that the least significant four bytes of a command determine the channel
  • Pitch bend might be useful for adding to the contact effects
  • http://blog.tangrs.id.au/?p=551 is an example of playing an midi sequence on an arduino

End: 6:00

Phil 8.29.11

8:00 – 4:30 VISIBILITY

  • We have power!
  • Found out why the map app isn’t working. The Google maps flex swf tries to download another swf which iOS doesn’t allow. Here’s the workaround: http://cookbooks.adobe.com/post_Display_Map_in_iPhone_App-18959.html
  • Got the workaround behaving. Also found a new book on iOS/Flex development – http://oreilly.com/catalog/0636920021117. I have the PDF, if anyone’s interested.
  • Walked through the creation of VISIBILITY MOBILE. It will get its data from a remote object that talks to our DB or Google Spreadsheets. Should be very cool

Tom DeVito 8.26.2011

Start: 10:00

  • Experimented with different instruments.  Most hold the note til you tell it to stop but some have set stop timings.
  • Experimented with increasing the attack.  More subtle then I hoped.  Will have to use the volume control for the impact effect.
  • Added the ability cycle through instruments
  • Added the ability to cycle through notes

End: 6:00

Phil 8.26.11

7:30 – 4:00 VISIBILITY

  • More Google Maps
  • Downloaded the SDK, which contains the relevant SWCs from here: http://code.google.com/apis/maps/documentation/flash/
  • Uploaded map_1_20.swc and map_flex_1_20.swc to the fgmdev repo
    • The SDK includes two SWC files: a Flex version for use within FlexBuilder (or with the free Flex SDK), and a non-Flex version for use within Flash CS3. The Flex *.swc is denoted with a _flex suffix in the filename.
  • Can’s get the map to load in the phone as it does on the emulator. Stripping out as much as possible. Going to install the debugger components next, I think.
  • Went over with Brian to talk to Bill D. about funding. I laid out who has what skillset to get what they want done, which is more than they want to fund, but I think they’ll go back and re-examine.

Tom DeVito 8.25.2011

Start: 9:40

  • My computer was still having an issue this morning.  I think I found the problem.  Asus has an auto driver update which seems to run whenever windows updates and mess up the processor by running too many threads at the same time.  I disabled this and a couple other things and restarted the computer.  Seems to be running good as new again.
  • Set up the Arduino mega for testing.installed the drivers found in the IDEs root directory.
  • Had to select the firmware type from the list in the IDE.  Selected the old mega first and was getting a sync error whenever i tried to upload a sketch.  I eventually realized there were two versions of the mega
  • The mega uses com port 5 instead of 3.
  • The mega has its own port for i2c instead of using analog ports 0 and 1 like the uno does.  Still am not sure if you can have multiple i2c channels.  I know the way the Wire.h library works, it is actually hard wired to these ports and cannot be changed or expanded.  I don’t think we will need more then 4 rheostats and we might not need any at all if the midi volume control is sufficient.
  • Tried upping the voltage on the 30Watt amp to its upper range as opposed to the lowest functional which is what I usually do.  There was no change in the amplification but the heat sink got hotter.  Decided to just stick with 12 volts.
  • Continued incorporating the midi into the simulation.

End: 6:00

Phil 8.25.11

8:00 – 3:30 VISIBILITY