Jump to content

MrNoreee

Member
  • Posts

    11
  • Joined

  • Last visited

Awards

This user doesn't have any awards

1 Follower

MrNoreee's Achievements

  1. Hello. I'm trying to work on an onboard guitar effects processor and need a bit of help with the automatic gain control circuit. In short, I will have a signal leaving a guitar, into a circuit that houses a DSP chip for processing, and then out into a guitar amplifier. Now, magnets or pickups in a guitar greatly effect the sound produced by the amp and guitar players are usually very picky about retaining that sound , which is what scares most guitar players into avoiding units that involve digital processing altogether. What I want to do is create a circuit before this processing system that tests the voltage leaving the guitar pickup and will amplify or attenuate this signal after processing to match what the instrument is originally producing. I would prefer this circuit to be of the highest possible accuracy and to work as quickly as possible to avoid latency. It's very important that it's always comparing quickly since different pickups have different output values for different sounds , as well as the picking strength of the player. The output value is constantly changing. I spoke to one of my professors about it and he drew a diagram of what needs to be done, attached below. The two things that confuse me a bit are finding the right type of amplifier, and finding out how to compare the input voltage so that it's matched on the output. Would anyone be able to shed some light on these two things for me ? Thanks very much in advance, Nor
  2. Assembly code, please :3
  3. Can anyone help me with this problem?? Thanks in advance! Write the assembly code to specify an array named src that holds values: 01, 23, 45, 67, 89, and an array of five variables named dst, then write the code to copy the values in array src to array dst.
  4. What is an example of a binary operator that may not be overloaded in c++ ?
  5. Sprint are the idiots who suggested i wipe my phone My Wifi works just fine but like I said when wifi is off, no internet ANYWHERE , the 3g symbol pops up like it's scanning and just shows no service.
  6. So I recently updated my galaxy s5 to the newest version of android (Lollipop). For some reason, since this update, my 3g/LTE are just not working. The icon is always displayed at the top that shows I am connected to 3g but there is no service found. Yes, my mobile data is on and It's set to CDMA/LTE and i even tried switching to automatic. The people at sprint's customer support were NO help at all! They even told me to factory restored my phone and the problem still persists!! Can anyone please help me or guide me through this at all? It would be greatly appreciated!
  7. I have 20 min left on an exam and don't even know how to approach this question, anyone want to help me gain some extra points? TCO 7) Create an output format statement which would generate lines in the table which appear as shown below. The Element Name Field displays an element name contained in the namevariable. YYY displays an integer value from the anumvariable which ranges from 1 thru 109 and should be left justified. XXX.XXXX displays an atomic weight value from the aweight variable which ranges from 1.0000 to 268.0000 and should be right justified. Use the variables shown below in your output statements.
  8. I see it now thank you so much for the help!
  9. I'm sorry I'm still a little confused :\
  10. so for an exam which i have an hour left for, I need to write a vowel counter where the user inputs a c string, can anyone help me ? Here is the question: Write a function that takes a C string as an input and counts the number of vowels in the C string. Vowels must include both upper and lower case a, e, i, o, u, and y. You are not allowed to use any other functions to do this. Do not write a main function. Your function does not do any cin or cout. Remember, C strings are terminated with the '\0' character. Make sure to properly format all your code. LIKE an idiot, i did it without the c string and i'm having trouble switching the formatting. Can anyone help? Here is my current program. #include <iostream> #include <cmath> #include <string> #include <cstring> #include <iomanip> using namespace std; int main() { char sentence = ' '; int count = 0 ; cout << "Hello! Enter a sentence and I will count the number of vowels!"; cin.get(sentence); cout << "VOWELS: " << endl; while (sentence != '\n') { cin.get(sentence); switch (toupper(sentence)) { case 'A' : cout << sentence << ", "; count++; break; case 'E' : cout << sentence << ", "; count++; break; case 'I' : cout << sentence << ", "; count++; break; case 'O' : cout << sentence << ", "; count++; break; case 'U' : cout << sentence << ", "; count++; break; case 'Y' : cout << sentence << ", "; count++; break; } } cout << endl << "Your sentence had a total of" << count << " vowels!" << endl ; system ("PAUSE"); return 0; }
×