File Export
-
If people really want a print out to go on the wall then give enough money to anyone with a dev unit and I'm sure they'll oblige...
-
@Martin It wouldn't be too difficult to generate a MIDI file using Fuze. These files are not particularly long ( if you keep to a few bars !) and could form the basis of a simple music teaching program. The MIDI file could be exported to a synth or PC program for 'polishing'. Just an example of the use of an export function. I'm not sure how long the exported files from Korg Gadget are, but the QR code seems to accommodate them ok.
Just a thought... -
Would need to know if the QR code holds the Korg exported files directly or if they hold a server-side link that pumps out the data.
-
I'm sorry, but I'm really at a complete loss as to why an export function is such a bad idea.
I've been writing code in various languages for the past fifty years - yes 50 years. From the PDP 8 onwards.
I have taught Computer science in Uni and FE colleges up and down the country using COBOL, Fortran, AutoCad, C+, Python, 6502, Z80, 8086, 8085 etc
I was Head of Computer Training at RAF Henlow 1982 - 1983 where I completed my CertEd.
I am also a published author of Programming on the Psion 3.
In the early 80's I assisted in the development of the Tangerine home computer.
I have taught Computer Science to Ford Motor Company, BT, Post Office, DLR and London Underground.
The one thing I've learnt over the years is that an external save and/or a hard copy is essential.
I shall continue exploring any option I can find to facilitate a file export function - simply because I will find it useful. -
@faz808 I don't think anyone was saying it is a bad idea. If you want to have a go at implementing QR code in Fuze I am sure that it would be possible. It would be much easier if it was implemented in the language using a library but given the priorities at the moment it could be a way off. Sorry if you thought that we were dismissing the idea
-
Version 40 QR Code can hold up to 1852 chars. The information encoded can be Text or any other suitable Data (not confined to URLs) eg MIDI files, short code segments etc.
A 50 line Fuze program is about 1.5 k and I agree anything longer than this could be a bit of a stumbling block, but breaking the code up into 1 k chunks could work.
As an aside, I put the Nintendo Switch into flight mode and Korg still generated a QR code which was readable so no server-side link was needed. This was a very long music sequence by the way.
Thanks and please keep safe.
John -
This is a bit over the top but it's a sort of a start. Not sure where I'm going with it but what the heck....
qr_generator ID: 5KQE2MND15 -
@faz808 I did my own experiment (NX29DHMDNN). Would you like to collaborate on this or are you happier doing your own thing?
-
@faz808 I know this is off topic, but what an amazing resume! I bet you've got some stories to tell :)
-
@pianofire Only just seen your reply.
Your QR took a little longer to register than mine. I'm not sure why. My 3 alignment "icons" are slightly thicker if you know what I mean. Your outer outline seems thinner when scanned. How did you extract the 1's and zeros's? I manually went across each of the 21 rows pressing 1 or 0 and then converted the binary string to hex.
I'm not sure where to go from here. I contemplated extending it to the next stage - from the present 18 characters - but it starts getting difficult.
I've tried sending Morse Code by flashing a white box but that was a flop - >50% success with a four letter word !
OCR works great if you want a screen dump to text but that's not what I was aiming for.
I'm going to get stuck into the QR Code Wiki and see if I can learn anything. Looks a bit complicated but maybe, just maybe something might click. There's now doubt that Fuze can handle the maths if I could only get my head around it.
Any thoughts? -
I of course meant <50% success …..
-
@Spacemario Yes, sir. You can say that again.... If you want to know anything about Z80, 6502, 68000 I'm your man. If I knew as much about Make files and C+ syntax as I do about machine code programming I'd be wealthy. Actually that's given me an idea for a 8086 assembler written in Fuze. Looks like a new project could be taking shape ……..
-
Instead of QR codes, why not use audio?
-
@toxibunny The Sinclair Spectrum used audio to send/receive data to a tape recorder back in the eighties. 2000 Hz for a 1 and 1000 Hz for a zero I believe. There is a Wiki page describing it in detail. The problem is the receiving side of things.
I used to have a copy of "The Spectrum Rom Disassembled", a book which contained a disassembled listing for the main rom with a full explanation for each part - including the tape interface code. Some game publishers had an interesting protection scheme which involved summing all the bytes in the opening screen and xor'ing the result with the incoming data to produce the run code. This was easily overcome by writing a small piece of your own code somewhere and doing the xor etc before the main data came in. Cat and mouse. Whatever was tried was cracked by someone. Happy days.
Went off track there a bit. Anyway, audio is probably too difficult for file transfer. -
@faz808 I did it by hand as well. So far all I have done is look at the wikipedia page and some code I found on the internet. I am quite interested in doing it if only as an academic exercise. It seems to get more complicated with the later versions (and bigger messages). Perhaps I will see if I can get a small one working first and see where it goes from there.
-
At least one of the methods being discussed was already rejected (not internally). I wish I could say more but it's under NDA. I'm genuinely not trying to be awkward or funny or anything there but we aren't always allowed to go into detail.
-
@faz808 i agree to this as a systemsintegrator its very important to have a external backup.For example if there is a fire in a datacenter.
-
I wish we could get programmatic access to Fuze's clipboard. That would make any attempts to write our own export functions (be it QR codes, sound, or whatever) more useful, and also it would open up the possibility of writing one's own music editors, sprite editors, etc., and then use the generated data in another program.
Any plans for this in the future?
-
@pianofire With a joint effort I think this may be doable. Back to the Wiki page ...
-
Not sure if we're allowed to give external links but this looks interesting and may be the answer...
https://www.thonky.com/qr-code-tutorial/format-version-information