Comments (4)
Hi, we ran into a similar issue while working on a modified version of SynthOne's code. The issue was an access violation at the following line of S1NoteState::init()
oscmorph1->enableBandlimit = getParam(oscBandlimitEnable);
The program was trying to access a memory address 8 bytes right of a 40 bytes memory area (which corresponded to the sp_oscmorph2d
structure).
We found out that there are two conflicting definitions of sp_oscmorph2d
. The structure is defined in oscmorph2d.c:
typedef struct {
SPFLOAT freq, amp, iphs;
int32_t lphs;
sp_ftbl **tbl;
int inc;
SPFLOAT wtpos;
int nft;
} sp_oscmorph2d;
And also in AudioKit's soundpipeextension.h:
typedef struct {
SPFLOAT freq, amp, iphs;
int32_t lphs;
sp_ftbl **tbl;
int inc;
SPFLOAT wtpos;
int nft; // number of waveforms
int nbl; // number of bandlimited tables per waveform
float *fbl; // array of frequencies per bandlimited waveform
int enableBandlimit; // if 0 use index 0, if 1 select index based on freq
int bandlimitIndexOverride; // temporary
} sp_oscmorph2d;
I don't know if this is a bug, but I just though I'd share this in case it helps someone.
Cheers
from audiokitsynthone.
Hi @aure Did this get fixed?
from audiokitsynthone.
@cmaughan pictune's explanation is right. The extension version is the correct one as it has enableBandLimit.
from audiokitsynthone.
Hi @aure - thanks, but my point was really that the bug was closed without actually fixing it; the one in situ is incorrect. So the next person who comes along also gets confused.... Would be nice to fix the code to have the right version.....
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.