Page 1 of 1 1
Topic Options
#1659781 - 05/18/20 09:51 PM Code
randygo Offline
Planeteer


Registered: 10/11/06
Posts: 334
Loc: Washington
RDAC to WAV conversion code here: https://github.com/randygordon
Top
#1661941 - 05/27/20 03:59 PM Re: Code [Re: randygo]
luco Offline
Planeteer


Registered: 03/08/14
Posts: 87

hello, what is this code? what is it used for ? thank you

Top
#1664246 - 06/07/20 12:32 AM Re: Code [Re: luco]
martinsavoie Offline
Space Cadet


Registered: 04/10/20
Posts: 23
go read this thread

http://www.vsplanet.com/ubbthreads/ubbthreads.php?ubb=showflat&Number=13241#Post13241

Top
#1670633 - 07/13/20 07:38 AM Re: Code [Re: martinsavoie]
mutetourettes Offline
Planeteer


Registered: 02/10/13
Posts: 38
Hi Randy, Does anyone have the source code for VSWE any more?

in 2013 I did some stuff to add VSR mode to its capabilities for reading from internal VSR880/VS890 hard disks but had Danielo's unrealesed version to work on, which would (and still does) trigger all kinds of antivirus alerts because he built in some fancy abilities to package itself as exe files etc etc

I was sad that the file I was sending out seemed so dodgy! Also I guess it's still something that's needed.

Anyway I no longer have VB6 available, and don't have a VSR either, so I very rarely come by here. A few people had my fudged version of (the unreleased) VSWE 1.25 (the one with the exe ability, and virus triggers). I think my email now refuses to even send it!! Users Bear, Ptr, Frans at least had it, there were others too and it was reported as working fine.

If someone has the old source code, and VB6, the changes are as follows (I think) - it would be good to make a virus-clean version for VSR-mode users!

here's from an old email to Danielo:

Hi Daniel - It turns out that the VSR files are indeed just MTP files with a strange subtraction transformation at the end, that Randy figured out long ago.. \:\)

// VSR mode is like MTP, but seems to need this bit of post-processing.
for (j=0;j<16; j++) {
if (out[j] >= 65536) out[j] -= 65536;
else if (out[j] <= -65536) out[j] += 65536;
else out[j] = 0;

So I've added a few lines of code into VSWE after it recieves the decoded chunk from the dll, no change at all required in RDAC.dll itself.

there's also quite a few changes here and there in VSWE so that it can consider VSR files (format no.7) without complaining... (ie adding case 7 to your lists)

here's another bit of an old email:

quick bodge to read vsr format files:
' in modexport/exportphrase and modwaveout/ReadClusterAs16bitWave
' extra lines from randy with +/-65536 adjustments for VSR
'
' also clsVSProject/format - clause for vsr mode
' also bitdepth, bytesperframe and samplesperframe
' alsofrmMain/isexportselectionvalid added vsr
'

Also I can't remember if VSR880 gives VR7 or VR6 or whatever - this was in my experiments but .VR6 might be for VS1880, I think VSR880 is .VR7 I can't remember:

' and also force vswe to pick up vr6 files in main screen:
' in SubEntryByName/clsDirectoryEntry
' If EntryName = "SONGLIST.*" Then
' EntryName = "SONGLIST.VR6"
' End If

Hope someone can pick up the ball and make a clean working VSR-friendly VSWE!!



Edited by mutetourettes (07/13/20 07:55 AM)
Edit Reason: more code pointers

Top
#1670909 - 07/14/20 03:04 PM Re: Code [Re: mutetourettes]
simpleton Offline
Space Cadet


Registered: 06/12/20
Posts: 10
Hi mutetourettes, I was curious about this as well. I was able to get the original VSWE .exe working but it took a bit of work. I too was wondering if the source code was still available and if it would make sense to just re-code it in something more modern like Java or Python or... (anything but VB6!). Not sure if there are strict dependencies on VB6 or not, but seems like there shouldn't be. Has anyone thought of doing this yet?

If not, I am a Java programmer and would be happy to take a crack at it. Perhaps I could get a Github setup and anyone else able to work on it can do so. But I agree getting something more modern out there that does not trigger anti-virus alerts and has dependencies on a decade-old .dll file no longer packaged with Windows would be a great idea!

Top
Page 1 of 1 1


Hop to:
Shout Box

Who's Online
2 registered (Wish, 1 invisible) and 8 anonymous users online.
Top Posters
53071
Jazzooo
48393
Al
40367
Timster
40001
Silversmith
37359
Ismellelephant
32942
Tom Mix
31121
Mooseboy
29935
Popmann
29890
gonzo
28773
NOK
28706
moontan
28701
C Jo Go
26613
flatcat
26541
Doughboy
24298
Marty Gilman
23691
paulb
23376
RGR
21705
Gretsch 6120
21692
fabulousthunderbird
21125
fonts
19798
Vanillagrits
19598
vvvm
19466
String Jammer
19436
glensimonds
18923
T57Strat
18894
GAMBLE
18791
Jammer
18182
SteveW
17935
JazAddict
17600
GAWZDigitalUnderground
17522
Geo
17300
Hano
16905
Dave Morris
16566
Slabraton
16448
Liquidirt
16212
slotz
16175
Delso
16112
Milkman
16077
ulank
Forum Stats
21240 Members
25 Forums
144831 Topics
1671372 Posts

Max Online: 290 @ 11/19/19 07:32 PM
Newest Members
Mud303, dzintarsat, Sergiob, BEVS, sfehn
21240 Registered Users

Generated in 0.008 seconds in which 0.003 seconds were spent on a total of 13 queries. Zlib compression disabled.