Comments (6)
Hi Wiksnet. Yea, its in a broken branch for a reason. :). What is your testing method. What host? How do the numbers in AUv3 compare with the standalone app? Lets use this issue for further communication, but since this is on-going develop, I'll close this as an open issue.
from audiokitsynthone.
Hello Aure,
Thank you.
I use Garageband and Cubasis 2. iPad 12.9inch, ios: 12.1.3 (16D40). Output: built-in iPad speakers.
- First I compiled app (no difference if I run debug+garageband or just compile app and run garageband)
- Open GarageBand or Cubasis (better garageband, in cubasis for some reason in 50% of cases it worked fine)
- Remove all instruments and add just one Synth One auv3
result... sound is fine, but CPU in the XCode or Cubasis metric control is about 32-45% that seems to be alarming, because the simple use of SynthKit with 1 oscillator usually shows 1% CPU, other auv3 plugins also shows for me 1-5% cpu
- Add second auv3:Synth One instrument
the sound starts to distort very much and the processor shows 75-100% load
it seems as if two synthesizers use one buffer for sound and edit it - but I'm newbie for programming with audio and can't be sure. one thing I am sure for sure. that this should not be so, because adding 4-5 synthesizers just puts down the whole system and GarageBand or Cubasis is hang.
ps...
I tried to record a video today, but for the most cases it worked all day for me :) Only 3-4 times I noticed it. Yesterday it not worked at all in 90% cases. Anyway I'll try to catch it and show you.
Also I went the other way and created an empty new project with added AudioKit framework. Auv3 is running and by pressing a note I just reproduce sound of 1 oscillator using this code:
` //osc
let oscillator = AKOscillator() //Create the sound generator
//master out
AudioKit.output = oscillator //Tell AudioKit what to output
do {
try AudioKit.start() ///Start up AudioKit
} catch {
print(error)
}
oscillator.amplitude = 0.5
oscillator.frequency = random(in: 220...880) //Set oscillator parameters
oscillator.start() //Start the oscillator`
It sound good in garageband/cubasis and cpu:0-1%, but when I'm adding a second auv3, then sound then the sound is very distorted.
Here is private video - https://youtu.be/SDG_x2yAM9E
and also issue with cpu load (this one from "broken" branch*, but for the master cpu load is actually same)
https://youtu.be/8OMlE80o9DM
from audiokitsynthone.
Added project for test - https://github.com/Wiksnet/AudioKit-AUV3-Experiments
ps>the main thing is not to click on the note twice, since I, as a test, made the oscillator initialization on note on
from audiokitsynthone.
Finally catch it - https://www.youtube.com/watch?v=vdrDd3WEmVo
from audiokitsynthone.
Yikes, we definitely got some issues don't we? I'll see what I can do. I think I see what is wrong with your experiment, I'll make a commit there directly.
from audiokitsynthone.
Thanks. Sure. I rather ran into two problems. 1st is a broken/hang sound like on the last video (used code from "broken" branch, nothing has been changed). And the second is that the sound from plugin1 comes out from a second pluging too. Even if I did not press the note on second. - The same issue actually I saw in the "experimentation" branch, in the "broken" branch it seems fixed.
NEW update:
it seems that the problem with the sound freezing is reproduced ONLy when I load the main SynthOne app and then even if I closed it, the sound is distorted in auv3, but again not always :)
from audiokitsynthone.
Related Issues (20)
- Code can't compile on Xcode 11.5 HOT 9
- Feature request: export current preset as Swift code HOT 1
- How do i run this on windows HOT 1
- Disable processing in skinless SynthOne instance(s)
- Support 2-way MIDI mappings HOT 1
- Wrong parameter name in S1ParameterInfo array HOT 2
- The "Documents & Data" of this app is massive (huge filesize) HOT 3
- auv3 support HOT 3
- XCode 12 Ipad IOS 14.4 Swift 5.2.1 compile problems. HOT 2
- Building HOT 3
- hi, when i build project, met this error "Command CompileSwiftSources failed with a nonzero exit code"
- Sequencer Division incorrect HOT 2
- Cutoff Frequency Percentage
- Guidance for porting as a headless application to Linux
- BPM gets reset after saving present HOT 1
- Build Failed HOT 1
- Would be amazing to use it on M1/M2 Macs
- New things in the sequencer for the iPhone app
- Pod Installation (pod repo update / pod install) HOT 3
- Android Port
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 audiokitsynthone.