Wave Generator/ O-Scope - Printable Version +- Forums - Open Redstone Engineers (https://forum.openredstone.org) +-- Forum: ORE General (https://forum.openredstone.org/forum-39.html) +--- Forum: Projects & Inventions (https://forum.openredstone.org/forum-19.html) +---- Forum: In Progress (https://forum.openredstone.org/forum-20.html) +---- Thread: Wave Generator/ O-Scope (/thread-4547.html) |
Wave Generator/ O-Scope - Legofreak - 08-25-2014 Quite a few of you guys saw me working on this. Over the weekend I was derping around with hex serial and I found I could produce some neat waves. After some tinkering, I made a display that draws all points between outputs when the output changes. this allows for drawing of waves on a screen. At first I was driving it with a long line of memory but I didn't like how big it was. Then I came up with the idea of generating the wave with hardware. I created a double inversion memory cell that I can control how much and how long it adds or subtracts. This creates a triangle or sawtooth wave. Depending on the settings you have, you can adjust the Frequency/Wavelength and Amplitude. After I made one I copied it and connected them to add the waves together. This results in some really neat complex waveforms. I think with some more tinkering, I can get the UI much more user friendly and possibly some better functionality. One thing I haven't figured out yet is how to make a vertical screen that can react to 2 tick pulses and display properly. Lamps are too slow, and I'm worried pistons would be too laggy. Right now, a flat surface of repeaters seems to be the best option for the display. I was too lazy to take screenshots... I'll try to get around to it later. Edit: SCREENSHAT RE: Wave Generator/ O-Scope - newomaster - 08-25-2014 This is quite the wizardry. I'm surprised nobody has thought of doing this before. It looks insanely cool in game RE: Wave Generator/ O-Scope - AFtExploision - 08-25-2014 Newo is your reaction to everything about hex "surprised no one had thought of it". Now make a receiver RE: Wave Generator/ O-Scope - Legofreak - 08-25-2014 What would a receiver do anyway? It's just 2 tick serial hex. If it's just to save the stream then it should be fairly easy. Maybe detect frequencies? I don't know what else you can do with a wave in minecraft besides look at it. RE: Wave Generator/ O-Scope - AFtExploision - 08-25-2014 I meant detect frequencies, then we'd have a closer representation to irl analog RE: Wave Generator/ O-Scope - greatgamer34 - 08-26-2014 very neat, can you set a warp to it? RE: Wave Generator/ O-Scope - Legofreak - 08-26-2014 I'll set a warp when I get a good enough version that other people could use. But if you /warp rekdir , it's near the end of the platform. Its neat when you can tell the waves are cancelling, and then doubling. this is 2 of the same wave added together a little out of phase. RE: Wave Generator/ O-Scope - Legofreak - 08-26-2014 New O-Scope has 31 lines for more space when adding waves. hooray lag! RE: Wave Generator/ O-Scope - greatgamer34 - 08-26-2014 i love it. Keep up the great work! RE: Wave Generator/ O-Scope - Legofreak - 08-27-2014 Last night I made something slightly resembling a sine wave. The function for it, at least on one setting, is: +1,+2,+3,+3,+2,+1,+0,+0,-1,-2,-3,-3,-2,-1,-0,-0 It's a pretty simple pattern but kinda frustrating to time it properly considering each sum/difference has to happen every 2 ticks RE: Wave Generator/ O-Scope - Apocryphan - 11-18-2014 I was actually thinking about making something like this earlier, try and get enough note blocks to form vowels and make it say "hello dave" and other speech. Another idea is to pull 2 values amplitude and frequency and use them to plot a dot and move in a circle or figure 8. RE: Wave Generator/ O-Scope - GISED_Link - 11-18-2014 So you can mix 2 signals in one ? Can you make a transistor ? My work : And I have all the signals (carré, dent de scie, triangle) RE: Wave Generator/ O-Scope - Apuly - 11-18-2014 Yea. Fokn hard coded. RE: Wave Generator/ O-Scope - PhysoniumI - 11-18-2014 Apocryphan, you don't have enough frequencies to do that really. RE: Wave Generator/ O-Scope - Legofreak - 11-19-2014 To mix signals you just need a hex half adder which is essentially just 2 signals running to each side of 2 comparators. I also have it only show the highest value so it only plots one line and then a delay between switching to plot intermediate points RE: Wave Generator/ O-Scope - AFtExploision - 11-19-2014 rek lives?! RE: Wave Generator/ O-Scope - Legofreak - 11-19-2014 no, i'm dead I haven't had any redstone ideas in quite a while now. Also free time at home is limited. I check the forums while I'm at work sometimes... like today. Miss me? RE: Wave Generator/ O-Scope - PhysoniumI - 11-19-2014 Rek, I love you. <3 Even if you're dead. Even if it's necrophillia. RE: Wave Generator/ O-Scope - Legofreak - 11-24-2014 Aft told me to make a better display. this is my attempt. I dont really like how it functions but it works well enough for now. I would like to make it update differently so there's not so much downtime. RE: Wave Generator/ O-Scope - greatgamer34 - 11-24-2014 damn RE: Wave Generator/ O-Scope - Legofreak - 11-25-2014 I posted the last pic of this on hackaday and this thread has gotten like 200 views so far today... lol Edit: 1000 views lol RE: Wave Generator/ O-Scope - Legofreak - 11-26-2014 New UI /warp oscope Frequency and Rise of 2 waves. Phase is adjustable in 2 tick increments up to 16 tick offset Oscilloscope functions: Fill Lines, Refresh, Auto Refresh DAT BUS These components DEFINITELY need some reorganizing... lots of bus delay could be greatly reduced. RE: Wave Generator/ O-Scope - Apocryphan - 11-27-2014 very nice RE: Wave Generator/ O-Scope - LordDecapo - 11-28-2014 So love this. And I still really wanna make an auaudio system based on this with like with like a 2tick sample rate RE: Wave Generator/ O-Scope - Legofreak - 11-29-2014 O-scope display 2.0 Made a new display from scratch. Now refreshes from left to right. I'm working on an adjustable refresh clock now. This shows 3 refreshes across the screen. it also now has the ability to show both waves at the same time instead of adding. also zero line toggle. I messed up the line drawer while tinkering yesterday so it needs some debugging. RE: Wave Generator/ O-Scope - Legofreak - 11-30-2014 Got a decent "sine" wave. Its pretty much a triangle wave fed into another triangle generator with some switching to get Y=0+1+2+3+2+1+0-1-2-3-2-1 also its fun to make shapes like hearts and stuff I think i forgot to mention you can disable the reset so it can overlay new waves on the screen on top of the existing waves. RE: Wave Generator/ O-Scope - Apocryphan - 12-07-2014 You inspired me to make my old wave clock into an adjustable o scope =) I shall call it mini oscope. It uses 3 controls to adjust the wave, the first is A which will adjust the Amplitude by raising and lowering the signal low point, so it will make the signal go from 0-15 to 14-15. The second Control is B which will shift the whole wave up and down, making the signal go from 14-15 to 0-1. And the final Control C will adjust the Wavelength by changing the increments that it raises and lowers, this can be set to 0 so that you can pause the wave clock, i need to work on a better display like yours though. The Original Wave Clock I made Aug 2013 Just got an idea to split the signal and see if i can hold 2 wave values the will alternate each wave, and i'm also going to try and combine my "loading bar" version with my carry over calculator cell and see if i can adjust the line to spin both ways and different speeds and slow it to a stop. The peak of the loading bar design is pictured below. It shouldn't be hard to manipulate this signal like i did the wave clock. And when i went to find my old loading bar clock i remembered my old music file design using these clocks. Reminded me that i still need to make a few of those for the computer i'm eventually going to make. RE: Wave Generator/ O-Scope - Legofreak - 12-08-2014 cool! I've mostly been using 2 variables to make waves whether it be 2 values or one value and a clock but I've been meaning to incorporate a third variable in my design for more adjustable waves. I know you can tell that the oscope is just a hex selector but is special in a few ways. First, is that I made it torchless. The first version had torches but fast waves would make them burn out. I had to use two rows of comparators because each one does every other output. Second, I have the input in the middle so I can have a signal go to each side. One side is normal and one side is the compliment. There is a gap between the signals where the output is produced. Third, the two sides are set up in a way that when the value changes, the side in the direction the wave is moving moves first so the gap gets bigger for 2 ticks. This "draws" lines from each point to the next. Now, I can't tell what the "load bar" thing you made is. Also, its cool that you made a music thing like that because I designed one almost the exact same way. I like to use 3 comparators in the clock so i can breakout the side with repeaters and get 3/4 beats. RE: Wave Generator/ O-Scope - Apocryphan - 12-09-2014 Thanks, and the "load bar" i made a video to demonstrate when i first made it, so keep in mind it's not solid state, that's about the only change really but here it is. I have a plan that sounds like what you did, i plan to use 2 arrays of decoders, it will use a split signal that grows from center, using rising signal pulsers on the side that splits left and a falling signal pulser to the right and vice versa for 2nd array, and then just use an rs nor latch to switch decoders when the signals peak. I've got it started, just need to make the pulsers, I already have a small memory cell that pulses at every signal change so i just need to make it a 2 wide array of rising and falling. And i like that you went torchless, the only torches on mine are on the rs latch and i plan to change the decoder to a torchless one, but i will definitely remember to try for torchless since you mentioned it. The timed self subtracting memory cell that pulses for rising and falling uses a 1 pulser on a repeater timer to automatically countdown to 0 and start when an value is given to the memory cell. I also compacted the current one and have another design in mind to add to adjustability. I changed the control to a range selector, so you just pick the high and low on the top set of switches to choose the amplitude and position on the x axis, and then choose 1-15 for the wavelength, and then i thought it'd be cool to use 2 of them to draw circles, figure 8's and make it bounce off the edges of the screen like those lame screensavers. haven't perfect circles yet but its good for diamonds, i also need to hold the pixel longer so i can see the display better. RE: Wave Generator/ O-Scope - Legofreak - 12-09-2014 somebody on the server was telling me i should make something like that. I think he called it a "vectorscope" or something. where 2 waves represent a point on a screen. good job! also the load bar thing looks neat. simple but fun. RE: Wave Generator/ O-Scope - CreepyTacoMan - 12-10-2014 yeah but can it do this? https://www.youtube.com/watch?v=rtR63-ecUNo RE: Wave Generator/ O-Scope - Apocryphan - 12-12-2014 i first watched and was thinking "Cool! seems possible maybe" and by then end i was thinking "nope, nope, nope", but very cool, i didn't even know that was possible, i'm sure it could be done at a much slower pace using multiple vectorscopes and an array of logic conversions. But as of right now, no, i can do none of that which is cool and psychadelic. RE: Wave Generator/ O-Scope - CreepyTacoMan - 12-12-2014 If only we could have half/quarter ticks to control note blocks more precisely, along with having a solid sound when a solid signal is going. RE: Wave Generator/ O-Scope - Legofreak - 01-08-2015 GTFO my thread bot! RE: Wave Generator/ O-Scope - Nickster258 - 01-08-2015 (01-08-2015, 06:13 PM)RekcirBrickeR Wrote: GTFO my thread bot! Someone bad then bots. RE: Wave Generator/ O-Scope - Legofreak - 03-01-2015 Updated my wave lab. Finally brought the o-scope controls in to the lab area. RE: Wave Generator/ O-Scope - Magic :^) - 03-01-2015 (12-10-2014, 12:15 PM)CreepyTacoMan Wrote: yeah but can it do this? That scope was just plugged into blender ;_; RE: Wave Generator/ O-Scope - Legofreak - 03-01-2015 (03-01-2015, 02:43 PM)The Magical Gentleman Wrote:(12-10-2014, 12:15 PM)CreepyTacoMan Wrote: yeah but can it do this? I dont know about that but the sound it was making would actually control an oscilloscope if it were plugged in to the x and y axis. RE: Wave Generator/ O-Scope - Magic :^) - 03-01-2015 i looked into it. There is a blender plugin that generates the appropriate sound signals for that model of oscilloscope RE: Wave Generator/ O-Scope - Legofreak - 03-01-2015 ah. its still cool though. |