Comments (4)
已提供import支持,现在可以直接 import Recorder from recorder.wav.min.js
这样写了
from recorder.
试试:直接import,通过window.Recorder调用。没有试过😂,如果可用麻烦反馈一下哈
from recorder.
自问自答
使用webpack开发又不想全局引用的话, 可以使用exports-loader
具体使用如下
import Recorder from 'exports-loader?window.Recorder!../../js/recorder.wav.min.js'
from recorder.
没试过webpack,但还是觉得蛮实用,我把这个issue加到readme里面
from recorder.
Related Issues (20)
- 正在录音时,本地使用audio标签又播放了一个音频,这个音频在播放时我也在说话,此时录音文件只会记录音频,不会有我的说话声音 HOT 1
- 你这个能实现和ChatGpt官方APP实时对话的效果吗 HOT 1
- recwave-Histogram3可视化问题 HOT 3
- 在chrome extension的content js环境中引入1.3.23120800版本的recorder-core不能正常工作,1.2.23070100可以正常工作。 HOT 2
- 以base64编码的PCM音频流转成wav播放后都是噪音 HOT 9
- 如何获取到类似 const stream = await navigator.mediaDevices.getUserMedia({ audio: true });的媒体流 HOT 2
- 大佬请教一个问题 HOT 1
- 覆盖导入Recorder HOT 1
- 继续录音的时候onProces不会触发
- Failed to construct 'AudioContext'
- 调用Recorder.GetContext(true)得到的不是running状态的AudioContext, 而是suspended HOT 1
- Cannot read properties of undefined (reading 'i18n') HOT 2
- getUserMedia的audio值能设置成扬声器吗? HOT 3
- 默认播放一个背景音乐,当打开麦克风后背景音乐会转为听筒或者声音变得特别大在IOS中
- 请问每次录音第一次都不成功,第二次才成功录上怎么解决 HOT 2
- Open方法回调需要经过200ms多延时? HOT 3
- 发现同时多次调用open
- 如何自定义apiRequest HOT 1
- ios每次都要重新授权 有遇到吗 HOT 2
- Cannot read properties of undefined (reading 'input') HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recorder.