Is there a way to automate audio file include?
See original GitHub issueIāve managed to get audio playing, but Iām striving to make includes to the project automated.
Iāve got this in my package.json to automate font includes from my src/assets/fonts
folder
"rnpm": {
"assets": [
"src/assets/fonts"
]
}
This puts files into Resources folder. Unfortunately it doesnāt seem like Sound
can play from there. Could you suggest something (if possible) to have similar flow for src/assets/audio
folder. If not, is it possible to include audio file from src folder as opposed to native?
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
How to make a volume automation clip in FL Studio ... - YouTube
How to make a volume automation clip in fl studio 20 for audio and midi, Yes annoyingly due to how FL studio works...
Read more >What Is Mix Automation? Everything You've Been Too Afraid ...
The most popular use of automation in mixing is to adjust the volume of a track. For example, it allows you to bring...
Read more >Automation in the Logic Pro Audio Track Editor - Apple Support
Show automation in the Audio Track Editor. In the Logic Pro Audio Track Editor, click the Show/Hide Automation button in the Audio Track...
Read more >Automate mixes with envelopes in Adobe Audition CC
Envelopes are nondestructive, so they don't change audio files in any way. If you open a file in the Waveform Editor, for example,Ā ......
Read more >Automation Clips - Playlist - FL Studio
There are several ways to create an Automation Clip: ... VST/AU plugin controls - There are two methods; Prefer 'Last tweaked' unless that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@benvium
Android asset support can be accomplished by adding this to the start of the
RNSoundModule.createMediaPlayer
function:And then from JavaScript, doing:
Of course, this isnāt that much different from using the
android/app/src/main/res/raw
directory, as mentioned in the Readme. But I like this slightly better, because the assets folder preserves the original filename and folder structure. This is nice for when you want the user to be able to reference the files manually. (as is true in my app)Does the trick now, looking forward for Android support, I think this is really neat feature š