Search found 338 matches
- Tue Mar 26, 2024 2:33 pm
- Forum: Algorithm development
- Topic: Need help with log for 1/X block
- Replies: 6
- Views: 912
Re: Need help with log for 1/X block
Hi Frank, My code is actually working. I think there's probably something wrong with the SpinCAD simulation of either log or exp. I went back to the actual board. I dropped in two oscillators panned L/R that I programmed for about 4000 Hz. Then I added the ratio block, set ratio to 5, and sent the o...
- Tue Mar 26, 2024 11:25 am
- Forum: Algorithm development
- Topic: Need help with log for 1/X block
- Replies: 6
- Views: 912
Re: Need help with log for 1/X block
>>> LOG2(0.3333) is -1.584964 -1.584964 * -1.0 = 1.584964 1.584964 -0.0990601562950722 = 1.485904 EXP2(1.485904) = 2.800926 2.800926 > 1.0 so saturate to 1.0 >>> Hi Frank, I think what is missing here is the /16 step. 1.584964/16 = 0.09906025. That's pretty close to the 0.09906015-etc. and may be do...
- Tue Mar 26, 2024 7:43 am
- Forum: Algorithm development
- Topic: Need help with log for 1/X block
- Replies: 6
- Views: 912
Re: Need help with log for 1/X block
Thanks Frank, it turns out that my example is really exactly the same as the one in the knowledge base. And while the description there is correct, it is very dense (for example some of it is explaining intermediate results of the LOG instruction, which is not obvious at first). I'd better write dow...
- Sun Mar 24, 2024 10:07 am
- Forum: Algorithm development
- Topic: Need help with log for 1/X block
- Replies: 6
- Views: 912
Need help with log for 1/X block
I've always been really bad at the log/exp functions. Here's what I'm trying to do. I want a control that operates over a given range of the pot, but does not go to zero. For example. if the ratio is 2, then pot 0->1 is output 0.5->1.0. For a ratio of ten, Pot 0->1 maps to 0.1->1.0. Now I also want ...
- Mon Mar 04, 2024 9:07 am
- Forum: Algorithm development
- Topic: Reverse engineering the auto-wah
- Replies: 7
- Views: 15219
Re: Reverse engineering the auto-wah
I shut down the Patreon site.
Article is now here.
https://holy-city-audio.gitbook.io/spin ... k-detector
Article is now here.
https://holy-city-audio.gitbook.io/spin ... k-detector
- Sun Sep 03, 2023 9:07 am
- Forum: FV-1 software questions
- Topic: New support site for SpinCAD Designer
- Replies: 3
- Views: 33734
Re: New support site for SpinCAD Designer
I had a Patreon thing going for awhile but discovered it's really bad for documenting software. I moved everything over to Gitbook which is really good for documenting software. I haven't put descriptions in for everything, and who knows, I may never get around to doing it, but here it is anyway. ht...
- Thu Jan 05, 2023 3:17 pm
- Forum: Algorithm development
- Topic: Attack/decay algorithm question
- Replies: 4
- Views: 10691
Re: Attack/decay algorithm question
Makes sense!
Thx.
DL
Thx.
DL
- Mon Dec 19, 2022 9:31 am
- Forum: Algorithm development
- Topic: Attack/decay algorithm question
- Replies: 4
- Views: 10691
Re: Attack/decay algorithm question
Thanks Frank! Another question on MAXX:
I get why you'd use C = 1.0 or 0 < C < 1.0 but I'm having a hard time imagining the application for C < 0 or C > 1.0 UNLESS it was simply used for some kind of comparison without subsequently writing the value back to the same register.
DL
I get why you'd use C = 1.0 or 0 < C < 1.0 but I'm having a hard time imagining the application for C < 0 or C > 1.0 UNLESS it was simply used for some kind of comparison without subsequently writing the value back to the same register.
DL
- Fri Dec 16, 2022 3:54 pm
- Forum: Algorithm development
- Topic: Attack/decay algorithm question
- Replies: 4
- Views: 10691
Attack/decay algorithm question
I've been messing around with the MAXX instruction recently, doing a peak detector for a customer's auto-wah. I finally realized that this instruction includes a low pass filter in it. Many of the discussions about the coefficient simply say "long" or "short" and while it's most ...
- Sat Sep 24, 2022 12:50 pm
- Forum: Algorithm development
- Topic: Reverse engineering the auto-wah
- Replies: 7
- Views: 15219
Re: Reverse engineering the auto-wah
Well, I was trying to let the suspense build a bit so people would come pay to find out (as there is a more in depth analysis at https://www.patreon.com/posts/spin-auto-wah-i-69482282). But here's a summary of what I came up with. When the Sensitivity pot is at zero, the output is 1. When the Sensit...
- Sun Jul 24, 2022 12:51 pm
- Forum: Algorithm development
- Topic: Reverse engineering the auto-wah
- Replies: 7
- Views: 15219
Reverse engineering the auto-wah
This code comes from the ga_demo_wah code. I'm just going to go a step at a time because this is seriously strange stuff and I believe it exposes but does not really explain some very powerful strategies that might come in handy from time to time. Here's the first bit. absa rdfx avg, 0.01 wrax avg, ...
- Fri Jul 22, 2022 7:57 am
- Forum: Algorithm development
- Topic: WRLX and WLHX coeffient equations
- Replies: 9
- Views: 17961
Re: WRLX and WLHX coeffient equations
Thanks Frank, sorry if I was grumpy. As I haven't been doing this day-in day-out for a number of years I am indeed rusty on it. :cry: :( As a contribution to the effort rather than just complaining I offer this handy link where people, upon encountering RDFX REG0, 0.01 WRAX REG0, 1.0 you can just pl...
- Wed Jul 20, 2022 9:59 pm
- Forum: Algorithm development
- Topic: WRLX and WLHX coeffient equations
- Replies: 9
- Views: 17961
Re: WRLX and WLHX coeffient equations
Yeah I'm trying to go back to basics and am really scratching my head. I think the biggest issue is that several different filter topologies are shown, but there's nothing that says, ALL IN ONE PLACE, - this is what the RDFX instruction is doing. - here's how to calculate the frequency. I've managed...
- Tue Jul 19, 2022 8:04 am
- Forum: FV-1 software questions
- Topic: New support site for SpinCAD Designer
- Replies: 3
- Views: 33734
Re: New support site for SpinCAD Designer
I got a little excited and put a right curly bracket in the wrong place. This kept the simulator from running if the scope was not enabled. But I fixed it! https://github.com/HolyCityAudio/SpinCAD-Designer/releases - Fixed introduced bug (build 1030) in simulator. Simulator again works whether or no...
- Sat Jul 16, 2022 2:47 pm
- Forum: FV-1 software questions
- Topic: New support site for SpinCAD Designer
- Replies: 3
- Views: 33734
Re: New support site for SpinCAD Designer
First significant update in 6 years!
https://github.com/HolyCityAudio/SpinCA ... /0.98-1030
Thanks,
DL
https://github.com/HolyCityAudio/SpinCA ... /0.98-1030
Thanks,
DL