頚肩腕障害、頸肩腕症候群、RSI、Repetitive Strain Injury

日本語の資料がすごく少ないので、個人的な経験をまとめておこうと思っています。

まず、役に立つ処方薬、市販薬

・ブルフェン
・ミオナール
・デパス
・ユベラ
・Vitamin B6
・マグネシウム
・QPコーワiプラス

失敗談
・アリナミン(ドリンク)の過剰摂取は非常に悪かった
・体の冷やしすぎ
・運動のし過ぎ
・ストレッチのし過ぎ、逆効果

英語のFBのグループなど役に立ちます。

Advertisements

Beginning Traktor 2

How to see calibrate.

  1. Preference
  2. Decks Layout
  3. Platter/ Scope – Scope

Click it toggle Platter and Scope.

Internal Playback / Scratch Control

 

#Layouts #Header
#Decks

DTM Error

What I met errors today.

1. Cables length lacks

2. Traktor 2 ratency problem on my DIY PC

3. S3000XL “cannot deleted loaded flash sample” problem
Vol problem? Certainly in the past I could delete.
=> It was item delete, from “edit sample” I could delete samples!!!

4. My PC software doesn’t receive Midi keyboard outputs.

Hmmm.
 

 

Import youtube-dl package in Python

*package -> A module that contains other modules. Like directory to the files.
*module -> A file that contains a collection of related  functions and other definitions. Maybe like class file in Java. One unit of programs.

One resolution is add path to module search path.

This thread seems helpful.
https://stackoverflow.com/questions/33893610/correct-way-of-absolute-import-in-python-2-7
#from #import #singleton #virtualenv #builtin-modules #module_object #

@ThinkPython @Python Language Reference Manual @Python in a nutshell

>>> import sys
>>> print sys.path
[”, ‘/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg’, ‘/usr/lib/python2.7’, ‘/usr/lib/python2.7/plat-x86_64-linux-gnu’, ‘/usr/lib/python2.7/lib-tk’, ‘/usr/lib/python2.7/lib-old’, ‘/usr/lib/python2.7/lib-dynload’, ‘/usr/local/lib/python2.7/dist-packages’, ‘/usr/lib/python2.7/dist-packages’, ‘/usr/lib/python2.7/dist-packages/PILcompat’, ‘/usr/lib/python2.7/dist-packages/gtk-2.0’, ‘/usr/lib/python2.7/dist-packages/wx-3.0-gtk2’]

Error: Couldn’t open cd-rom of “MAKING MUSIC WITH SAMPLES” by Daniel Duffell

First it was recognized as protected Audio cd.
But actually it is files and directories.

Path of track 8 was
‘/run/user/1000/gvfs/cdda:host=sr0/Track 8.wav’

If I could resolve this I will keeping continue.😘

 

180401 add

I tried to install Traktor 2 in Ubuntu but CD-ROM didn’t recognized.
I guess that caused by change mount settings when modified it to use dvd-shrink on wine in Ubuntu.

#cd-rom for wine
#/dev/sr0 /mnt/dvd auto ro,user,noauto,unhide 0 0

I commented out 2nd line at /etc/fstab resolved this error to read Traktor Installer CD-ROM.

used

sudo gvim /etc/fstab

command.

And Logout cleared this setting and resolved.

Vim key bindings

I googled default key bindings of vim.
This is vi’s one but helpful.

I temporary use Ctrl + x + [some alphabet] to avoid conflict to default key bindings.

Example

"Open new tab
command Ta :tabnew 
"Open new tab
map ^Xt :Ta 

map ^S :w "Ctrl s to write"
map! ^S :w

<CAUTION> You have to Ctrl + v to express ^X or ^S in vim’s map statement.
Copy and paste of these code won’t work. Type Ctrl + v then Ctrl + [some key].

 

Reference site
https://hea-www.harvard.edu/~fine/Tech/vi.html

bind — band, bundle

Maven, jzy3d, javafx

I wanted to plotting in Java and I found jzy3d.
This api required Maven.
mvn install generated error,

[INFO] 100 errors
[INFO] ————————————————————-
[INFO] ————————————————————————
[INFO] Reactor Summary:
[INFO]
[INFO] Jzy3d Master Project …………………………. SUCCESS [ 0.706 s]
[INFO] JDT core (fork of https://github.com/yonatang/JDT) . SUCCESS [ 11.891 s]
[INFO] Jzy3d API …………………………………… SUCCESS [ 14.137 s]
[INFO] Jzy3d Depth Peeling Extension …………………. SUCCESS [ 0.648 s]
[INFO] Jzy3d|FX ……………………………………. FAILURE [ 0.520 s]
[INFO] Jzy3d LibSVM ………………………………… SKIPPED
[INFO] Jzy3d SVM Mapper …………………………….. SKIPPED
[INFO] Jzy3d SWT Tools ……………………………… SKIPPED
[INFO] Jzy3d Tutorials ……………………………… SKIPPED
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 29.089 s
[INFO] Finished at: 2018-03-14T14:07:39+09:00
[INFO] Final Memory: 24M/285M
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project jzy3d-javafx: Compilation failure: Compilation failure:
[ERROR] /home/masa/Downloads/jzy3d-api-master/jzy3d-javafx/src/main/java/org/jzy3d/javafx/controllers/mouse/JavaFXCameraMouseController.java:[3,20] package javafx.event does not exist

Maybe I need JavaFX.

This stackoverflow thread seems suggest the answer.

I did #sudo apt-get install openjfx

NEW packages  installed:
libopenjfx-java libopenjfx-jni openjfx

Openjfx installed at /usr/share/java/openjfx
and fixed this problem.

[INFO] ————————————————————————
[INFO] Reactor Summary:
[INFO]
[INFO] Jzy3d Master Project …………………………. SUCCESS [ 0.931 s]
[INFO] JDT core (fork of https://github.com/yonatang/JDT) . SUCCESS [ 20.053 s]
[INFO] Jzy3d API …………………………………… SUCCESS [ 8.399 s]
[INFO] Jzy3d Depth Peeling Extension …………………. SUCCESS [ 0.230 s]
[INFO] Jzy3d|FX ……………………………………. SUCCESS [ 2.516 s]
[INFO] Jzy3d LibSVM ………………………………… SUCCESS [ 2.255 s]
[INFO] Jzy3d SVM Mapper …………………………….. SUCCESS [ 0.873 s]
[INFO] Jzy3d SWT Tools ……………………………… SUCCESS [ 5.412 s]
[INFO] Jzy3d Tutorials ……………………………… SUCCESS [ 14.148 s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] ————————————————————————
[INFO] Total time: 56.589 s
[INFO] Finished at: 2018-03-15T09:39:56+09:00
[INFO] Final Memory: 30M/255M
[INFO] ————————————————————————

🖒

 

Beginning Ardour memo, Configure JACK, AlSA,PulseAudio

My iMac broken and I can’t use Logic. And I started using Ubuntu.
I try using Ardour which is DTM software in Linux.

・First Audio/MIDI setup.

Jack or ALSA?

“… but to me JACK seems to be a kind of professional enhancement and supplement of ALSA.” Quote from here

What is JACK?😞

JACK is acronym for JACK Audio Connection Kit. This is recursive acronym.

… a professional sound server daemon that provides real-time, low-latency connections for both audio and MIDI data between applications that implement its API.
… has been a key piece of infrastructure and the de facto standard for professional audio software on Linux since its inception in 2002. The server is free software, licensed under the GNU GPL, while the library is licensed under the more permissive GNU LGPL.

from Wikipedia.

=> JACK is a sound server

14, March 2018

To be continued

 

???? Firefox’s audio error after launch JACK.
=> need plugins.   http://jackaudio.org/faq/routing_alsa.html
in Ubuntu “libasound2-plugins”.

=> edit ~/.asoundrc to use it

 

“””
ALSA aplay utility like this: aplay -D pcm.jack
/path/to/some/non-compressed/audio/file
“””
#ALSA aplay utility#rawjack#pcm.jack

aplay -D pcm.jack '/home/masa/Downloads/Dragonfire-0.9.7/ten_digits.wav'

after start jack and this command, sound file played.

 

JACK web site – https://qjackctl.sourceforge.io/

I was reading README file in src, and found http://ccrma.stanford.edu/planetccrma/software/

#JACK #Kernel #Fedora

Tue 20 Mar 18

To be continued