Search found 65 matches

by knutolai
Wed Oct 24, 2018 12:21 pm
Forum: FV-1 software questions
Topic: Error/typo in spinASM cheatsheet
Replies: 2
Views: 3207

Error/typo in spinASM cheatsheet

Hi Admin

I think I found an error in the cheatsheet document:
http://www.spinsemi.com/knowledge_base/cheat.html

The RDFX instruction formula looks different in the manual and in the cheatsheet. Which one is the correct one?

Acc + (reg-acc)*k1
Vs
Reg + (acc-reg)*k1
by knutolai
Mon Jul 16, 2018 11:06 am
Forum: Algorithm development
Topic: Idea - Audio ADC as a digital input
Replies: 6
Views: 6137

Idea - Audio ADC as a digital input

So I have a pedal concept where a switch parameter (on/off parameter) for the FV-1 would be useful in addition to the 3 knob parameters. The hardware I have available includes an ATTINY microcontroller (basically a small arduino) that runs on the same supply voltage (3.3V) as the FV-1 chip. My idea ...
by knutolai
Sun May 13, 2018 10:34 am
Forum: FV-1 software questions
Topic: SpinASM Output Window not appearing [FIXED]
Replies: 1
Views: 2628

SpinASM Output Window not appearing [FIXED]

Hi I've been running SpinASM on a windows 10 computer for a few months and today the Output Windows has stopped appearing after I build projects (Project dialog). I've looked everywhere, but I can't figure out how to enable the Output Window. I've tried reinstalling SpinASM without any luck. Have ne...
by knutolai
Tue Oct 17, 2017 1:28 am
Forum: Algorithm development
Topic: Exact timing couter
Replies: 5
Views: 4501

Ah yes that makes sense. But shouldn't I set limit to 32768*256 since I want the "ref" register to be in the range of 0 to 32767*256 for writing to the ADDR_PTR register? Since I'm using a NEG skip, if 'ref = 32768*256 = limit' the outcome of the reset function would be 'ref = 0' right? cl...
by knutolai
Mon Oct 16, 2017 12:50 pm
Forum: Algorithm development
Topic: Exact timing couter
Replies: 5
Views: 4501

Thank you Frank for your reply I forgot to specify something in my original post. The reason why I'm multiplying by 256 is that I don't just wish a 1 second counter, I wish for the "ref" register to contain a value I can load into the ADDR_PTR register to access the specific sample at any ...
by knutolai
Sun Oct 15, 2017 3:38 am
Forum: Algorithm development
Topic: Exact timing couter
Replies: 5
Views: 4501

Exact timing couter

Consider a program where an audio snippet is endlessly looped in a 1 second buffer: mem buffer 32767 ; 1 second delay when run w 32768 hz clock equ feedback reg0 ldax adcl rdax feedback wra buffer, 0 rda buffer#, 1 wrax feedback, 1 wrax dacl, 0 I wish to store the memory address of one specific samp...
by knutolai
Wed Sep 13, 2017 4:37 am
Forum: Algorithm development
Topic: Indicator LED connected to DAC
Replies: 3
Views: 4172

Thank you Frank! I'm driving the LED directly with the output from DACR: DACR -> Resistor -> LED -> Ground I've read elsewhere on the forum of people using a LED driver solution where DACR connects to the gate of a NPN transistor that switches the LED on or off. Is there any reasons to not driver th...
by knutolai
Tue Sep 05, 2017 12:31 pm
Forum: Algorithm development
Topic: Indicator LED connected to DAC
Replies: 3
Views: 4172

Indicator LED connected to DAC

Hey So I'm writing a program where I use DACR to display a waveshape. Everything is working flawlessly but whenever DACR outputs a value close to 1 or -1 the clip LED lights up. Is this in any way harmful to the chip? I'm guessing "no", but I always get the vibe that when a clipping indica...
by knutolai
Wed Aug 09, 2017 2:35 am
Forum: Algorithm development
Topic: Knob variable power function?
Replies: 4
Views: 7293

The quick and maybe-not-so-dirty solution would be to crossmix between the "pure sine wave" and the "sine wave to the highest power you want available". I did a simulation in GeoGebra. You wont get the exact curve of the powers inbetween, but I doubt you'll notice much difference...
by knutolai
Fri Aug 04, 2017 1:37 pm
Forum: Algorithm development
Topic: Change reading speed of sample
Replies: 7
Views: 6916

got around to test the concept. It does work. No need to deal with the ramp function. The sound will get very grainy as you slow it down. Nice spooky vibe when playback is done in reverse at half (or quarter) tempo. Octave down stuff.
by knutolai
Sat Jul 22, 2017 4:40 am
Forum: Algorithm development
Topic: Change reading speed of sample
Replies: 7
Views: 6916

hey Have been thinking about this application myself. Why not just do away with the ramp oscillator and increment and reset addr_ptr position directly? Something like this: -Set address increment size (pot ctrl) -Increment read address -If read address is beyond delay buffer length (NEG or >32768) A...
by knutolai
Wed Jun 28, 2017 3:31 am
Forum: FV-1 software questions
Topic: Reverse delay?
Replies: 47
Views: 94908

The delay time goes from 0.1 to 1.0 times the pot setting. So the minimum would be 100 msec at 32 kHz if you allocated the whole memory for this. A 50 msec fade is probably fine. The minimum "read window" would be 100 msec, but that translates to 50ms of reverse delay. The problem might b...
by knutolai
Wed Jun 21, 2017 3:21 am
Forum: FV-1 software questions
Topic: Reverse delay?
Replies: 47
Views: 94908

Reviving an old thread! I wrote this code that gets you 500 ms of reverse delay. The delay time, or rather the size of each reversed segment can be adjuster with POT0. The program uses a counter to increment ADDR_PTR to read though the delay buffer at double the speed of the audio samples (creating ...
by knutolai
Sat Jun 17, 2017 6:27 am
Forum: FV-1 hardware questions
Topic: Crystals wont oscillate
Replies: 7
Views: 6229

The no-clean flux arrived and it seems to have solved the issue. Thank you thank you thank you!
by knutolai
Sat Jun 17, 2017 6:07 am
Forum: FV-1 software questions
Topic: Program Length / Instruction Limit Question
Replies: 1
Views: 2834

Program Length / Instruction Limit Question

The FV-1 is limited to preform 128 instructions per clock cycle. Can a program contain more than 128 instructions if it's structured in such a way that no more than 128 of the instructions are required each cycle? e.g. set X negative or positive with a pot if X is negative: perform 100 instruction p...