Jump to content

Dance and Movement: Difference between revisions

From CCRMA Wiki
Rob (talk | contribs)
mNo edit summary
Rob (talk | contribs)
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
http://www.uen.org/core/core.do?courseNum=1900
Language/Terminology:
Language/Terminology:
  http://www.stolaf.edu/depts/dance/faculty/anthony/courses/Modern-Dance-Language.htm
  http://www.stolaf.edu/depts/dance/faculty/anthony/courses/Modern-Dance-Language.htm
Line 7: Line 9:
sonifying gesture and motion in virtual space
sonifying gesture and motion in virtual space


ruby oscparser.rb output_filename.csv false < ./yml/pawn_0_spiral_2.yml
http://web.media.mit.edu/~cynthiab/Readings/Mataric-etal-02.pdf
 
Sequences of motion primatives
 
http://pdf.aminer.org/000/355/907/cooperative_works_by_a_human_and_a_humanoid_robot.pdf
 
http://www.exrx.net/Kinesiology/Glossary.html
 
https://sciencelinks.jp/j-east/article/200410/000020041004A0296629.php
 
http://ro.uow.edu.au/cgi/viewcontent.cgi?article=1639&context=engpapers&sei-redir=1&referer=http%3A%2F%2Fwww.google.com%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3Dhumanoid%2520motion%2520primitives%26source%3Dweb%26cd%3D60%26ved%3D0CE0QFjAJODI%26url%3Dhttp%253A%252F%252Fro.uow.edu.au%252Fcgi%252Fviewcontent.cgi%253Farticle%253D1639%2526context%253Dengpapers%26ei%3DXrF5UtbzJ8L7iwLckIGgBg%26usg%3DAFQjCNHMNp0ECiKAs-_lqAjbAP8BO1Ks3A%26bvm%3Dbv.55980276%2Cd.cGE#search=%22humanoid%20motion%20primitives%22
 
http://research.microsoft.com/en-us/um/people/hoppe/dance.pdf


require 'rubygems'
Laban
require 'osc-ruby'
 
require 'yaml'
  Kinesthesiology:
wait = ARGV[1] # wait boolean toggles whether the  padded time at the beginning of recorded yml osc action is used
m_time = 0
start_time = 0
final_output = ""
output_filename = ARGV[0]
@messages = YAML.load($stdin)
@start = Time.now
@messages.each_with_index do |m, index|
  if index == 0
    start_time = m[:time]
  end
   
  if wait=='true'
    m_time = m[:time]
  else
    m_time = m[:time] - start_time
  end
  dt = (@start + m_time) - Time.now
  sleep(dt) if dt > 0
  message = OSC::OSCPacket.messages_from_network(m[:message]).first 
  output = m_time.to_s + ", " + message.address
  @a = message.to_a
  @a.each_with_index do |arg, index|
    #p arg
output = output + ", " + arg.to_s
  end
  final_output = final_output + "" + output + "\n"
end
   
   
  File.open(output_filename, 'w') { |file|
  http://www.slideshare.net/joldham5/module-2-kinesiology-getting-started
    file.write(final_output)
}

Latest revision as of 21:23, 7 November 2013