Questions tagged [superpowered]

Use this tag for questions about the usage of the API of the audio engine. If the issue is related to a certain platform make sure to add that tag that as well.

SuperPowered claims to be the fastest Mobile Audio Engine for Games, VR, Music and Interactive Audio Apps Low Latency Audio.

It is Cross Platform for Android, OSX and iOS.

Find the documentation on the official website

117 questions
0
votes
0 answers

Superpowered loop or loopBetween not working as expected

I've modified the JS timestretch example to loop, but am not getting any audio out with loop() or loopBetween(). player.play() plays the whole file. I can force it by polling getPositionMs and setPosition in the process loop, but that's a hack.…
0
votes
1 answer

Blazor and the Superpowered Web Audio SDK, how to return the arrayBuffer to C#

First of all, apologies for such an open question. I think this question comes from a lack of understanding of WASM and the nature of JSInterop in .Net. I just wanted to reach out to anyone who has used the Superpowered Web Audio SDK with Blazor and…
0
votes
1 answer

Re-Record audio using superpowered SDK

I am using a superpowered recorder for recording, I am recording audio then adding track, So adding the track if I edit the first track and rerecord on first track it's mixing the audio with the old one instead of overwriting the audio. Is there any…
Nilam Vaddoriya
  • 433
  • 2
  • 10
0
votes
1 answer

Rust bindgen clang error, incompatible constant for this __builtin_neon function

Trying to generate bindings for an Obj-C++ header which is a part of Superpowered crossplatform audio library with rust bindgen. I am in Catalina 10.15.6, clang version 10.0.1 Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir:…
Ali Somay
  • 585
  • 8
  • 20
0
votes
0 answers

How to record audio with Superpowered SDK on Android Q?

I want to record audio with Superpowered SDK on my rooted Android Q device. As Google has put some restrictions on recording Audio on Android Q so I am trying to port Superpowered SDK Android Example into a Linux executable that I can run on system…
Vatish Sharma
  • 1,536
  • 3
  • 16
  • 35
0
votes
3 answers

SuperpoweredAdvancedAudioPlayer cannot open "ipod-library" path in iOS13

SuperpoweredAdvancedAudioPlayer cannot open "ipod-library://item/item.m4a?id=PERSISTANT_ID". Was this path prohibited? I'm having trouble playing Music.app songs. There was no problem with iOS12. Can't play with this path from iOS13. macOS 10.15…
Hada
  • 11
0
votes
3 answers

How to play multiple players simultaneously with Superpowered

I am trying to make a basic mixer app, which will involve up to 4 sounds playing at the same time. Here is the class I am using to achieve this: #define log_print __android_log_print static SuperpoweredAndroidAudioIO *audioIO; static…
Connor S
  • 353
  • 2
  • 12
0
votes
2 answers

Superpowered - export to file with Mixer and Decoder problem (different sampleRates and samplesPerFrame)

I am trying to mix user's voice with music and save it to a file. I created 2 Decoders - 1 for voice and 1 for music and put them into Mixer's input. I decode each frame and save it to file using FILE/createWAV/fwrite. Everything works perfectly…
Dev_IL
  • 252
  • 1
  • 15
0
votes
1 answer

Superpowered Sdk- write changed audio effected file to external storage

I need to write the output file in external storage with applied effects but don't know how to do this. Any help will be highly appreciated to make audio output mp3 or mp4 file with effects. I have successfully done the pitch change of real time, I…
nidhi
  • 337
  • 1
  • 16
0
votes
1 answer

Can Superpowered be used to output 5.1 or 7.1 surround sound?

I'm experimenting with Superpowered on tvOS. I'd like to be able to output audio to more than just two stereo channels. Is this possible using the Superpowered SDK? So far, what I've tried is modifying the included tvOS example as follows: In…
Alan Kinnaman
  • 877
  • 12
  • 20
0
votes
1 answer

get current position / time of file in superpowered decoder while decoding

While decoding file using superpowered i get samplePosition but i want current position in miliseconds / seconds. samplePosition is the current position in samples. but what i actually need is current position in milliseconds. while decoding i want…
Kathan Shah
  • 1,655
  • 17
  • 25
0
votes
1 answer

Combine Mono and Stereo Input with Superpowered Player

I have 3 files, two are mono, one are stereo. I want to play them together. Currently my code is like this but seems the output is not correct. bool silence = !player1->process(stereoBuffer, false, numberOfSamples, vol); silence =…
tsengvn
  • 88
  • 5
0
votes
1 answer

AudioUnit output buffer and input buffer

My question is what should I do when I use real-time time stretch? I understand that the change of rate will change the count of samples for output. For example, if I stretch audio with 2.0 coefficient, the output buffer is bigger (twice). So,…
0
votes
1 answer

How to use Superpowered TimeStretching in realtime in AUInternalRenderBlock

I try to use SuperpoweredTimeStretching in AU render block. For example on one channel for simple code. I don't change speed of audio at this moment (so, I don't need use "circular buffer" or something like this - count of in and out samples in…
Ruslan
  • 67
  • 1
  • 6
0
votes
1 answer

Supwerpoered SDK AdvanceAudioPlayer Seek is not working on Android

working with SuperpoweredAudvanceAudio Player to seek position when playing file. seeking is done from android context. i checked CrossExample of Android and it reflects me that seek operation is done in LoadSuccess callback, which seems to be…