2015年12月22日火曜日

Selecting or highlighting node or mesh by butto... | Adobe Community

https://forums.adobe.com/thread/1258268



Selecting or highlighting node or mesh by button using javascript


LOD_PROJECTS 2013/07/19 8:32

Hi

I have 3D pdf model with node 1001 or mesh name 2002 and when I klick
it by mouse on 3D view it is highlighted and get orange boundary box.

I have created button name 1001 button and I would like to add to this
button javascript function which will highlight this node or mesh in
the same way as click on those.



I found in discusion some way of make it for example red by changing
rendering mode to illustration but it is not what I am trying to do. I
asking if it is possible just select from button using name of node or
mesh. if you have any exmaple of script i will be very pleased.

1555 閲覧
タグ: 3d
3d でタグ付けされたコンテンツ
, javascript
javascript でタグ付けされたコンテンツ
, button
button でタグ付けされたコンテンツ
, 3dpdf
3dpdf でタグ付けされたコンテンツ
, model_tree
model_tree でタグ付けされたコンテンツ
, 3d_pdf
3d_pdf でタグ付けされたコンテンツ
返信する

Translate

平均ユーザー評価: 評価なし (0 評価)
平均ユーザー評価
評価なし
(0 評価)
評価:
評価 劣っている(1 : 5)評価 平均以下(2 : 5)評価 平均(3 : 5)評価 平均以上(4 : 5)評価 優れている(5 : 5)

1. Re: Selecting or highlighting node or mesh by button using javascript

mrfale67 2013/07/19 11:58 (LOD_PROJECTS への返信)

See what I was answered here:

http://forums.adobe.com/thread/1224570?tstart=0

Otherwise, if you know the name, simply use getByName().


I think what you are looking for may be the wireframeColor property
but I have never experienced it directly. Should you find how to
replicate the selection orange boundary box, please share the solution
with us.

「いいね!」 0 件の「いいね!」を表示(0)

返信する

アクション
Translate

2. Re: Selecting or highlighting node or mesh by button using javascript

LOD_PROJECTS 2013/07/19 15:28 (mrfale67 への返信)

thanks for answer.

It is not what I want to do

I have 5 layer and on each layer I have one node and under neath one mesh.

I would like to select node or mesh by clicking button created on page
not by clicking in 3d model or Model Tree. Like below bottles are
selected (highlighted).



NowI doing it like that:



BUTTON 1-----------------------------------------------

myAnnotObj = getAnnots3D(0)[0].context3D;
myAnnotObj.scene.defaultRenderOptions.illustrationRenderModeFaceColor.set(
1, 0, 0 );

for (var i = 0; i < myAnnotObj.scene.meshes.count; ++i)
{
mesh = myAnnotObj.scene.meshes.getByIndex(i);
mesh.renderMode = "solid";
}
HighlObj = myAnnotObj.scene.meshes.getByName("1001");
HighlObj.renderMode = "illustration";

---------------------------------------------------------------



BUTTON 2-----------------------------------------------

myAnnotObj = getAnnots3D(0)[0].context3D;
myAnnotObj.scene.defaultRenderOptions.illustrationRenderModeFaceColor.set(
1, 0, 0 );

for (var i = 0; i < myAnnotObj.scene.meshes.count; ++i)
{
mesh = myAnnotObj.scene.meshes.getByIndex(i);
mesh.renderMode = "solid";
}
HighlObj = myAnnotObj.scene.meshes.getByName("2002");
HighlObj.renderMode = "illustration";

---------------------------------------------------------------



in this method I have to clean old selection in the loop doing this
render mode back to solid. In the same time my selection not working
at all in render mode illustration. So I would like to find how to
select like in picture from button in document. by script.

「いいね!」 0 件の「いいね!」を表示(0)

返信する

アクション
Translate

3. Re: Selecting or highlighting node or mesh by button using javascript

mrfale67 2013/07/20 0:53 (LOD_PROJECTS への返信)

I think you are doing well.

Things I would try:

1) "for (var i = 0; i < myAnnotObj.scene.meshes.count; ++i)": I have
never seen "++i" but "i++"; are you sure you are parsing all meshes?
just try a "console.println("Mesh name " + mesh.name)" within the loop
to check for this; this way, you will also be assured of your mesh
name;

2) the reset loop is fine but I would also try "renderMode =
'default'" instead of "solid";

3) mesh obj has also a "material" property: in particular check
against "diffuseColor, diffuseTexture, emissiveColor, emissiveTexture,
opacityTexture"; I have heard they should be considered when dealing
with rendering;

let us know your progress

「いいね!」 0 件の「いいね!」を表示(0)

返信する

アクション
Translate

4. Re: Selecting or highlighting node or mesh by button using javascript

Dave Merchant 2013/07/20 3:21 (mrfale67 への返信)

Why is everyone trying to change the visual appearance of the model?



LOD_PROJECTS wants to set the active selection, so just do that:



scene.selectedNode = scene.meshes.getByName(' something' );

「いいね!」 0 件の「いいね!」を表示(0)

返信する

アクション
Translate

5. Re: Selecting or highlighting node or mesh by button using javascript

LOD_PROJECTS 2013/07/20 8:09 (Dave Merchant への返信)

Hi Dave,

Thank you that is exactly what I want and it works. Awesome.



mrfale67

After dave tip I shorten script in button from those above to:



myAnnotObj = getAnnots3D(0)[0].context3D;

myAnnotObj.scene.selectedNode = myAnnotObj.scene.meshes.getByName("1001");



and more in next button I can change rendering to illustration and
selected object is still selected.

many thanks guys

「いいね!」 0 件の「いいね!」を表示(0)

返信する

アクション
Translate

2015年12月21日月曜日

分子構造を 3D で観察しよう (3):新しい見せ方 | Chem-Station (ケムステ)

分子構造を 3D で観察しよう (3):新しい見せ方 | Chem-Station (ケムステ)
http://www.chem-station.com/blog/2015/03/jmol-pdb-03.html

jQuery DOM要素の生成

【jQuery】DOM要素の生成 - Qiita
http://qiita.com/kazu56/items/8e92d08fd1bba0a2d771

HTMLの属性も設定
$("<a></a>", {    href: "abc.html",    target: "_blank",    "class": "myClass"  });  

1.8からはjQueryメソッドを指定することができるらしい。これは便利!

1.8からはjQueryメソッドも設定できる
$("<div></div>", {    width: 100,    height: 100,    css: {border: "5px solid gray"},    addClass: "my-div",    on: {      click: function(event) {        // イベント設定      }    }  });  

参考:jQuery入門道場

ブラウザウィンドウをリサイズした際のコールバックを設定可能にするjQueryプラグイン「ResizeEnd」 | BlackFlag

ブラウザウィンドウをリサイズした際のコールバックを設定可能にするjQueryプラグイン「ResizeEnd」 | BlackFlag
http://black-flag.net/jquery/20151020-5801.html

Amazon Linuxの特徴とCentOSとの違い まとめ

Amazon Linuxの特徴とCentOSとの違い まとめ | Developers.IO
http://dev.classmethod.jp/cloud/aws/amazon-linux-centos-rhel-difference/

2015年12月17日木曜日

CSS 上付き下付き文字(sup, sub)でline-heightが広がるのを防ぐ

subやsupでline-heightがズレるのを防ぐCSS - いかりんぐ IKA-ring.net
http://ika-ring.net/blog/sub_su/

<style type="text/css">
sup,
sub {
    height: 0;
    line-height: 1;
    vertical-align: baseline;
    _vertical-align: bottom;
    position: relative;
     
}
 
sup {
    bottom: 1ex;
}
 
sub {
    top: .5ex;
}
</style>

react.js - React記事まとめ

reactjs - Reactを始めてから今までにお世話になった記事 - Qiita
http://qiita.com/syossan27/items/885813dc5405796197d7

2015年12月15日火曜日

GoogleアナリティクスのレポートをGoogleスプレッドシートで自動化

Googleアナリティクスの面倒なレポート作成をGoogleスプレッドシートで解消! (第1回) | Googleアナリティクスのレポートをサクッと自動化! | Web担当者Forum
http://web-tan.forum.impressrd.jp/e/2015/12/08/21570

高度な分析に役立つ! GoogleアナリティクスAPIでよく使う軸・指標、セグメントを紹介(第2回) | Googleアナリティクスのレポートをサクッと自動化! | Web担当者Forum
http://web-tan.forum.impressrd.jp/e/2015/12/15/21593


2015年12月4日金曜日

iOS Safari スクロールバーカスタマイズ

iPhoneやAndroidのサイトでスクロールバーをカスタマイズ | スターフィールド株式会社
http://sterfield.co.jp/designer/iphone%E3%82%84android%E3%81%AE%E3%82%B5%E3%82%A4%E3%83%88%E3%81%A7%E3%82%B9%E3%82%AF%E3%83%AD%E3%83%BC%E3%83%AB%E3%83%90%E3%83%BC%E3%82%92%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%9E%E3%82%A4%E3%82%BA.html

-webkit-scrollbarの説明


.element{ /* 対象となる要素のクラス名が"element"の場合 */
overflow: auto;
}
.element::-webkit-scrollbar{ /* スクロールバー本体 */
width: 5px;
background: #9aadfc;
}
.element::-webkit-scrollbar:horizontal{ /* 横方向のスクロールバー本体 */
width: 5px;
background: #9aadfc;
}
.element::-webkit-scrollbar-thumb{ /* スクロールバーの動く部分 */
background: #435295;
border-radius: 2px;
}
.element::-webkit-scrollbar-thumb:horizontal{ /* 横方向のスクロールバーの動く部分 */
background: #435295;
border-radius: 2px;
}
.element::-webkit-scrollbar-track-piece:start{ /* スクロールバーの動く部分の前 */
background: #9aadfc;
}
.element::-webkit-scrollbar-track-piece:end{ /* スクロールバーの動く部分の後ろ */
background: #a3d2a0;
}
.element::-webkit-scrollbar-corner{ /* スクロールバー角 */
background: transparent;
}



なめらかスクロールは、以下のようします。

-webkit-overflow-scrolling: touch


-webkit-overflow-scrolling に指定する値は「auto」と「touch」の2 つです。
「auto」はデフォルトで、慣性スクロールしません。

ただ、慣性スクロールさせると、スクロールバーデザインのカスタマイズが無効になってしまいます。
同時には使えないようです。


.content {
    height: 200px;
    overflow: scroll;
    -webkit-overflow-scrolling: touch
}


iPhone3GS、iPhone4など で動きがガタツク場合
GPUアクセラレーションを効かせるために、以下の指定を入れると良いようです。

div.contents-ga-overflow-suruyo > * {
    -webkit-transform: translateZ(0px);
}


2015年11月24日火曜日

Sublime Text2 スペースとタブを表示する方法

[み]Sublime Text2で、スペースとかタブを見えるようにする方法
http://miha5.com/2012/09/2507/

【Sublime Text2】→【Preference】→【Setting – User】で開いた

「Preferences.sublime-settings」に次のコードをコピペします。

    //スペースとかタブを表示
    "draw_white_space": "all"

web帳 | スマートフォン JavaScript タッチ、フリックイベント実装

web帳 | スマートフォン JavaScript タッチ、フリックイベント実装
http://www.webcyou.com/?p=3121

jQueryを使ってスマートフォン用のイベントを扱ってみた
https://blog.sus-happy.net/201112/jquery-smart-phone/

iPhone/Android/PC 対応。jQuery で書くタッチイベント (フェンリル | デベロッパーズブログ)
http://blog.fenrir-inc.com/jp/2011/06/ios_android_pc_touchevent.html

2015年11月20日金曜日

発生したイベントの状態を保持・保存する6つのパターン - jQuery

発生したイベントの状態を保持・保存する6つのパターン - jQuery入門 - ポンクソフト
http://ponk.jp/jquery/basic/state_save

JavaScriptのイベント発火順序

【保存版】JavaScriptのイベント発火順序まとめ | f-labo blog
http://flabo.io/code/20150330/01-javascript-events-firing-order/

[CSS] CSSでJavaScriptのClickイベントやリンククリック時の動作などを禁止する方法 - YoheiM .NET

アクセス解析をビジネス改善に繋げるための5つの手法~使われないデータとレポートからの脱却~

小川卓氏が語る!アクセス解析をビジネス改善に繋げるための5つの手法~使われないデータとレポートからの脱却~
https://ferret-plus.com/2659

Node.js で類似文字列検索 twitter bot をつくる

Node.js で類似文字列検索 twitter bot をつくる
http://arc.revolve.jp/2015/02/06/256/

JavaScriptのイベントについて

イベント | JavaScript
http://so-zou.jp/web-app/tech/programming/javascript/event/#prevent-default

イベントの無効化
Event.preventDefault()を実行することで、イベントの既定の処理を中止できます。
foo.addEventListener( 'click', function( event ){
    var e = event || window.event;
    e.preventDefault();
}, false );






ドラッグでチェックできるようにするブックマークレット【JavaScript】 - Programming Magic
http://www.programming-magic.com/20080619020550/

//ロード時に全てのチェックボックスにイベントを登録
window.onload = function (){
   var checked, drag, e, i,
   inputs = document.getElementsByTagName('input');
     for (i=0; i < inputs.length; i ++) {
    e = inputs[i];
    if (e.type == 'checkbox'){
     //マウスダウン イベントの登録
     addEvent(e, 'mousedown', function (event){
      checked = !(event.srcElement || event.target).checked;
      drag = true;
     });
     //マウスアウト イベントの登録
     addEvent(e, 'mouseout', function (event){
      if(drag){
       (event.srcElement || event.target).checked = checked;
      }     
});    }   }   
//マウスアップ イベントの登録
   addEvent(document, 'mouseup', function (){
    drag = false;   });  }  
//イベント登録用関数
  function addEvent(e, type, handler){
   if (/*@cc_on!@*/false) {
    //IE用
    e.attachEvent('on' + type, handler);
   }
   else {
    //Firefox, Opera, Safari用
    e.addEventListener(type, handler, false);
   }
  }



jQuery の on() と off() を理解する - tacamy.blog
http://tacamy.hatenablog.com/entry/2013/03/03/213113

2015年11月18日水曜日

CSS3でなめらかに動かす transition-duration

CSSのtransition-durationプロパティでなめらかに要素の状態を変更する - つばろぐ
http://tsubalog.hatenablog.com/entry/2013/04/16/230140

On/Off Flipswitch HTML5/CSS3 Generator - Proto.io

リストのドラッグアンドドロップの決定版 - html5sortable

SPAのためのWEBサーバ構築ノウハウ

2015年11月17日火曜日

jQuery 動的に追加された要素にもCSSを適用させる

jQueryで動的にSTYLEタグを追加 - Qiita

  var style = '';
  style += '<style type="text/css" id="StyleId">';
  style += '.item1 { color:red; }';
  style += '.item2 { color:blue; }';
  style += '.item3 { color:green; }';
  style += '.item4 { color:yellow; }';
  style += '.item5 { color:purple; }';
  style += '</style>';
  $('head').append(style);

2015年11月13日金曜日

2015年11月11日水曜日

オブジェクト指向とは

新人プログラマに知っておいてもらいたい人類がオブジェクト指向を手に入れるまでの軌跡 - Qiita
http://qiita.com/hirokidaichi/items/591ad96ab12938878fe1

JavaScript - Web Notifications をクロスブラウザで使ってみる

JavaScript - Web Notifications をクロスブラウザで使ってみる - Qiita
http://qiita.com/yoshi6jp@github/items/8b24b93b7f7442001d65

font - Noto Sans CJK JP フォントをダウンロードしてサイトに適用する手順 - Qiita

font - Noto Sans CJK JP フォントをダウンロードしてサイトに適用する手順
http://qiita.com/nowri/items/1c69b9b25f2958bd9f97

JavaScript MVC

JavaScriptのモジュール管理(CommonJSとかAMDとかBrowserifyとかwebpack)

JavaScriptのモジュール管理(CommonJSとかAMDとかBrowserifyとかwebpack) | tsuchikazu blog
http://tsuchikazu.net/javascript-module/

AWS Amazon EC2 + Amazon RDSを使ってWordPressを構築する | tsuchikazu blog

AWS Amazon EC2 + Amazon RDSを使ってWordPressを構築する | tsuchikazu blog
http://tsuchikazu.net/aws_amazon_ec2_rds_wordpress/

2015年11月10日火曜日

WordPressで会員制サイト作成


WordPressでの会員制サイト作成方法解説 | インターネットビジネスロジック-副業起業の成功事例-
http://sonoyama.org/7388.html

WordPressで会員制サイトを作れる無料プラグイン「Simple Membership」 | Webクリエイターボックス
http://www.webcreatorbox.com/tech/simple-membership/

【WordPress】.htaccessを設定し画像の直リンクを不可(禁止)にした | ものくろぼっくす
http://www.monochrome-photo.info/?p=17497

CSS 幅がパーセント指定でpadding、margingがpx固定値の場合

パーセント指定とpx固定値の組み合わせを活かすCSS3プロパティ | マイナビニュース
http://news.mynavi.jp/articles/2010/09/14/box-sizing-border-box-css3/

CSS floatしたdivの高さを揃える

floatしたdivの高さを揃える « (X)HTML+CSS Tips « XHTML+CSS Webサイト制作Tips « ScuderiaWeb
http://scuderia-web.com/tips/xhtml_css/equal_box_heights.php

2015年11月7日土曜日

2015年11月4日水曜日

オープンソースの全文検索エンジン「Elasticsearch 2.0.0 GA」がリリース:CodeZine(コードジン)

フラットデザインなWebサイトで使われている色

フラットデザインなWebサイトで使われている色ってどんな色?配色パターン事例・カラーコード付き|Tips*Blog|株式会社コプロシステム
http://www.coprosystem.co.jp/tipsblog/2013/08/01.html

ディズニー社に学ぶ!HTML/CSSで12個のアニメーション基本原則を完全再現! - CSS Animation

はじめてajaxを使うときに知りたかったこと

はじめてajaxを使うときに知りたかったこと - Qiita
http://qiita.com/nekoneko-wanwan/items/bedc0e826c0842ca0b11

JavaScript - NodeSchoolでJavaScriptを学習

JavaScript - AJAX通信をするときはタイムアウト処理を入れる

JavaScript - AJAX通信をするときはタイムアウト処理を必ず入れてほしい(切実) - Qiita
http://qiita.com/tonkotsuboy_com/items/d1b3cf45ae5135441f9b

2015年10月29日木曜日

FullCalendarの日本語化やオプションいろいろ

FullCalendarの日本語化やオプションいろいろ
http://little-braver.com/156/

fullcalendar.js + gcal.jsでGoogle API v3を使ってGoogleカレンダーを表示する

fullcalendar.js + gcal.jsでGoogle API v3を使ってGoogleカレンダーを表示する
http://hamatte-wataru.com/fullcalendar_api_v3/

どんなソフトウェアがあるかな?2010〜13年の年間人気オープンソース・ソフトウェア、ベスト5!

どんなソフトウェアがあるかな?2010〜13年の年間人気オープンソース・ソフトウェア、ベスト5! MOONGIFT
http://www.moongift.jp/2014/01/special1-2013-software/

clipboard.js - Flashなしでも使えるクリップボード操作ライブラリ

2015年10月21日水曜日

Photoshopで一括処理

ビルドツール Grunt, gulp

ビルドツールまとめ。Gruntとかgulpとか (フロント寄り) - Qiita
http://qiita.com/cognitom/items/db88babebeb869a4a198

30分で出来る、JavaScript (Electron) でデスクトップアプリを作って配布するまで

30分で出来る、JavaScript (Electron) でデスクトップアプリを作って配布するまで - Qiita
http://qiita.com/nyanchu/items/15d514d9b9f87e5c0a29

WebStorage

WebStorage

localforage
minimongo

単純なキーバリューならlocalforage
IndexedDb使えて複雑なストレージを組むならminimongoを使う。

React.js

Reactによってネイティブ/Web論争は終わったのかもしれない - エンジニアtype
http://engineer.typemag.jp/article/readwrite-react

視点の違う「2トップ体制」が肝~React.js移行を進めるベーシックに見る、高速で開発環境を改善する方法 - エンジニアtype
http://engineer.typemag.jp/article/basic_react

2015年10月20日火曜日

jQueryプラグインの作り方

jQuery×HTML5×CSS3を真面目に勉強(2):画像スライドショーでjQueryプラグインの基本を学ぶ (1/4) - @IT
http://www.atmarkit.co.jp/ait/spv/1304/19/news071.html

エックスサーバー評価:高速かつ安定の高性能レンタルサーバー | レンタルサーバー比較しました

Hello, ES6 ~これから迎えるJSのミライ~ - @yoshiko_pg

Hello, ES6 ~これから迎えるJSのミライ~ - @yoshiko_pg
http://yoshiko-pg.github.io/slides/20150425-jsfes/


Googleカレンダーへ予定追加するリンクのURL

2015年10月8日木曜日

HTML/CSS最短勉強法

HTML/CSS最短勉強法!素人が5日でWebサイトをデザインするためにやったこと|Monosyブログhttp://monosy.com/blog/6

<iframe src="//www.slideshare.net/slideshow/embed_code/key/3xv0MlpuRCMAiA"
width="425" height="355" frameborder="0" marginwidth="0"
marginheight="0" scrolling="no" style="border:1px solid #CCC;
border-width:1px; margin-bottom:5px; max-width: 100%;"
allowfullscreen> </iframe> <div style="margin-bottom:5px"> <strong> <a
href="//www.slideshare.net/saucerjp/ss-14902681"
title="ノンデザイナーのための配色理論" target="_blank">ノンデザイナーのための配色理論</a> </strong>
from <strong><a href="//www.slideshare.net/saucerjp"
target="_blank">tsukasa obara</a></strong> </div>

<script async class="speakerdeck-embed"
data-id="508b975236b3f8000201a95e" data-ratio="1.41436464088398"
src="//speakerdeck.com/assets/embed.js"></script>

GitHub製エディタ「Atom」で日本語を扱いやすくするために必要な設定

GitHub製エディタ「Atom」で日本語を扱いやすくするために必要な設定 (1/4):CodeZine(コードジン)
http://codezine.jp/article/detail/8518

2015年9月28日月曜日

スマートフォン表示で、はみ出したtableを横スクロールさせるためのCSS

http://webcommu.net/phone-table-scroll/

.scroll{
overflow: auto;    /*tableをスクロールさせる*/
white-space: nowrap;  /*tableのセル内にある文字の折り返しを禁止*/
}
.scroll::-webkit-scrollbar{  /*tableにスクロールバーを追加*/
height: 5px;
}
.scroll::-webkit-scrollbar-track{  /*tableにスクロールバーを追加*/
background: #F1F1F1;
}
.scroll::-webkit-scrollbar-thumb {  /*tableにスクロールバーを追加*/
background: #BCBCBC;
}
http://webcommu.net/phone-table-scroll/

2015年9月21日月曜日

jQueryで画面の中央に要素を表示する方法 at HouseTect, JavaScriptな情報をあなたに

http://hisasann.com/housetect/2008/07/jquery_2.html

  1. $(function(){  
  2.     var left = Math.floor(($(window).width() - $("#hoge").width()) / 2);  
  3.     var top  = Math.floor(($(window).height() - $("#hoge").height()) / 2);  
  4.     $("#hoge")  
  5.         .css({  
  6.             "top": top,  
  7.             "left": left,  
  8.             "opacity": 0  
  9.          })  
  10.         .animate({opacity: "1"},{queue: true, duration: 4000, easing: "linear", complete: function(){}});  
  11. });  

動画プレーヤーをレスポンシブにする簡単スニペット【Vimeo/Youtube】

動画プレーヤーをレスポンシブにする簡単スニペット【Vimeo/Youtube】 : フタパパ
http://www.pondad.com/?p=8144

<style scoped>  .video-player{  	position: relative;  	padding-bottom: 56.25%;  	padding-top: 30px;  	height: 0;  	max-width: 100%;  	height: auto;   }  .video-player iframe,  .video-player object,  .video-player embed{  	position: absolute;  	top: 0;  	left: 0;  	width: 100%;  	height: 100%;  }  </style>  <div class="video-player">  <iframe src="//player.vimeo.com/video/72216778?badge=0&amp;color=f0e400" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>

iframe内の高さと幅を絶対値absoluteでします。これで実際のプレーヤーの縦横比が維持されます。

そしてiframeの親要素に対してクラスvideo-playerを指定し、これは相対値relativeで16:9の画面にするという方法です。

2015年9月12日土曜日

Buffalo LinkStation ハードディスク交換方法

内蔵ハードディスクを交換する方法(LS-WVL/R1,LS-WVL/RF,LS-WXL/R1) - アンサー詳細 | BUFFALO バッファロー
http://faq.buffalo.jp/app/answers/detail/a_id/12651

バッファローのNASの修復を指定外のHDDで行う | 夢の地図
http://www.yume-map.net/?p=3567

2015年8月21日金曜日

Excel 数式だけをコピーする方法

1.Ctrl + Shift + @ で、数式を表示させコピーし、その数式をメモ帳などのテキストエディタに貼り付けます。
2.そのテキストエディタで数式をコピーし、EXCELシートに数式を貼り付けます。

数式表示はCtrl + Shift + @ で表示・非表示切り替えます。

2015年8月16日日曜日

Pierre Boulez Picks 10 Great Works of the 20th Century - Soundcheck

http://soundcheck.wnyc.org/story/10-great-works-20th-century-pierre-boulezs-90th-birthday/?utm_source=sharedUrl&utm_medium=metatag&utm_campaign=sharedUrl

Pierre Boulez Picks 10 Great Works of the 20th Century

Thursday, March 26, 2015

Pierre Boulez turns 90 this year.Pierre Boulez turns 90 this year. (Francois Guillot/AFP/Getty Images)

Today, March 26, 2015, is the 90th birthday of Pierre Boulez.  One of the great firebrands in classical music history, Boulez cut a huge swath through European culture in the decades after World War II. Here in the States, he's probably best known as a conductor – the inventive music director of the New York Philharmonic who did concerts for audiences lying on rugs on the floor in the early 70s, or the man who recorded two of the definitive versions of Stravinsky'sRite of Spring with the Cleveland Orchestra. But in Europe, he's celebrated – or not – for his own compositions, for his provocative writings on music, and for his founding of IRCAM, the famed and influential Paris-based center for research into music and technology. 

Brash, opinionated, animated, and often brutally honest, Boulez can seem like an intimidating figure. But he is also funny and charming and very, very smart. I first interviewed him before a concert in Boston by his Ensemble Intercontemporain (an electro-acoustic chamber ensemble based at IRCAM) in 1986. We started late, and finished talking about 10 minutes before he was scheduled to start conducting. I was worried I'd eaten into his prep time and that this would cause a problem, but he picked up his jacket and said, "when I put on the jacket, I am ready. It is instantaneous." Which he then proceeded to prove. 

Over the years, Boulez would come on my various other shows (Around New York in the 1990s, Soundcheck in the 00s), but one of the most memorable visits he paid us was early in 2000. Rather than just interview him, again, I asked if he'd make a list of what he considered the ten most important pieces of music in the just-concluded 20th century. I'm not sure what I was thinking – just trying to do something different, I guess, but to my surprise and delight, he agreed.  Over the course of a week, we broadcast his Top 10, two pieces each day, with Boulez himself explaining why he chose each piece.  Read on to find out what he chose and why.   


Boulez: 10 Great Works of the 20th Century

I. Edgard Varèse, Ameriques

Varese

 I discovered Varèse quite late, for two good reasons. The first was, there were no scores available in France in 1945, '46. Second, there was no recording. Varèse was a kind of myth for French people, a man who disappeared from France in 1915, 1916, far before my time. He came back for just one or two years in 1930 or '31, and disappeared again. He was really a myth.

The first time I came to New York in 1952, I was busy with music. I made the acquaintance at this period with John Cage, and also the acquaintance of Varèse for the first time. We were very good friends. He gave me some scores, and we recorded them a little later. But we began in France, because [his works] were completely unknown there at this time. After that, I discovered the "big" scores. There are two: Arcana, andAmériques.

Amériques is, for me, a work which is quite remarkable. It's a piece where you find the influence of Rite of Spring, it's close to this aesthetic and feeling—more aggressive, more gigantic—but at the same time you have very lyrical passages, which become rarer and rarer in the later works of Varèse. I like this work because it's the first work he wrote when he was in America, and it was the first work he kept. The life of Varèse is full of mystery; after he died in 1965, I met regularly with his widow. We spoke together about him, and of course she could speak more openly about him because he was not alive anymore; and all of the scores he composed before coming to the States were supposedly destroyed in Berlin.

Edgard Varèse, "Ameriques" (excerpt)

Play
00:07 / 03:14


II. Alban Berg, Three Pieces for Orchestra, Op. 6

These are the only symphony pieces he wrote for orchestra, because everything else is with voice, or are excerpts from opera or a concerto. Before, you have the Altenberg Lieder which are for voice and orchestra, and later you have the Baudelaire song (Der Wein) which is also for voice and orchestra; then you have a violin concerto, and then you have the excerpts fromWozzeck, and the Lulu symphony. So everything is related to opera, concerto or voice. Only these three orchestral pieces remain, as pieces for orchestra alone. So therefore they are very interesting.

They were written immediately before the First World War, revised later, and in the last piece especially you have an accumulation of things at the end which is absolutely remarkable. 

For me they are very dear pieces, very brilliant; you can have an orchestra really shine in such a piece, and show its virtuosity. For me, they are, first, a great masterpiece of the 20th century, certainly, and also they are also very impressive because you feel all this great outpouring of feeling which I find necessary to convince an audience. 

Alban Berg, "Three Pieces for Orchestra, Op. 6, III - Marsch"

Play
00:32 / 09:27
 


III. Igor Stravinsky, The Rite of Spring

Stravinsky

 I discovered Rite of Spring when I was 21. As a matter of fact, not with orchestra first, because it was still a work which was not often performed. Don't forget that I was 19 in 1944, still the Occupation time. So it was performed slightly after the end of the war, in 1945. The first time I discovered it with a real orchestra, it was in '45-'46. But before, being in the class of [Olivier] Messiaen, it was a work Messiaen admired deeply, and we made an analysis of it. We performed it, piano four hands, like in the ballet rehearsals before the First World War. When you are performing it just four hands like that, it gives you a good view of the music, because you are performing it yourself, and you know the difficulties, the rhythmic difficulties. And you can imagine, even in '45 it had still a strong power, can you imagine in 1914 what power it could have had?

When I am playing Rite of Spring—which is easy now with first-class orchestras—you can imagine the difficulty that dear Mr. Monteux [Pierre Monteux] had the first time he was confronted with this work, and especially the musicians! Not everything in the score, but some parts would have been very difficult, because it was the first time musicians had to deal with this irregular pulse. When I think of the Rite of Spring I think always of the conductor of the first performance. I remember one musician, who was supposed to have heard one of the first performances, told me, "You know what I regret? That the bassoon is so easy nowadays." Every bassoon player works on that, and when he comes to a performance he is fully prepared. But at this time, this high register, completely alone, at the very beginning of a work… certainly people were terribly anxious to play it correctly!

Igor Stravinsky, "Rite of Spring (opening)"

Play
00:05 / 06:15
 


IV. Béla Bartók, Music for Strings, Percussion, and Celesta

Bartok

 That's really a special work—his return to "pure" music, without any trace of any [folk] source, anecdotes, etc. For instance in Miraculous Mandarin, it's a ballet and he followed a story, but here he came back to his love for chamber music. Music for Strings, Percussion, and Celesta is a kind of expansion of chamber music. All through his music, also in the Concerto for Orchestra which comes later, you have this kind of "night music." The third movement is certainly in this direction: it was a kind of image or music inspiration which permanently permeates the slow movement, with tiny figures, short, and the type of sonority in the high registers of the instruments.

The most extraordinary movement was the first, this big chromatic fugue, which is really unique in his work. Even in the Quartets, you don't find that. The only example of work as chromatic as that, and as systematic also, because it's based on the cycle of fifths. It's like a fan, it opens and it closes; all the structure is very visible. The fourth movement and the second are much more Hungarian, with a kind of rhythmical vitality, especially the fourth one, with a kind of folksy tune. 

Béla Bartók, "Music for Strings, Percussion, and Celesta Sz. 106 - 3. Adagio"

Play
01:26 / 07:27
 


V. Anton Webern, Six Pieces for Orchestra

Webern

 He was a very important figure, and completely unknown in 1945. Who knew Webern? Maybe in Austria, those who lived before the Anschluss, before Hitler came, but it was very confidential at this time. You can apply to Webern what [Charles] Sainte-Beuve in France said of Baudelaire: "The Kamchatka of poetry." Webern was a kind of "Kamchatka of music," an unknown country of music. That's true; for me and people of my generation, he was a radical—you couldn't be more radical than he was. Therefore he was a striking example. After the Second World War, there was a kind oftabula rasa, 'We must begin again from scratch.' And he was the model to begin from scratch. We admired him a lot, and we copied him a lot.

I suppose he would've been astonished at the influence he had on younger people.  You can understand, with the gestures of Stravinsky and Rite of Spring, how it was striking the imagination – it was very forceful. But the music of Webern in general, is tiny, very refined. The dynamic range is very small, generally; in these pieces, out of six, there is only one, which is a kind of funeral march, with a very big climax at the end. On the contrary, his music is very soft, delicate. The later works are still more discrete, and extremely short. His vocabulary was extremely condensed; I think of haiku in Japanese culture, where you have the whole world expressed in a few lines. As Arnold Schönberg says of Webern, 'He expresses in one sentence what people need a whole novel to express.' I think that's still true; to have a condensation of language and expression as strong as that, it is unique in the literature.

Anton Webern, "Six Pieces For Orchestra, Op.6 - #6"

Play
00:00 / 00:00


VI. Luciano Berio, Sinfonia

It was commissioned by the NY Philharmonic, in the time of Bernstein. I think Luciano Berio was very impressed by a Mahler performance of Bernstein's and therefore, you find in the middle of Sinfonia…something he does not like to call a collage, but it is a kind of collage. There's Fischpredigt of Mahler ["St. Anthony's Sermon to the Fishes," from Mahler's Des Knaben Wunderhorn] performed, and he inserts excerpts of all kinds of quotes—[Hector] Berlioz, Beethoven, up to Stockhausen and myself as a matter of fact. It's a very extraordinary piece because, like Berlioz, Berio has a very strong theatrical imagination with his concert works. The theater pervades practically all of his work. Therefore, the Sinfonia is a real theatrical piece.

But we must not concentrate only on the third movement which is the most spectacular. [Regarding the second movement] he began to write a very short work for a chamber group on the death of Martin Luther King. He used a group called the Swingle Singers, who were very popular, and Berio liked the theatricality of this group.  He used them not only singing, but also speaking quite a lot. When you are performing this piece on stage, you have to have the singers with a mic, because otherwise they won't be heard.  And with the microphones they can sing, they can whisper, they can use different dynamic levels. They detach from the orchestra, and at the same time be completely coherent with the orchestra.

That's a work which I like, and which I could never have written myself. That's very attractive to me, because some works you say, "Well I am in this direction," but this one—especially the third movement—I could never have written it, and therefore it has a fascination for me. It's not just the use of another composer as source material; it is the complete background of the music. I admire a composer who can do that, and also keep his personality.

Luciano Berio, "Sinfonia, 3rd movement"

Play
00:00 / 00:00
 


VII. Karlheinz Stockhausen, Gruppen

He is my generation, three years difference. Gruppen is one of the most impressive works he's ever written, for many reasons. First, it's for three orchestras in space: three groups, one in front of the audience, one of the left side, and one on the right side of the audience. I remember I gave the first performance, Stockhausen was conducting the left orchestra, I was conducting the right orchestra, and Bruno Moderna was conducting the orchestra number 2 which is facing the audience. I asked myself, with the very little experience I had conducting in 1958, how I could really get the piece performed correctly. Stockhausen had no experience at all. The only one of the three of us was Moderna who was an experienced conductor.

We were trying to cope with the situation; because with Gruppen you cannot just rehearse with the three orchestras together, you have to prepare the three separately, and then the conductors have to rehearse for themselves. The conception of time, for instance, is that one will beat in four, the other will beat five, etc. It's constantly shifting. There is one who must give the main tempo, and the other two must be dominated by this one and coincide. The funniest rehearsals are always between the three conductors: they're silent rehearsals, you see only the beat; you don't hear any music. Then to go back in front of an orchestra is suddenly something easier to do.

He was very keen on having a conception of multiple time [signatures]; the use of space was a consequence of that, or perhaps an incentive, because you can't mix tempi if you're all in a single group. Space was a way of making clear the polyphony of tempi. From time to time, he used it [the space] massively – for instance with a chord that goes from one orchestra to another one, which travels, so to speak. 

Karlheinz Stockhausen, "Gruppen excerpt"

Play
00:00 / 00:00
 


VIII. Gustav Mahler, Symphony No. 6

Mahler

 I think it's one of the most difficult to conduct, not so much the first movement as the last one, because it's climax after climax, and if you do too much to the first climax there's no way of doing the other ones! Maybe I like the Adagio of the 9th more than the Adagio of the 6th, but on the whole, the 6thSymphony is always very impressive. Especially when I put them in relationship with the Three Pieces, Op. 6 by Berg. For me, the two works are very deeply related. As a matter of fact, I planned to do this program with the Vienna Philharmonic; I said 'Can we do the Berg Op. 6, the Webern Op. 6—which are very influenced by Mahler, especially with the cowbells etc—and the Mahler Symphony No. 6?' The representative of the orchestra said to me, 'Well, I think the brass would be dead after this program.' But you cannot resist, even at my age.

It was Symphony No. 6 by Mahler, as a matter of fact, that was the first Mahler symphony I did with The Vienna Philharmnic. So this recording is for me good memories.

Gustav Mahler, "Symphony No.6 In A Minor - 4. Finale (Allegro moderato)"

Pause
00:21 / 29:10
 


IX. Arnold Schönberg, Erwartung

There is very little debate [of his stature], but very few performances. I don't understand why conductors are not really performing these works constantly. You have these wonderful pieces that are conceived for the theater but you can play in concert also, like Erwartung, and Die glückliche Hand. And then you have an opera like Moses und Aron, which should be in the repertoire of all of our houses. It's a little more difficult than Parsifal but not that much. The works are composed in 1910 or 11, and 90 years later it shouldn't be a problem any more, but when people hear only the name of Schönberg they say, "Oh, I can't do it."

Our century is supposed to be the fastest, the quickest, the one which reacts instantly and likes progress —and sometimes in music, you find it's the slowest of all centuries. If you compare with Wagner, take Tristan und Isolde for instance, around 1860—90 years later, that's 1950, Wagner is no longer a problem. I don't want to criticize my century, but the process of absorbing what is composed during this century is a very slow process, much too slow for me.

Erwartung is a drama with only one person. It's difficult to put on stage, because first you have to find a personality which is exceptional. Because you never know if it's a dream or nightmare of a single woman or if there's something real.  Her lover has been unfaithful and suddenly she discovers the lover killed in a forest.  But you never know if it is in her imagination or reality. I have seen some productions which are not terribly convincing as to whether it's real or not. But musically, it's not a problem – it's as dramatic in places as [Wagner's operas] Tristan orGötterdämmerung, certainly. 

But it's physically very demanding for a very short period of time, because the demonstration of the feelings is extreme, and therefore it's nerve-wracking, if you want to be involved completely with the expression of the music. I never separated intellect and feeling; the greatest composers have always married these two things. The composers who are just feeling or just abstract, are for me not composers, they are half-composers.

Arnold Schönberg, "Erwartung" (excerpt)

Play
00:00 / 00:00
 


X. Pierre Boulez, Repons

The real translation is "responsorial." In the church, especially the church of long ago, you had a priest who would say a sentence, and the crowd would answer. And this piece is between a group of instruments, and solo instruments.

You have in the center of the hall, which is not a normal hall but could be any kind of space, you have some strings, brass, woodwind, which are acoustic. You have the audience around that, and behind the audience you have six soloists – two pianos, one harp, one cimbalom, one vibraphone and xylophone/glockenspiel. These six instruments are amplified, and for some passages, transformed by electronic devices. Some of the sounds are un-tempered; you don't have only the half-tone, but other types of intervals. Therefore the audience is taking in a whole atmosphere of sound,which is in front of them and behind them. The main group sound is not moving – it is in front of the audience. But the sound of the soloists is traveling, so you have a responsorial between the main instrument and the soloists.

It's difficult to put on a recording, but we have developed a program at IRCAM which can give the illusion of space. We took a long time with engineers at Deutsche Grammophon and IRCAM to organize a pseudo-space which can be convincing. It's like a photograph of a mobile by [Alexander] Calder; you can imagine what it is, but it's on a flat surface.

I have faith in these new tools.  It is not a religious admiration in technology, but you cannot resist the expansion of the tools. The development of iron in the 19th century put the piano in quite a different perspective, when the tension of the strings was possible at a bigger scale, and the sound was on a bigger scale.  So the piano changed from the beginning to the end of the century. Right now, we cannot resist the invasion of electronics, because they are there in life and why not in music? It's not inhuman, as it is generally said, because I don't know any instrument more inhuman than an organ, and there is great music for the organ.  There is and there will be great uses for new ways of approaching music. 

Pierre Boulez, "Repons" (excerpt)

Play
02:03 / 06:29