 Yeah, let's do a quick one by the way. Just there. I'm not sure what's happening. So I'm actually putting my hands behind my head So it can obviously Recognize a hand, but then it doesn't know what to do with the fingers. So it kind of assumes The fingers are just there. So I'm Moving my fingers, but Doesn't know what to do with them. So I'm moving them behind my Hand, but they don't Don't move on the on the model Well, not as as I actually move them, but yeah Just a weird thing. Let's do a quick one We'll do the usual Only chaos stuff Yeah, if a place to cameras then I Potentially start having issues with the microphone. It seems like the USB Ports cannot handle Everything at once. So I'll just do one camera at a time Quickly mention This blog should appear. This is where when I move my mouse where This thing is I have to move it to the second screen so it doesn't happen. Yeah, not only that's weird Wait, can I do something else? This window capture. I have to antique capture cursor Then the whole thing just disappear close the window. What's that media pipe? Now that I cut your cursor. No, okay So now there's no Cursor no BS So it's good to remember all these things right and I was running it In the wrong way. I was running it in my development Sweet instead of it's working. No cursor. Yeah, that's okay, right? So publishing this blog Yes, it's was written By a Chagabity we need that disclaimer at the bottom. Just this just say content Generated by Chagabity to its trade away We have it in there Would not isn't it? Yeah, we have this food Stance division container Container, sorry, I don't know how to do it properly What's under? Yeah, this is GitHub co-pilot right that don't even tell us should have this thief End of a division be over there, right? Dana Yeah, pop this footer. Yeah, that's correct. We have this food a content Generated using Chagabity how to spell Chagabity probably the capital letters or Yeah, it's capital C capital GPT fairly fairly obvious Sorry for this, but we are popping it's Popping in some Advertisement, yeah, I'll just create an image for it and pop it on there on the website so Mention it again Is this brain implants ethical concern? Yeah, it had some Images that are generated before but they're not great at all urge If You Lexity see what it can do, but the advice is what is it zero shot? Is this what's your shot? prompt is Well, I mean no because we had all this previous prompts Which will affect the effect the outcome of this one. This is an odd one Yeah, we see when it's putting in text Messing up the text. Yeah, one something more simple from what's trying to over complicate things which presents a diagram of various types of neural implants organized by their complexity It includes simpler devices like cochlear implants more complex systems such as deep brain stimulation DBS devices and advanced concepts like brain computer interfaces Each implant type is clearly labeled and depicted in a distinct manner with visual elements indicating their increasing level of complexity This diagram serves as an educational tool offering a clear visual representation of the spectrum of neural implant technologies Diagram is not clear at all the cochlear implant Image is Not clear. I can't see any cochlear implant in the diagram at all. Can we simplify the diagram and Just have very basic examples of neural implants Maybe stick to one type Yep, let's see if it does any better. We're actually using those Dones, show them in here Don't see it in there She's a bit Or what are these papers here? So it's using this plug-in It's called Scholar AI So it says unleash scientific research search 200 million plus peer-reviewed papers and explore images and text from scientific PDFs Okay, that's great. And that's actually Yeah, it's a mixed Results with it in the past but now I tried it again and actually produces legit References actually those links here Actually correct Some of them not exactly what I was looking for This one was a good one So I use these also asked it to rewrite some of the paragraphs in them in the blog to Include include this specific reference which it which it did Yeah, a lot of the other ones are not actually around What did I ask for? Yeah, ethical distinction between using plant-based neural device for therapeutic Processive versus enhancement enhancement. Let's just simplify that prompt Yes, it's using this Open AI So essentially it's using and doing a Google Scholar search Using these terms Here are some papers that delve into the ethical aspects of using implantable neural devices for therapeutic purposes versus enhancement Researchers ethical concerns about using adaptive deep-brain stimulation for enhancement authors K Costic connect Levina Kalwani Barbara Koenig. Yeah, abstract This paper discusses the ethical concerns of adaptive deep-brain stimulation ADBS researchers regarding its use for enhancement It highlights concerns related to safety security fairness and equality and most researchers believe ADBS will eventually be technically feasible for enhancement But it should not be considered until there is a better understanding of brain target localization and functioning Publication date the 14th of April 2022 Read the full paper DOI authors M Menegeti, Jaspreet Kaur, Kanyang Sui, Ayal Abstract this study presents a soft fiber-based device for neuromodulating brain activity using infrared laser pulses while recording electrophysiological signals It discusses the potential of this technology for both fundamental research and clinically-translatable therapeutic interventions Publication date the 23rd of May 2022 Right, so we use the first one ready the second one doesn't seem to be relevant because it doesn't mention any ethical concerns That's the abstract of the third one is not available The title doesn't seem to be relevant 2016 Steady, oh, I link working. Yes So it's good because prior So why couldn't it pick up the abstract from this? Neural stimulation using injected electrical phylogis Why do you use both in functional therapies and as an experimental tool for neuroscience applications? Electrical pulses can induce excitation of targeted neural pathways that aid in the treatment of neural disorders or dysfunction of the central and peripheral nervous system In this review, we summarize the recent trends in the field of electrical stimulation for therapeutic interventions of nervous system disorders such as for the restoration of brain, eye, ear, spinal cord, nerve and muscle function Neural prosthetic applications are discussed and functional electrical stimulation parameters for treating side disorders are reviewed Important considerations for implantable packaging and enhancing device reliability are also discussed Neural stimulators are expected to play a profound role in implantable neural devices that treat disorders and help restore functions in injured or disabled nervous system Right, well, it's not quite relevant Ah, yeah Is that meant to be a cochlear implant? The generated image provides a simplified and clear diagram of a basic neural implant specifically a cochlear implant It illustrates the main components of the implant including both the external part that sits behind the ear and the internal part that is implanted in the brain Each component is labeled for clarity offering a straightforward visual representation of how cochlear implant functions This is very bad diagram of a cochlear implant Doesn't have the cochlear the behind the ear processor doesn't actually Sits behind the ear Yeah, very bad. Yep. I apologize for the inaccuracy in the diagram Creating an accurate and informative diagram of a cochlear implant, especially one that accurately represents its components and placement is essential for understanding this technology For a detailed and accurate representation It's often best to consult specialized medical illustrations or resources provided by medical professionals and cochlear implant manufacturers These sources typically offer diagrams that accurately depict the anatomical placement and component structure of cochlear implants And right so we will give in on that one. I was just looking for a generic Image for this article It's that old medical concern neural implant, but Yeah, I was quite happy with the text I might read it again later and And yes, we're also able to With this plugin It's called the scola ai Is able to actually Generate the legit references Papers they've actually working links or papers on the ethics of the subject Yep, let's see if it can finally any more Essentially it's doing a key watch Search It's using some sort of api for For google scholar I think let's see if it Now it keeps coming up with the same The same paper Yeah, it always comes up with that one. Yeah, this one is not really relevant Yeah, it's producing the same Results just wondering how it decided to break Keywords Peer review true keeps just finding the same papers And you find any more papers Not the same as the first three you found Yep, that's just interesting offset four And this one says next offset eight What scuffles and stem cell No, that's off the charts Cognitive enhancement Well, those are psychopharmacological Neuro enhancement So not quite relevant. It's going places now irrelevant stuff What's this for sake? So we'll continue this blog later. Let's jump Back into what we were doing really spent half an hour on this Uh, see if we have the Egypt music here. We have the app Overview I said that we need to start Fresh And so we have this three. Yeah, it's that quickly in your chat So so be kind of tutorial on how to do this So we have uh index html main geo script and up by some script. This is a flask application meant to be shared with you when we Are done or have something useful At the end of the call we have the sentence saying this for reference only to generate anything yet Sometimes It decides to You know me Put exclamation marks See if that helps it seems like you've shared the html code for an eeg to music application This app appears to offer an innovative way to experience music generated from eeg Electroencephalography data providing users with a unique auditory experience derived from brainwave patterns Here are some key elements and features based on your html code Title and header the title of the app is eeg I ask not to Generate anything at the end of the code. This was only for reference Yep Yes, you did mention that the html code was for reference only in request to not generate anything I've reviewed the code and provided an analysis based on its content If you have specific questions or need further assistance related to this code or its intended functionality, please feel free to ask I'm surprised. That's not being apologetic But hopefully now it will stop ignoring that the request Can't know Generating stuff Thank you for sharing the main js JavaScript file for your eeg to music application This script appears to be responsible for several key functionalities of your app Yeah, I don't know why it keeps ignoring me But we might as well read this Fetching eeg data the fetch eeg data function retrieves the eeg data from a specified url using query parameters for start count and channel It handles responses and errors from the network request Updating data and visualization the update data function reads values from the user interface such as the data slider channel selector and window size Fetch as the corresponding eeg data and then plots this data using the pot eeg data function It also calls the convert eeg to music function to initiate the music generation process Plotting eeg data the plot eeg data function creates or updates a line chart using chart js to visualize eeg data Converting eeg data to music the convert eeg to music function fetches url to initiate the conversion of eeg data to music notes The play sequence function then plays these notes MIDI and soundfront integration the script integrates with web midi js for handling midi devices and soundfront player for playing music sequences A vendlessness and initialization the script uses dom content loaded to ensure the DOM is fully loaded before executing It sets up a vendlessness for UI elements like the data slider and the play button It also initializes the soundfront instrument a piano in this case and configures interaction with midi devices Error handling functions like handle audio error provide basic error handling particularly if issues related to audio file loading This script seems well structured and covers a range of functionalities necessary for an interactive eeg to music application If you have specific questions about this code be held with debugging while looking for suggestions on enhancements or additional features feel free to ask Okay, so we haven't shared the Python script yet, but the problem with it is that when When you run it control shift c control v Right, we have to start the app again F5 this Right, so it says conversion is successful, but This bit should have generated the notes Uh Which it does not so we have to fix that So the music player is working. Okay, I don't know if you can hear it. Yeah, probably can Just testing one of the notes And then the idea is that when you slide through the eeg A more notes are being generated. So it's breaking the eeg down and converting different frequency components into A musical notes and we're using a grand piano at the moment. So it should be playing that But it does not Hopefully GPT-4 can sort it out for us We haven't started prompting it yet. This is just loading A loading the code so the three files we have the index html already loaded A main javascript code And the flash application itself Hopefully after this is done Hopefully it will appear on the side It's taking longer than expected because we had problems with those midi A midi files They were not generated properly I mean they were generated but I was having trouble actually playing them reproducing them in the browser playing them in the browser All right, so we have this roots The plain one is calling index html get the eeg data using the load data function and convert eeg using Load data and then converting To eeg Yeah, the convert eeg to music Scales the eeg frequencies and maps them into musical notes We have some scaling in there as well and the linear we're using linear interpolation at this stage just something simple for mapping Yeah, we're still in debug mode because the mode doesn't work Right now the problem. I'm getting to the A midi gritty of it And yes, we'll be having this errors Main js line 90 Yeah, we're not getting the nodes So we need to fix this troubleshoot properly Expected that is not being received. Yeah, we're not receiving nodes back in the issue I'd not be sending the expected data format That might be an issue with how the data is being fetched Okay, so we don't have any errors in the terminal The network traffic is okay We have a soundfont now That's the bit that we were struggling with last time. So we have this grand piano loaded It's working okay from there When you move the position within the eeg file. Yeah, we should have been getting data Returns to hundreds. So it's working okay back network traffic the digit music Correctly handling the response Yeah, there might be a problem with that the last bit but first of all This bit is not returning 10 nodes troubleshooting So the back end Sending you have the code. Can I just start with this one? Okay, so then convert the eeg Right, so we had that test That we were doing just sending Just sending this nodes It's in different Format Okay, we currently have No, I'm pretty sure there's no cross origin Issues Okay, so that's not happening Yeah, let's try A single Say c4 Yeah, this one should be Returning the node Doesn't give any errors Yeah, what am I doing wrong? I'm thinking the JavaScript Yeah, how to make sure the back end is sending the nodes correctly Yeah, well, that's not working. Is that that's what I keep feeling the same code. It's the same Yeah, we get a 200 response. That's fine The problem It's that app Very g It's the one using using the function Yeah, we have that already Can print the nodes But then you can What the return statement? Yeah, I'm pretty sure we don't have any cause Issues Right sending nodes Sprinted okay Will assume if I Do this telecom that in the end point is being hit And it's executing expected It shows that the router is seeing correct parameters sending nodes Okay, we must be having issues with the front end So the back end is working correctly On JavaScript and sure that the JavaScript function is sending the server response correctly It makes back the Adjacent object with the keys message and nodes. So that doesn't Happen You're getting a 200 What a response Asynchronous this might be the problem there So first of all we're getting a 200 for that response For the get request Yeah, the content On the message only has It should have the nodes in the JavaScript Be the part Hcon that Egypt music Where's the bit? Yeah, that uh And that the nodes Yes, I'm getting no data received Yeah, our problem is that it's also super slow, but we can Deal with it later No notes that they received Yeah And that uh, it's so low here What's all that It's something to do parsing that jason response The response data you shared from a converter to music endpoint indicates that the response jason object contains Only the message field and does not include the notes field This is why your javascript code is logging no notes data received. It's expecting a notes field which is absent in response Check for conditional logic If there's any conditional logic that might be skipping the addition of the notes field make sure that it's correctly configured Debugging output temporarily added debugging print statement before the return statement in your flow script to confirm the structure of the response For example And let's do this we should print the nodes A bov In the terminal It does it though A key would change this print test No 65 A key would do this one again Because I'm not convinced it's actually getting there No, it is No idea what the problem is Right, now it's actually Has the response data A key digit data contra shift c No, that's yep. That's getting in the data to convert To music Which is says conversion successful doesn't have the notes Okay Review fetch and response handling once you confirm that the flowers back end sends the correct data revisit your javascript fetch logic If the back end is correct the front end should be able to receive and process the notes data Doesn't have a fetch So it has this function It's the structure So we have Yeah, we have a fetch URL there data data nodes