tus

Personality: theory and research / Daniel Cervone, Professor of Psychology, University of Illinois at Chicago, Lawrence A. Pervin, Professor Emeritus, Rutgers University

Hayden Library - BF698.P375 2019




tus

[ASAP] Lithium–Oxygen Batteries and Related Systems: Potential, Status, and Future

Chemical Reviews
DOI: 10.1021/acs.chemrev.9b00609




tus

Detritus [electronic journal].

CISA Publisher




tus

What is draft red herring prospectus?

The document clarifies the reason why the company wants to raise money from the public, how the money will be used and risks involved in investing in the company.




tus

Implementing change : patterns, principles, and potholes / Gene E Hall, President, Concerns Based Systems, Inc., Professor Emeritus, University of Nevada, Las Vegas, Shirley M. Hord, Scholar Laureate, Learning Forward ; forewords by Bruce Joyce, Barrie Be

Hall, Gene E., 1941- author




tus

Science Cafe on hiatus

Look for new programs, beginning in August!




tus

Current commercialization status of electrowetting-on-dielectric (EWOD) digital microfluidics

Lab Chip, 2020, Advance Article
DOI: 10.1039/D0LC00144A, Critical Review
Jia Li, Chang-Jin “CJ” Kim
Electrowetting on EWOD surface: a droplet beading or spreading (left) or translating (right) by electric signals. The EWOD technology made the once-obscure electrowetting phenomenon practical, leading to the host of commercial products today.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




tus

'Hiatus beneficial to big players'

Becker backed the idea of merging the ATP and the WTA and said the ongoing pause is an opportunity for the sport's stakeholders to work together.




tus

Comparative differential cuproproteomes of Rhodobacter capsulatus reveal novel copper homeostasis related proteins

Metallomics, 2020, 12,572-591
DOI: 10.1039/C9MT00314B, Paper
Nur Selamoglu, Özlem Önder, Yavuz Öztürk, Bahia Khalfaoui-Hassani, Crysten E. Blaby-Haas, Benjamin A. Garcia, Hans-Georg Koch, Fevzi Daldal
Cuproproteome of model bacterium Rhodobacter capsulatus reveals 75 Cu-responsive proteins that are strongly influenced (2–300 fold) by Cu availability.
The content of this RSS Feed (c) The Royal Society of Chemistry




tus

Podcast: The impact of legal pot on opioid abuse, and a very early look at a fetus’s genome

This week, news writer Greg Miller chats with us about how the legalization of marijuana in certain U.S. states is having an impact on the nation’s opioid problem. Plus, Sarah Crespi talks to Sascha Drewlo about a new method for profiling the DNA of fetuses very early on in pregnancy.   [Image: OpenRangeStock/iStockphoto/Music: Jeffrey Cook] ++   Authors: Sarah Crespi; Alexa Billow




tus

Podcast: What ants communicate when kissing, stars birthed from gas, and linking immune strength and social status

This week, we chat about kissing communication in ants, building immune strength by climbing the social ladder, and a registry for animal research with Online News Editor David Grimm. Plus, Science’s Alexa Billow talks to Bjorn Emonts about the birth of stars in the Spiderweb Galaxy 10 billion years ago.   Related research on immune function and social hierarchy.   Listen to previous podcasts.   [Image: Lauren Brent; Music: Jeffrey Cook]




tus

Habitus and Field: General Sociology, Volume 2 (1982-1983)


 
This is the second of five volumes based on the lectures given by Pierre Bourdieu at the Collège de France in the early 1980s under the title ‘General Sociology’. In these lectures, Bourdieu sets out to define and defend sociology as an intellectual discipline, and in doing so he introduces and clarifies all the key concepts which have come to define his distinctive intellectual approach.

In this volume, Bourdieu focuses on two of his most important

Read More...




tus

Modern digital and analog communication systems / B.P. Lathi (Professor Emeritus, California State University-Sacramento), Zhi Ding (Professor, University of California-Davis)

Lathi, B. P. (Bhagwandas Pannalal), author




tus

Morituris felicem vitae finem, Mortuis beatem sine fine vitam Silete, Confoederati Amici; quid emortuum Corniculum vestris auribus triste insonet, avidi auscultate, habet secreta ... Translatus est de vita ad mortem ... P. Tobias Herele ...

Autor: Herele, Tobias
Erschienen 1684
BSB-Signatur Res/2 Bavar. 980,2#Beibd.205

URN: urn:nbn:de:bvb:12-bsb11121330-5
URL: http://reader.digitale-sammlungen.de/de/fs1/object/display/bsb11121330_00001.html/




tus

Management of fungal pathogens in pulses: current status and future challenges / Bhim Pratap Singh, Garima Singh, Krishna Kumar, S. Chandra Nayak, N. Srinivasa, editors

Online Resource




tus

Commercial status of plant breeding in India Aparna Tiwari

Online Resource




tus

Mixed plantations of eucalyptus and leguminous trees: soil, microbiology and ecosystem services / Elke Jurandy Bran Nogueira Cardoso, José Leonardo de Moraes Gonçalves, Fabiano de Carvalho Balieiro, Avílio Antônio Franco, editors

Online Resource




tus

Building a Dictaphone Using Media Recorder and getUserMedia

Chris Mills brushes up his shorthand and shows how the MediaStream Recording API in modern browsers can be used to capture audio directly from the user’s device. Inching ever closer to the capabilities of native software, it truly is an exciting time to be a web developer.


The MediaStream Recording API makes it easy to record audio and/or video streams. When used with MediaDevices.getUserMedia(), it provides an easy way to record media from the user’s input devices and instantly use the result in web apps. This article shows how to use these technologies to create a fun dictaphone app.

A sample application: Web Dictaphone

To demonstrate basic usage of the MediaRecorder API, we have built a web-based dictaphone. It allows you to record snippets of audio and then play them back. It even gives you a visualisation of your device’s sound input, using the Web Audio API. We’ll just concentrate on the recording and playback functionality in this article, for brevity’s sake.

You can see this demo running live, or grab the source code on GitHub. This has pretty good support on modern desktop browsers, but pretty patchy support on mobile browsers currently.

Basic app setup

To grab the media stream we want to capture, we use getUserMedia(). We then use the MediaRecorder API to record the stream, and output each recorded snippet into the source of a generated <audio> element so it can be played back.

We’ll first declare some variables for the record and stop buttons, and the <article> that will contain the generated audio players:

const record = document.querySelector('.record');
const stop = document.querySelector('.stop');
const soundClips = document.querySelector('.sound-clips');

Next, we set up the basic getUserMedia structure:

if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {
   console.log('getUserMedia supported.');
   navigator.mediaDevices.getUserMedia (
      // constraints - only audio needed for this app
      {
         audio: true
      })

      // Success callback
      .then(function(stream) {

      })

      // Error callback
      .catch(function(err) {
         console.log('The following `getUserMedia` error occured: ' + err);
      }
   );
} else {
   console.log('getUserMedia not supported on your browser!');
}

The whole thing is wrapped in a test that checks whether getUserMedia is supported before running anything else. Next, we call getUserMedia() and inside it define:

  • The constraints: Only audio is to be captured for our dictaphone.
  • The success callback: This code is run once the getUserMedia call has been completed successfully.
  • The error/failure callback: The code is run if the getUserMedia call fails for whatever reason.

Note: All of the code below is found inside the getUserMedia success callback in the finished version.

Capturing the media stream

Once getUserMedia has created a media stream successfully, you create a new Media Recorder instance with the MediaRecorder() constructor and pass it the stream directly. This is your entry point into using the MediaRecorder API — the stream is now ready to be captured into a <Blob>, in the default encoding format of your browser.

const mediaRecorder = new MediaRecorder(stream);

There are a series of methods available in the MediaRecorder interface that allow you to control recording of the media stream; in Web Dictaphone we just make use of two, and listen to some events. First of all, MediaRecorder.start() is used to start recording the stream once the record button is pressed:

record.onclick = function() {
  mediaRecorder.start();
  console.log(mediaRecorder.state);
  console.log("recorder started");
  record.style.background = "red";
  record.style.color = "black";
}

When the MediaRecorder is recording, the MediaRecorder.state property will return a value of “recording”.

As recording progresses, we need to collect the audio data. We register an event handler to do this using mediaRecorder.ondataavailable:

let chunks = [];

mediaRecorder.ondataavailable = function(e) {
  chunks.push(e.data);
}

Last, we use the MediaRecorder.stop() method to stop the recording when the stop button is pressed, and finalize the Blob ready for use somewhere else in our application.

stop.onclick = function() {
  mediaRecorder.stop();
  console.log(mediaRecorder.state);
  console.log("recorder stopped");
  record.style.background = "";
  record.style.color = "";
}

Note that the recording may also stop naturally if the media stream ends (e.g. if you were grabbing a song track and the track ended, or the user stopped sharing their microphone).

Grabbing and using the blob

When recording has stopped, the state property returns a value of “inactive”, and a stop event is fired. We register an event handler for this using mediaRecorder.onstop, and construct our blob there from all the chunks we have received:

mediaRecorder.onstop = function(e) {
  console.log("recorder stopped");

  const clipName = prompt('Enter a name for your sound clip');

  const clipContainer = document.createElement('article');
  const clipLabel = document.createElement('p');
  const audio = document.createElement('audio');
  const deleteButton = document.createElement('button');

  clipContainer.classList.add('clip');
  audio.setAttribute('controls', '');
  deleteButton.innerHTML = "Delete";
  clipLabel.innerHTML = clipName;

  clipContainer.appendChild(audio);
  clipContainer.appendChild(clipLabel);
  clipContainer.appendChild(deleteButton);
  soundClips.appendChild(clipContainer);

  const blob = new Blob(chunks, { 'type' : 'audio/ogg; codecs=opus' });
  chunks = [];
  const audioURL = window.URL.createObjectURL(blob);
  audio.src = audioURL;

  deleteButton.onclick = function(e) {
    let evtTgt = e.target;
    evtTgt.parentNode.parentNode.removeChild(evtTgt.parentNode);
  }
}

Let’s go through the above code and look at what’s happening.

First, we display a prompt asking the user to name their clip.

Next, we create an HTML structure like the following, inserting it into our clip container, which is an <article> element.

<article class="clip">
  <audio controls></audio>
  <p>_your clip name_</p>
  <button>Delete</button>
</article>

After that, we create a combined Blob out of the recorded audio chunks, and create an object URL pointing to it, using window.URL.createObjectURL(blob). We then set the value of the <audio> element’s src attribute to the object URL, so that when the play button is pressed on the audio player, it will play the Blob.

Finally, we set an onclick handler on the delete button to be a function that deletes the whole clip HTML structure.

So that’s basically it — we have a rough and ready dictaphone. Have fun recording those Christmas jingles! As a reminder, you can find the source code, and see it running live, on the MDN GitHub.


This article is based on Using the MediaStream Recording API by Mozilla Contributors, and is licensed under CC-BY-SA 2.5.


About the author

Chris Mills manages the MDN web docs writers’ team at Mozilla, which involves spreadsheets, meetings, writing docs and demos about open web technologies, and occasional tech talks at conferences and universities. He used to work for Opera and W3C, and enjoys playing heavy metal drums and drinking good beer.

More articles by Chris




tus

Cabinet clears statutory status for UIDAI

Besides giving statutory status to UIDAI, the Bill seeks to provide legal backing to Aadhaar.




tus

India, China armies end 5-year hiatus; begin 10-day anti-terror exercise

Both sides have deployed about 150 soldiers each in the 10-day exercise.




tus

Biodiversity 1992 : the status of the Earth's living natural resources : a report / prepared by the World Conservation Monitoring Centre ; in collaboration with the World Resources Institute, the United Nations Environment Programme, IUCN-World Conser

World Conservation Monitoring Centre




tus

Earth resources and environmental impacts / Kieran D. O'Hara, the Department of Earth and Environmental Sciences, University of Kentucky (emeritus)

O'Hara, Kieran D., author




tus

Trinamool Congress inner party tussle will benefit Congress: West Bengal PCC president Adhir Chowdhury



  • DO NOT USE West Bengal
  • India

tus

Germination and viability of seeds of jarrah (Eucalyptus marginata) forest species according to temperature and duration of storage / M.A. Norman, E.L. Cromer, S.K. Taylor

Norman, M. A




tus

Safety apparatus goes for a toss at LG Polymers

‘Reasons for the accident yet to be ascertained’




tus

A young Dutchman views post-Civil War America [electronic resource] : diary of Claude August Crommelin / Claude August Crommelin ; translated by Augustus J. Veenendaal, Jr. ; edited with an introduction by Augustus J. Veenendaal, Jr., and H. Roger Grant

Crommelin, Claude August, 1840-1874




tus

Pollution status, environmental protection, and renewable energy production in marine systems / Ahmed El Nemr, editor




tus

Essentials of oceanography / Alan P. Trujillo (Distinguished Teaching Professor, Palomar College), Harold V. Thurman (Former Professor Emeritus, MT. San Antonio College)

Trujillo, Alan P., author




tus

Microplastics in fisheries and aquaculture : status of knowledge on their occurrence and implications for aquatic organisms and food safety / Amy Lusher, Peter Hollman, and Jeremy Mendoza-Hill

Lusher, Amy, author




tus

Essentials of oceanography / Alan P. Trujillo (Distinquished Teaching Professional, Palomar College), Harold V. Thurman (Former Professor Emeritus, Mt. San Antonio College)

Trujillo, Alan P., author




tus

Advanced catalytic materials: current status and future progress / José Manuel Domínguez-Esquivel, Manuel Ramos, editors

Online Resource




tus

Tussle between maintaining customer satisfaction and supply chain constraints [electronic resource] : IGNYS automotive / Chuck Munson with Satish Kumar and Dileep More

Munson, Chuck, author







tus

Indian in UAE jailed for ‘blasphemous’ Facebook status



  • DO NOT USE Indians Abroad
  • World

tus

A greater prize than gold : Augustus Oldfield, 19th century botanical collector and ethnographer in Australia / M. Helen and William G. (Bill) Henderson

Henderson, M. H. (Margaret Helen), author




tus

SCOTUS 2019: major decisions and developments of the US Supreme Court / David Klein, Morgan Marietta, editors

Online Resource




tus

Legal protection of the environment / Craig N. Johnston (Professor of Law, Lewis & Clark Law School), William F. Funk (Lewis & Clark Distinguished Professor of Law, Emeritus Lewis & Clark Law School), Victor B. Flatt (Dwight Olds Chair in Law

Dewey Library - KF3775.J645 2018




tus

Water politics: governance, justice, and the right to water / edited by Farhana Sultana and Alex Loftus

Dewey Library - K3260.W38 2020




tus

Poetry 180: Poem 142 - "Tinnitus"

A poem by Robert Wrigley from the Library's Poetry 180 Project.




tus

[ASAP] Chemical Modifications of Vicilins Interfere with Chitin-Binding Affinity and Toxicity to <italic toggle="yes">Callosobruchus maculatus</italic> (Coleoptera: Chrysomelidae) Insect: A Combined In Vitro and In Silico Analysis

Journal of Agricultural and Food Chemistry
DOI: 10.1021/acs.jafc.9b08034




tus

Mariana Matus means to combat the opioid epidemic with chemical data

Her company, Biobot Analytics, is analyzing wastewater to give communities the information they need for the battle




tus

Ventus Therapeutics launches to drug inflammasomes, cGAS, and more

The Versant-founded start-up raised $60 million to develop small molecules that target innate immune system proteins




tus

David Paul von Hansemann [electronic resource] : contributions to oncology / Leon P. Bignold, Brian L.D. Coghlan, Hubertus P.A. Jersmann

Basel ; Boston : Birkhäuser, [2007]




tus

[ASAP] Nonintrusive Monitoring of Mental Fatigue Status Using Epidermal Electronic Systems and Machine-Learning Algorithms

ACS Sensors
DOI: 10.1021/acssensors.9b02451




tus

Inequality in gifted and talented programs: parental choices about status, school opportunity, and second-generation segregation / Allison Roda

Online Resource




tus

Hysterangium mats and associated bacteria under Eucalyptus gomphocephala in south-western Australia / by Nguyen Quang Dung

Dung, Nguyen Quang




tus

Ergosterol peroxide from Pleurotus ferulae inhibits gastrointestinal tumor cell growth through induction of apoptosis via reactive oxygen species and endoplasmic reticulum stress

Food Funct., 2020, Advance Article
DOI: 10.1039/C9FO02454A, Paper
Yi Yang, Xiaoyu Luo, Mayila Yasheng, Jun Zhao, Jinyu Li, Jinyao Li
Ergosterol peroxide was purified from Pleurotus ferulae by silica gel chromatography, Sephadex LH-20 chromatography and recrystallization and named as PFEP, which was identified by ESI-MS and NMR.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




tus

Mother's Day: Greetings, Photos, WhatsApp and Facebook Status

Mother's Day: Greetings, Photos, WhatsApp and Facebook Status