audio-streaming

How can I get AudioKit to stream an audio file from a remote URL?

元气小坏坏 提交于 2019-12-06 07:38:11
I'm trying to play audio files from URLs in an iOS app (Swift 4). I'd like them to buffer and play while downloading. And I quite like AudioKit, but for the life of me and I can't figure out how to make it read remote files. Any suggestions? You can't find it because its not there. We've never implemented any streaming functionality. It could be added though, and a number of people like yourself would be quite pleased. Consider contributing some code if you manage to work it out. We can offer you membership to AudioKit's Slack group during development if you wish. If you only need to stream

Cracks in webaudio playback during streaming of raw audio data

爱⌒轻易说出口 提交于 2019-12-06 07:21:31
问题 I have a server sending chunks of raw audio over a websocket. The idea is to retrieve those and play them in a way to have the smoothest playback possible. Here is the most important piece of code: ws.onmessage = function (event) { var view = new Int16Array(event.data); var viewf = new Float32Array(view.length); audioBuffer = audioCtx.createBuffer(1, viewf.length, 22050); audioBuffer.getChannelData(0).set(viewf); source = audioCtx.createBufferSource(); source.buffer = audioBuffer; source

How to stream semi-live audio over internet

耗尽温柔 提交于 2019-12-06 07:15:13
I want to write something like Skype, i.e. I have a constant audio stream on one computer and then recompress it in a format that's suitable for a latent internet connection, receive it on the other end and play it. Let's also assume that the internet connection is fairly modern and fast, i.e. DSL or alike, no slow connections over phone and such. The involved computers will also be rather modern (Dual Core Intel CPUs at 2GHz or more). I know how to handle the audio on the machines. What I don't know is how to transmit the audio in an efficient way. The challenges are: I'd like get good audio

Google Cast slow for some streams

本小妞迷上赌 提交于 2019-12-06 06:28:54
问题 I have an Android app which plays live streams from web (mostly icecast) via Google Cast. Everything worked fine and fast, but now it takes much longer time for some streams to start (make sound). This may be somehow related to the Chromecast firmware upgrade as my Chromecast device got updated to the latest version (1.32.124602) recently. This is how I play stream via Cast: MediaMetadata metadata = new MediaMetadata(MediaMetadata.MEDIA_TYPE_GENERIC); metadata.putString(MediaMetadata.KEY

creating multiple audio streams of an icecast2 server using python-shout

青春壹個敷衍的年華 提交于 2019-12-06 05:31:44
问题 I am trying to create a web radio server to stream 3 sources at once. I am using python to create a source client for icecast2 using the python-shout library. I am not too familiar with the language (python). however, i got a sample program which does what i need to and more and i have tweaked it for my need. However, I can only create two streams, and after that, i get the error message shown below. I don't know what i'm doing wrong so i hope you guys can help me figure that out. hostname =

Equalizer from audio data

被刻印的时光 ゝ 提交于 2019-12-06 04:44:52
I have a mp3 file, so I need to play it, and display an equalizer (like in attached image). So playing is not problem, but I have no idea how to measure power of current playing sample's dBs based on frequency. By which steps I can get data for displaying dBs of current sample? As I guess, I need to get some array of powers in different frequencies, am I right? Here is examples of what I want to achieve: https://www.youtube.com/watch?v=7oeb-OIOe-0 https://www.youtube.com/watch?v=PwmUhTDr0Y0 The standard way to transform from time domain to frequency domain is a Fourier Transform . Apple

Soundcloud custom player add and play song dynamically

北战南征 提交于 2019-12-06 04:18:43
问题 I am using soundcloud custom player to create a player which can play all the songs on my site. This works pretty good when i just place static url of any track or a post. But what i want is to add the song to the list dynamically. I have done lots of research but couldn't get it to work. What i want is there would be multiple players through out the site. kind of(http://soundcloud.com) and there would a main player on the top(like soundcloud) which would play around 100 latest songs on site

Noise reduction and compression in streaming audio

不羁的心 提交于 2019-12-06 04:14:54
问题 hope you can help. I am recording audio from a microphone and streaming it live across a network. The quality of the samples is 11025hz, 8 bit, mono. Although there is a small delay (1 second), it works great. What I need help with is I am trying to now implement noise reduction and compression, to make the audio quieter and use less bandwidth. The audio samples are stored in a C# array of bytes[], which I am sending/receiving using Socket. Could anyone suggest how, in C#, to implement

iPhone Radio Streaming for WMA audio files

筅森魡賤 提交于 2019-12-06 02:16:10
I need to implement iphone streaming functionality for WMA audio files from the server. iPhone can support only mp3, wav, aac audio files. But I need to play wma audio streaming for the iphone radio application. Can anyone tell me how to do this things. I really thankful for your help. Thanks in advance. Basically impossible unless you feel like writing your own decoder. The iPhone doesn't support WMA and that's kind of the end of it. I totally agree with Noah Witherspoon. Just adding one step, for handling audio streaming you should look at this Hope this helps. For wma you should use the

How to do streaming with .pls files in android?

百般思念 提交于 2019-12-06 00:58:11
问题 I want to play a .pls file for my android application using this url http://playerservices.streamtheworld.com/pls/VIRGINRADIO_DUBAIAAC.pls I know that it is not possible to play .pls files using MediaPlayer directly.So I parsed this file using a Pls parser and set each url to a media player.But it won't work .Also shows the error error (1, -2147483648) . public class PlayListParser { private BufferedReader reader; public PlayListParser(String url) { try { URL plsFileUrl = new URL(url.trim());