Page 8 of 8
Re: how to add offset
Posted: Wed Sep 10, 2014 4:01 pm
by tester
I loaded large wav file into your schematic (in FS304), deleted the wav, and saved the schematic. 1kB or less difference. So I don't know what else to suggest. I would uninstall the FS (removing all system files it left behind), and install again, maybe something is broken.
Re: how to add offset
Posted: Wed Sep 10, 2014 4:13 pm
by tester
I'm trying to implement your "Custom wave read 2.fsm" into my project. I'm lost with something. In custom wave read - for offset, you use large value, 200000. I thought that this node is for adding small offsets (few samples), for interpolation needs, and time shift (large offsets) is applied to counter? What am I missing?
Re: how to add offset
Posted: Thu Sep 11, 2014 12:10 am
by KG_is_back
tester wrote:I'm trying to implement your "Custom wave read 2.fsm" into my project. I'm lost with something. In custom wave read - for offset, you use large value, 200000. I thought that this node is for adding small offsets (few samples), for interpolation needs, and time shift (large offsets) is applied to counter? What am I missing?
Actually both index(int) and offset(float) can be of any size. Offset is internally converted to int and added to the index, so the custom wave read can operate both on integer and float index input simultaneously.
In my test schematic, the sound started a little later after the wave start (there were few seconds of silence) so I made the offset very big, to shift the starting point.
Re: how to add offset
Posted: Thu Sep 11, 2014 12:50 am
by tester
Can you check it on continuous wave file with no silence? For some reason it did not crossfaded here (was a gap).
Re: how to add offset
Posted: Thu Sep 11, 2014 1:25 am
by KG_is_back
tester wrote:Can you check it on continuous wave file with no silence? For some reason it did not crossfaded here (was a gap).
works perfectly down here...
Re: how to add offset
Posted: Fri Sep 12, 2014 12:38 am
by tester
It isn't working here (I also checked in raw upload/schematic). Or did I miss something? Attaching with test wav inside.
End is simply cut, fade-in starts.
Re: how to add offset
Posted: Tue Sep 16, 2014 2:06 pm
by KG_is_back
tester wrote:It isn't working here (I also checked in raw upload/schematic). Or did I miss something? Attaching with test wav inside.
End is simply cut, fade-in starts.
The crossfade is added AFTER the loops end. First oscillator cycles from loop start to loop end. Once it reaches loop end (length), it resets to the start (in this case 0). That's when the second oscillator comes in and continues to read data AFTER the end of the loop until crossfade is finished.
To make the thing loop particular part (so that the crossfade never exceeds the loop) just subtract crossfade length form the loop length.