sing Development of a label-free, sensitive gold nanoparticles-poly (adenine)aptasensing platform for colorimetric determination of aflatoxin B1 in corn By pubs.rsc.org Published On :: Anal. Methods, 2024, Accepted ManuscriptDOI: 10.1039/D4AY00605D, PaperOmid Heydari Shayesteh, Katayoun Derakhshandeh, Akram Ranjbar, Reza Mahjub, Abbas FarmanyIn this work, a sensitive colorimetric bioassay method based on poly (adenine) aptamer (polyA apt) and gold nanoparticles (AuNPs) was developed to the determination of aflatoxin B1 (AFB1). The polyA...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing Resolving phytosterols in microalgae using offline two-dimensional reversed phase liquid chromatography-supercritical fluid chromatography coupled with quadrupole time-of-flight mass spectrometry By pubs.rsc.org Published On :: Anal. Methods, 2024, 16,2278-2285DOI: 10.1039/D3AY02261G, PaperMagali Batteau, Elodie Bouju, Adriana Ramirez-Romero, Sylvie Nuccio, René De Vaumas, Florian Delrue, Karine FaureDevelopment of an off-line LC-SFc-MS method, separation of sterol isomers in algal unsaponifiable fractions, elution pattern helping in the reduction of structural candidates.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing Direct solid sample analysis of low-cost jewelry using spectroanalytical techniques: exploratory chemical data evaluation and metal migration with synthetic sweat By pubs.rsc.org Published On :: Anal. Methods, 2024, 16,2286-2291DOI: 10.1039/D4AY00325J, PaperThaila Lorena de Araújo, Fabiola Manhas Verbi Pereira, Edenir Rodrigues Pereira-FilhoJewelry samples were directly analyzed using LIBS and XRF.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing Dual-functional porphyrinic zirconium-based metal–organic framework for the fluorescent sensing of histidine enantiomers and Hg2+ By pubs.rsc.org Published On :: Anal. Methods, 2024, 16,2386-2399DOI: 10.1039/D3AY02241B, PaperShili Qin, Fanshu Meng, Fenglong Jin, Xidi Xu, Ming Zhao, Hongtao Chu, Lidi Gao, Shuren LiuL-Cys/PCN-222 as a novel and dual-functional fluorescent sensor was developed. It not only showed a higher chiral fluorescent recognition of L-histidine but also performed as a visual sensor for Hg2+ in actual surface water.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing Anti-aggregation colorimetric sensing of cysteine using silver nanoparticles in the presence of Pb2+ By pubs.rsc.org Published On :: Anal. Methods, 2024, 16,2378-2385DOI: 10.1039/D4AY00351A, PaperLihui Mao, Yi Zhang, Huan Zhang, Huili Liu, Yong-ping GaoIn this study, an unmodified AgNPs was synthesized to prepare AgNPs-Pb2+ as a probe for colorimetric sensing of cysteine. We developed a AgNPs colorimetric method for the determination of cysteine in urine, utilizing the anti-aggregation principle.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing A chemiluminescence immunoassay for type IV collagen as a promising marker for liver fibrosis and cirrhosis By pubs.rsc.org Published On :: Anal. Methods, 2024, 16,2248-2255DOI: 10.1039/D3AY02240D, PaperXiaoling Fu, Fan Zhang, Fangda Zhen, Lian Duan, Jian Zhou, Jianguo MaHerein, a magnetic bead-based chemiluminescence assay is reported to detect type IV collagen (col-IV) in serum samples.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing Analysing micro- and nanoplastics with cutting-edge infrared spectroscopy techniques: a critical review By pubs.rsc.org Published On :: Anal. Methods, 2024, 16,2177-2197DOI: 10.1039/D3AY01808C, Critical Review Open Access   This article is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported Licence.Junhao Xie, Aoife Gowen, Wei Xu, Junli XuIn this review, we discussed and compared the applications of Fourier transform infrared spectroscopy, quantum cascade laser infrared spectroscopy, atomic force microscopy-based infrared spectroscopy, and optical photothermal infrared spectroscopy in MNP research from multiple perspectives.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing A highly sensitive and selective fluorescent biosensor for breast cancer derived exosomes using click reaction of azide–CD63 aptamer and alkyne-polymer dots By pubs.rsc.org Published On :: Anal. Methods, 2024, Advance ArticleDOI: 10.1039/D4AY00146J, PaperDumei Ma, Yiting Luo, Xiaoya Zhang, Zehu Xie, Yinghua Yan, Chuan-Fan DingA fluorescence method based on Cu-triggered click reaction of azide modified CD63 aptamer and alkyne capped Pdots was developed for breast cancer derived exosome detection.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 Full Article
sing Analysis of brominide disinfection by-products in aquaculture water using ultra-high-performance liquid chromatography–quadrupole–time-of-flight mass spectrometry By pubs.rsc.org Published On :: Anal. Methods, 2024, Accepted ManuscriptDOI: 10.1039/D4AY00396A, PaperWeimin Yang, Yi Zhang, Jilong Huang, Xing Yang, Ning JiangBackground: Halogenic disinfectants have been shown to produce toxic and carcinogenic disinfection by-products (DBPs) during water disinfection. Dibromohydantoin (DBDMH) is a commonly used water disinfectant in aquaculture. Aquaculture water has...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing Simple fluorescence “turn-off” assay for Congo red using commercial 2-aminophthalic acid By pubs.rsc.org Published On :: Anal. Methods, 2024, Advance ArticleDOI: 10.1039/D4AY00506F, PaperJiaqi Qian, Jie Li, Yihan Jiang, Chaoyong Liu, Jiayao Zhu, Liyu Gu, Yongming Guo2-Aminophthalic acid with a high quantum yield of 38.49% was utilized for fluorescence “turn-off” sensing of Congo red with a linear range of 0.05–50 μM and a limit of detection of 1.72 μM.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 Full Article
sing Electroanalysis overview: additive manufactured biosensors using fused filament fabrication By pubs.rsc.org Published On :: Anal. Methods, 2024, Advance ArticleDOI: 10.1039/D4AY00278D, Minireview Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Robert D. Crapnell, Craig E. BanksAdditive manufacturing (3D-printing), in particular fused filament fabrication, presents a paradigm shift in the way electrochemical based biosensing platforms are produced, giving rise to a new generation of personalized and on-demand biosensors.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 Full Article
sing Quantifying platinum binding on protein-functionalized magnetic microparticles using single particle-ICP-TOF-MS By pubs.rsc.org Published On :: Anal. Methods, 2024, Advance ArticleDOI: 10.1039/D4AY00268G, Paper Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Veronica C. Bradley, Benjamin T. Manard, Lyndsey Hendriks, Daniel R. Dunlap, Amber N. Bible, Ada Sedova, Patricia Saint-Vincent, Brian C. Sanders, Hunter B. AndrewsThis work describes an analytical procedure, single particle-inductively coupled plasma-time-of-flight-mass spectrometry (SP-ICP-TOF-MS), that was developed to determine the platinum binding efficiency of protein-coated magnetic microparticles.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 Full Article
sing Losing a friend, virtually By www.thehindubusinessline.com Published On :: Mon, 03 Jun 2013 13:04:35 +0530 Full Article R Dinakaran
sing Missing the obvious By www.thehindubusinessline.com Published On :: Mon, 29 Jul 2013 17:04:17 +0530 Full Article R Dinakaran
sing Politicising the laddu: On the Tirupati laddu and its ‘adulteration’ By www.thehindu.com Published On :: Tue, 24 Sep 2024 00:30:00 +0530 The Tirupati laddu issue should be limited to one of quality control Full Article Editorial
sing Exploring 7β-amino-6-nitrocholestens as COVID-19 antivirals: in silico, synthesis, evaluation, and integration of artificial intelligence (AI) in drug design: assessing the cytotoxicity and antioxidant activity of 3β-acetoxynitrocholestane By pubs.rsc.org Published On :: RSC Med. Chem., 2024, Advance ArticleDOI: 10.1039/D4MD00257A, Research Article Shahabuddin, Uzma, Mohammad Azam, Mehtab Parveen, Nurul Huda Abd Kadir, Kim Min, Mahboob AlamIn light of the ongoing pandemic caused by SARS-CoV-2, effective and clinically translatable treatments are desperately needed for COVID-19 and its emerging variants.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 Full Article
sing meso-Substituted AB3-type phenothiazinyl porphyrins and their indium and zinc complexes photosensitising properties, cytotoxicity and phototoxicity on ovarian cancer cells By pubs.rsc.org Published On :: RSC Med. Chem., 2024, Advance ArticleDOI: 10.1039/D4MD00601A, Research Article Open Access   This article is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported Licence.Brém Balázs, Bianca Stoean (Vasile), Éva Molnár, Eva Fischer-Fodor, Ovidiu Bălăcescu, Raluca Borlan, Monica Focsan, Adriana Grozav, Patriciu Achimaş-Cadariu, Emese Gál, Luiza GainaNew meso-substituted AB3-type phenothiazinyl porphyrins and ferrocenylvinyl phenothiazinyl porphyrin were synthesised by Suzuki–Miyaura and Mizoroki–Heck cross-coupling reactions, respectively.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 Full Article
sing Railways using treated water from its STP for maintaining green spaces By www.thehindu.com Published On :: Thu, 07 Nov 2024 20:46:00 +0530 The treated water is stored in an overhead tank and used in gardens at the two railway rest houses meant for officers at Kallukuzhi near Tiruchi Railway Junction Full Article Tiruchirapalli
sing 556: Andrey Sitnik and Using OKLCH for Color By shoptalkshow.com Published On :: Mon, 13 Mar 2023 16:38:12 +0000 Andrey Sitnik from Evil Martians talks with us about why OKCLH is the best way forward for color on the web, how to incorporate it into design systems, getting your designers to use OKCLH, and what kind of fallback support is needed. Full Article All Episodes color Design oklch
sing 569: Apple’s Web Apps, Meta Quest and Vision Pro, and Missing Sticky Headers By shoptalkshow.com Published On :: Mon, 12 Jun 2023 07:20:15 +0000 How do you point out things in a UI? Are Arc Boosts the end of the web? What do you think of VR and AR / Vision Pro and Meta Quest? And what do you do when the sticky header goes missing? Full Article All Episodes meta quest vision pro Web Apps
sing The art of dispensing water By www.thehindu.com Published On :: Fri, 04 Sep 2015 16:53:00 +0530 Water-ATMs are becoming the rage all over the country. A look at the mechanism. Full Article Property Plus
sing A rising star in retirement planning By www.thehindubusinessline.com Published On :: Sun, 29 Sep 2024 21:23:00 +0530 Amid a steadily swelling subscriber base, how the NPS can build on the momentum to reach its full potential Full Article Current Account
sing Catalysing Indian IP creation By www.thehindubusinessline.com Published On :: Sun, 20 Oct 2024 21:48:42 +0530 How policy support and monetisation can rev up India’s innovation ecosystem Full Article Science and Technology
sing Demonising Constitutional institutions pastime for some: Vice-President Jagdeep Dhankhar By www.thehindu.com Published On :: Sat, 09 Nov 2024 15:45:09 +0530 Addressing an event of an educational institution in New Delhi, the Vice-President said it is time to "bid adieu to this" Full Article India
sing Delhi Assembly elections | Congress leader Mateen Ahmed joins AAP, AAP leader Harsharan Singh Balli returns to BJP By www.thehindu.com Published On :: Mon, 11 Nov 2024 01:32:23 +0530 Setback for Congress as five-time MLA Mateen Ahmed jumps ship to Aam Aadmi Party, days after his son, daughter-in-law join Kejriwal-led party; former Minister Balli quits AAP and returns to BJP Full Article Delhi
sing Vijay Kumar Singh replaces Subhasish Panda as new DDA vice-chairperson By www.thehindu.com Published On :: Tue, 12 Nov 2024 00:53:13 +0530 Full Article Delhi
sing Innovations in traditional methods revolutionising farming in Rajasthan’s parched Shekhawati By www.thehindu.com Published On :: Tue, 09 Apr 2024 01:11:41 +0530 The decline in the groundwater level is a major issue for agriculturists in all four districts of Shekhawati — Sikar, Jhunjhunu, Churu, and Neem Ka Thana Full Article Rajasthan
sing Most top scientists at ICAR hired through lateral entry since 2007, bypassing reservation norms By www.thehindu.com Published On :: Sat, 31 Aug 2024 06:00:00 +0530 Over 2,700 senior scientists, including HoDs, ADGs, DDGs, are hired through interviews only, sans reservations; those recruited through examinations seek ban on lateral entry, as it creates a “toxic” work culture, blocks advancement Full Article Agriculture
sing Why are tomato prices rising in October: Data By www.thehindu.com Published On :: Sat, 19 Oct 2024 07:00:00 +0530 The average retail prices shot up to ₹65-70 per kilo in the north and the eastern regions in October Full Article Data
sing SAT pulls up Sebi for lack of uniformity in penalising market players By www.thehindu.com Published On :: Wed, 25 May 2016 00:00:00 +0530 Full Article Mumbai Capital
sing Housing.com to post $10 million revenue this year By www.thehindu.com Published On :: Mon, 30 May 2016 00:00:00 +0530 Full Article Mumbai Capital
sing Tata Housing raises $25 m from CDC By www.thehindu.com Published On :: Tue, 31 May 2016 00:00:00 +0530 Full Article Mumbai Capital
sing Singapore Arbitration Centre to open office at GIFT City By www.thehindu.com Published On :: Fri, 03 Jun 2016 00:00:00 +0530 The Arbitration and Conciliation Act lays down a time frame of 18 months for the disputes to be resolved. Full Article Mumbai Capital
sing Shoppers’ paradise lost? Singapore’s malls suffer as locals, tourists curb spending By www.thehindu.com Published On :: Tue, 07 Jun 2016 00:00:00 +0530 Full Article Mumbai Capital
sing Markets fall after rising in opening trade amid unabated foreign fund outflows By www.thehindu.com Published On :: Thu, 17 Oct 2024 10:21:20 +0530 From the 30 Sensex firms, Infosys, State Bank of India, Larsen & Toubro, Reliance Industries, Sun Pharma and Tata Consultancy Services were the biggest gainers Full Article Business
sing Coimbatore car blast: NIA interrogates three accused of raising funds for operation By www.thehindu.com Published On :: Mon, 11 Nov 2024 13:28:18 +0530 The NIA sleuths will interrogate them in custody till November 14, said a source privy to the investigation Full Article Tamil Nadu
sing Stress amplification and relaxation imaging around cracks in nanocomposite gels using ultrasound elastography By pubs.rsc.org Published On :: Soft Matter, 2024, Advance ArticleDOI: 10.1039/D4SM00909F, PaperH. Le Blay, T. Deffieux, L. Laiarinandrasana, M. Tanter, A. MarcellanStress visualization around cracks in NC gels was performed using ultrasonic elastography. Temporal and spatial mapping are performed non-invasively. Over time, the stress gradient is erased by large-scale reorganization of the polymer network.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 Full Article
sing Revealing microscale bulk structures in polymer–carbon nanocomposites using spin-echo SANS By pubs.rsc.org Published On :: Soft Matter, 2024, 20,8663-8674DOI: 10.1039/D4SM00578C, Paper Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.L. V. Tiihonen, M. P. Weir, A. J. Parnell, S. C. Boothroyd, D. W. Johnson, R. M. Dalgliesh, M. Bleuel, C. P. Duif, W. G. Bouwman, R. L. Thompson, K. S. Coleman, N. Clarke, W. A. Hamilton, A. L. Washington, S. R. ParnellSpin-echo small-angle neutron scattering (SESANS) revealed structure in polymer–carbon nanocomposites over multiple length scales with unprecedented range (10 nm–16 μm). Data from two SESANS instruments and other methods were analysed with SasView.The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing Hydrogel-based 3D fabrication of multiple replicas with varying sizes and materials from a single template via iterative shrinking By pubs.rsc.org Published On :: Soft Matter, 2024, Accepted ManuscriptDOI: 10.1039/D4SM00835A, PaperEunseok Heo, Hye Been Koo, Jun Chang Yang, In Cho, Hyun-Hee Lee, Yong-Jin Yoon, Steve Park, Jae-Byum Chang3D printing technologies have been widely used for the rapid prototyping of 3D structures, but their application in a broader context has been hampered by their low printing throughput. For...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing Understanding Polymer-Colloid Gels: A Solvent Perspective Using Low-Field NMR By pubs.rsc.org Published On :: Soft Matter, 2024, Accepted ManuscriptDOI: 10.1039/D4SM01098A, CommunicationLéo Hervéou, Gauthier Legrand, Thibaut Divoux, Guilhem Pablo BaezaThe present work emphasizes the relevance of low-field NMR relaxometry to investigate colloid-polymer hydrogels by probing water dynamics across a wide range of formulations between 10°C and 80°C. By examining...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing Supramolecular chiroptical sensing of chiral species based on circularly polarized luminescence By pubs.rsc.org Published On :: Soft Matter, 2024, Advance ArticleDOI: 10.1039/D4SM00960F, Review ArticlePanyang Chen, Huahua Fan, Sifan Du, Xin Wen, Li Zhang, Minghua LiuChiral analytes can bind to an achiral fluorescent system to generate circularly polarized luminescence (CPL). Subsequently, the CPL signal can be employed to determine the absolute configuration of the chiral substrate.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 Full Article
sing Magnetic colloidal single particles and dumbbells on a tilted washboard moir'e pattern in a precessing external field By pubs.rsc.org Published On :: Soft Matter, 2024, Accepted ManuscriptDOI: 10.1039/D4SM01183J, Paper Open Access   This article is licensed under a Creative Commons Attribution 3.0 Unported Licence.Farzaneh Farrokhzad, Nico C. X. Stuhlmüller, Piotr Kuswik, Maciej Urbaniak, Feliks Stobiecki, Sapida Akhundzada, Arno Ehresmann, Daniel de las Heras, Thomas M. FischerWe measure the dynamical behavior of colloidal singlets and dumbbells on an inclined magnetic moir'e pattern, subject to a precessing external homogeneous magnetic field. At low external field strength single...The content of this RSS Feed (c) The Royal Society of Chemistry Full Article
sing How to Create a CSS Text Embossing Effect By 1stwebdesigner.com Published On :: Tue, 27 Jun 2023 14:09:30 +0000 Embossing is a graphical effect used to give the impression that the surface of an image has been raised or pressed in. In web design, an embossed text effect can give your typography a three-dimensional look and feel, often lending … Full Article Learn Web Design CSS Guides Typography web design
sing Create Neon Style Buttons Using CSS By 1stwebdesigner.com Published On :: Wed, 28 Jun 2023 15:54:19 +0000 CSS truly is a remarkable tool in a web designer’s toolkit, capable of bringing even the most vibrant creative visions to life. Today, we’re immersing ourselves in the radiant world of neon style buttons, showcasing the impressive spectrum of CSS … Full Article Learn Web Design CSS web design
sing How to Animate Gradient Text Using CSS By 1stwebdesigner.com Published On :: Wed, 28 Jun 2023 19:01:08 +0000 Web design takes a captivating turn when CSS comes into play. It enables a world of transformations, such as taking static text elements and infusing them with life. Our focus today is one such engaging transformation – animate gradient text … Full Article Learn Web Design Animation CSS Guides Typography web design
sing Ripple Button Effect Using Pure CSS By 1stwebdesigner.com Published On :: Thu, 29 Jun 2023 14:45:22 +0000 Google’s Material Design guidelines introduced the ripple effect, a subtle animation that indicates user action. The ripple effect rapidly gained popularity in web design as a sophisticated visual feedback form that refines user interaction, particularly on buttons. Today, we’ll show … Full Article Learn Web Design CSS Guides UI Design web design
sing Building a Dictaphone Using Media Recorder and getUserMedia By 24ways.org Published On :: Tue, 17 Dec 2019 12:00:00 +0000 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 Full Article Code apis
sing Raising the bar By www.thehindu.com Published On :: Fri, 09 Sep 2016 19:46:37 +0530 Testing time it was for models from India and abroad during auditions of the Amazon India Fashion Week Spring-Summer 2017. Full Article Metroplus
sing After a 20 year-long wait, Anita Dongre launches her vegan accessory line comprising handbags and belts By www.thehindu.com Published On :: Mon, 30 Jan 2023 21:04:20 +0530 The new line of belts and bags are made from a plant-based, plastic-free material called Mirum Full Article Life & Style
sing Editorial. Monetary easing in the West good news for India By www.thehindubusinessline.com Published On :: Sun, 04 Aug 2024 20:59:50 +0530 But food inflation could hold the RBI’s hand in reversing its interest rate cycle in the near future Full Article Editorial