[Q] i want an algorithm - Wear OS Q&A, Help & Troubleshooting

i am building up a medical device and in which i have to convert a electrical signal to a digital output through algorithm program. so can any one just help me out with my project .

I am building Death Star and in which I need to convert dark energy in Mickey mouse movie through algorithm program... Is it something like this?
If you want help with wear device we might be able to help, but right now it looks like this forum members needs telepathy algorithm.

Related

Starting a new project - Need help and feedback

Intro:
Hi, my name is bart and im a dj / producer
When im traveling i get alot of inspiration. So i would love to be able to make music on my pocket pc. I searched for software like drumsequencer/samplers for pocket pc. ?I found some very basic/not interesting freeware progs. And 1 over the top not realy functional wav sampler wich costs money btw. btw excuse me for my grammar as i am dutch i will likely make some major grammar faults.
So i decided i need to make one my own. and make it good and then release it to the public for free.
The Concept:
Maybe some of you know this program some dont (look it up on google then) but do you remember the program called Rebirth? it is a piece of software by "propellorhead" wich is actualy a digital clone of a oldskool 808 and 909 drumcomputer and 2 303 synths. It also includes 4 basic effects: Delay, Distortion, enveloped cutoff/resonance and a compressor.
Wich are basicaly mathematical formulas wich change the sound produced by one of these drumpcomputers/synths. One of those effects cqan be used for one sound source only.
ok so i basically want to get about thew same specs as that program. Only with less cpu intense graphics, just 1 drum and 1 synth and compatibilaty with atleast the mda vario aka qtek 9100 but i prefer compatibilaty with almost all pocketpc's.
here is a basic list:
1 drumsequencer (with maybe 4 samplekits?)
1 synth (soundgenerator using 4 different wave shapes)
1 cuttof/resonance filter
1 distortion filter
1 delay
1 internal mixer ( each channel will have a own volume knob i guess)
Read this before continueing
Ok so now is the question if you are interested in all this. If you want a program like this read on. If you are good in programming even better.
If you know a lot about music or music in combination with pc software you can definately help me out.
I know almost nothing about programming. Ok i know some oldskool basic, i can do some html and php, but thats it. Tho im not stupid and i learn quick. I also think that this project may be a good excuse to start learning to program. So basically i first need to determine some important facts before i start this project:
Wich programming language is required for this project
How much programming skill will this project need (basic, medium, expert)
What about the soundchips in ppc's and how to communicate with them
Use sound sampling based techniques or sound generating techniques
Are there people to support me, can they help write code, can they help answer questions
And the list go's on... if you think you can answer one of these questions dont hesitade and start to support this project
ok nuf said... lets get back to bussines:
Main functions
Ok so i guess i need some main functions wich would be the core of the program. There needs to be a timecode aka bpm (beats per minute)
This means a play button and a stop button. There needs to be a visiualisation of the drumcomp, synth and effects. I would also like to note that im not planning to use the function of a pattern playlist yet ( a playlist tells the sequencer to play different patterns from a database of patterns).
To keep things simple i want to keep this version just playing this 16 step pattern as a loop. Very important is that all sequencers (synth, drums, delay effect) go as fast as the timecode aka bpm.
The Drumcomputer aka Sequencer:
The idea is to make a 16 step sequencer. For those who dont know what that means plz look it up on google. i would like to implement the feature to use different samplekits from a list. i als am wondering wich format whould be best to use to compress these samples... wav, aif, 8 bit 16 bit 22khz ???!!??
The synth aka soundgenerator:
I want the following functions on this soundgenerator.
It is triggered by a sequencer
You can change pitch of each note
sound can be modified by cuttof resonance
you can choose 4 waveshapes: sinus, square, triangle, noize.
very similar to the 303 in rebirth do it doesnt have to have the same sound just the functions.
The effects:
Need to find the mathematical formulas for these effects and check how to convert them to this program.
Internal:
Ok first i want to tell what ISNT needed. I dont need save to be implemented yet as a wont be using playlist and mulitple patterns anyway.
All sound sources (drums, synth effects) have a own volume knob wich indicates the volume. I want to make a internal mixer wich mixes the drum, synth and effects together according to the volume set by these volume knobs.
ok im done typing for some time... i will do some adjustements to this post later on: and if it gets some serious i will make a good decent, main thread, with the name of the project in the title etc.
Thnx for reading all this and i hope to get some nice feedback... or questions.
greetz bart.
Hello Bart!
First of all, I'd like to say that you are off to a good start by making a detailed project outline.
Although I never done any programing involving audio manipulation I believe I can answer some of the questions you posted here:
1. There are 3 main stream languages to program pocket PCs:
.NET Visual Basic and C#, and native C++ (eVC++)
Unless you can fined .NET objects dedicated to functions you described it will probably be better to use C++ as it will make access to windows API easier.
Also for VB and C# you will need to by Visual Studio 2005, but eVC 4 can be downloaded for free from Microsoft.
2. I estimate this project will take medium to expert programming skill depending on how cooperative windows CE will be with your goals. Hopefully you wont have to access the audio chip directly. Alternatively there may be a .NET component that will make your life very easy try Google.
If you know the mathematics behind the effects you got half the job done and I am sure you will find people to help you with the coding.
So good luck, and remember - people like free software so this project can't be a bad idea!
Ok, with your answers in the back of my mind i did some googling
and i noticed that there is quite some sourcecodes and info for audio programming in c++
check this link for example: http://www.harmony-central.com/Computer/Programming/
Tho in my search i stumbled on another thing... what about java? maybe it wil be a lot easyer in java? and maybe also more compatible? i dunno just guessing here...
anywayz as for the c++ side: i noticed i can download many synths, effects examples/sourcecodes and they are all copyright free. it will be a task of exploring this sources and binding it all together or something similar. is there anyone out there with the c++ guru powers it requires that can guide me in this jungle of data?
edit: o btw does wm5 support DSP ? guess not but worth asking

PocketPC as MIDI controller?

This may be a stupid question, but is it possible to send real-time MIDI data over the USB link between PPC and computer (or via a wifi SD card for that matter)?
I've been playing with this Clanger Theremin app that turns your PPC touchscreen into a musical instrument of sorts - movement on the X axis changes pitch, movement on the Y axis changes volume.
It would be great if the entire touchscreen could be set up to send changes in MIDI values to a program running on the PC, also using the X and Y axes. Once MIDI data can be transferred, you could play the tuba via your PPC, or scratch virtual records like a dj, or really do just about anything.
There's already a program in development that allows you to do this with a Wacom drawing tablet (http://www.livelab.dk/tablet2midi.php), but a drawing tablet is already set up via USB to be a human input device or whatever you call it, so I wonder if the link between tablet and computer is at all similar to that between PPC and computer.
So would something like this be possible? Or is this just a pipe dream?
Wouldn't you just create a server on the desktop and get the client to connect to it through the Activesync network connection or bluetooth personal area network? The server would then have to behave like a MIDI device which might be the hard part. Would the PocketPC client produce MIDI events or send simpler x/y coordinates to the server which would then generate MIDI events?
this is a bloody excellent idea!!!
i can never have enough x/y pads!!!!!
anyone fancy a crack at it?
it should be pretty simple!
should have the option that when its touched it activates a switch (simple NOTE ON when pressed/ NOTE OFF when released). ive got annoyed with many xy pads for that reason!
i have a friend who may find this pretty easy.. sadly my code skills in that area are lacking severely.
i suspect he is too busy though..
i am quite liking the idea of the server/client method, with the ppc sending the data to a server that then converts that to midi data...
perhaps even a clever card export style driver emulation.. (only requires a pc driver instead of server program)
assignable hardware buttons!! great for activating effects..
anyone got any ideas?
edit: had another idea
great, i'm glad somebody else likes this idea! I guess the question is - how do you get a project like this started? I also don't have the coding experience that would allow me to make this myself.
Could I (or we, if there are more people that want this made) offer some sort of bounty for a finished app? Is there any system in place online for doing something like this? Something where you give a list of necessary specs and then post a reward for delivering a working app?
I certainly couldn't offer heaps, but if a bunch of people got together who wanted this and chipped in a bit of money each, perhaps it might motivate somebody to spend some time creating the thing. Programmers: how much would it take to convince you to spend some time creating something like this?
Or, if any experienced coders out there have a couple of ideas on how to do this and could point me in the right direction, perhaps I could do some research and eventually build this myself. As it is right now, I don't have a clue as to how to begin - can you send data of any kind down the USB link? Or over bluetooth, or wifi? What language should be used to program this?
Otherwise, if you're already interested in making a pocketpc into an x/y controller, and have the skills to do it, I can tell you that it'll be greatly appreciated.. Maybe I should post this topic outside of the Magician forum, as something like this could be useful for anybody with a pocketpc that has a touchscreen.
Anyway, I really hope that this can someday happen, it would be wonderful if it could. Perhaps focusing on MIDI data is a bad idea - if the touchscreen could be used to control anything on the PC then it might appeal to a wider range of users (and programmers). Imagine using your touchscreen via bluetooth to control Winamp from across the room, just moving your thumb up or down to raise or lower volume. I'm sure there are a huge variety of other uses that could come in handy as well. Assignable hardware buttons would be amazing...
There is already plenty of software that allows you to control your PC via your PPC (pocket VLC, winamp remote etc etc etc) but this doesnt neccesarily help matters.
If you have to have the controller on the screen of the host machine... you may as well be using a damn mouse.
I suggest a complete midi send system that will make the ppc work as if it is a real MIDI controller. This way you can use it as a system of control for elements that wont be controlled by devices you can have on-screen.
Im going to look into this later, im just about to do some important house related things
keep the ideas coming

Need help with .net graphics. sample project attached

I am trying to do some custom controls, I've done some mobile work lately, but just typically using standard controls and an owner draw list. I want to try to do more "custom" drawn stuff.
In this project I'm trying to somewhat mimic the htc random access that will support multiple "lists" for this new project.
I'm new to the graphics (2d) stuff and need a bit of help. In this sample project I want to be able to draw the letter in the center of the screen, I will have a box behind it (gradient eventually I hope) so I need to be able to draw to the screen since its outside of the controls bounds. Thats no problem, but how do I clear what I've drawn?
here is a link to my code, if someone could please take a look.
where you should look is in the RandomAccess class, in DrawStringbox
http://createdevcode.com/code
thanks a million!
been trying to find some examples on the web, found one in full .net that sorta does what I want but of course I don't have access to all the PMEs in compact framework.
again, any help would be apprecidated on how I can draw to a "layer" on top of my form and have the form paint properly once I want to get rid of that layer and not have any left over graphics on top of any controls.

Arduino/Amarino LM35 temperature regulation + simple Android APK

Hello,
I need to create a simple temperature regulation with LM35 sensor based on Arduino and Bluetooth module, connected with Android phone. Regulation is really simple since there are only 2 logic options: if temperature on LM35 is above threshold, fan turns on in order to cool down the system. If temperature is below threshold, don't do anything.
I have already found a program which does basically the same thing here dl.dropboxusercontent.com/u/76467041/LM35%20Temp%20Sensor%20Arduino%20Code.txt (except that I don't need the servo part), but it doesn't include Android application and since I have basically zero skills with Android programming, I couldn't get it done by myself.
I've also found a program which reads temperature from LM35 here: buildcircuit.com/amarino-experiment-temperature-sensor-data-and-led-controller-on-amarino-interface/ . It already comes packed with Android Application, but unfortunately does not include any regulation.
What I'd actually need to do is use the first program and write an app for it. App should display current temperature in degrees celsius and have input field for desired temperature.
I believe that this is a breeze for most of you guys, but I've never been really programming before so you may imagine how difficult that is for me. I've already read some tutorials for Arduino and actually managed to get Multi Color Lamp demo project working fine but because of recent sickness and school deadline for this project, I'm in a "little" hurry now.
May I ask for your help?
Thanks in advance, I highly appreciate it!

[Q] Question regarding watch face creation (dynamic watch face background)

Hey, <insert request that you ignore the fact that I have no clue what I'm doing/am a noob here> I was wondering if it's possible to create a watch face background that changes based on the card being previewed, similarly to the "simple" watch face that came as a watch face for the moto 360. If it is possible, are there any guides, resources, etc. that you guys could point me towards, or if someone has recreated that face or a similar one and the code is available that would be fantastic.
Thank you all very much!
Note: while I really appreciate any and all help, I'm relatively inexperienced with programming, and entirely new to programming for android, so explanations will likely confuse me; developer resources or tutorials, or even better, sample code, would probably be a lot more helpful, so I can jump in and start changing things, or dig through the syntax and stuff as some sort of context for the code I'm looking at (I'm more experienced with graphic design and have just started to get into programming outside of basic stuff with C#, VB.net, and python).
BioToxic737 said:
Hey, <insert request that you ignore the fact that I have no clue what I'm doing/am a noob here> I was wondering if it's possible to create a watch face background that changes based on the card being previewed, similarly to the "simple" watch face that came as a watch face for the moto 360. If it is possible, are there any guides, resources, etc. that you guys could point me towards, or if someone has recreated that face or a similar one and the code is available that would be fantastic.
Thank you all very much!
Note: while I really appreciate any and all help, I'm relatively inexperienced with programming, and entirely new to programming for android, so explanations will likely confuse me; developer resources or tutorials, or even better, sample code, would probably be a lot more helpful, so I can jump in and start changing things, or dig through the syntax and stuff as some sort of context for the code I'm looking at (I'm more experienced with graphic design and have just started to get into programming outside of basic stuff with C#, VB.net, and python).
Click to expand...
Click to collapse
Hey BioToxic! Nice to meet you.
I am porting a friends Watch Face to Android. I can tell you that it is entirely possible, you can pretty much modify and manipulate the background to anything of like. I've been working in the Watch Face environment for a few weeks now and have a good solid understanding of how it works (previous knowledge helped, of course)
There is a lot of Java coding involved, if you are not familiar with that or familiar with how Android works it might be tough, you'll be writing code and not understand how it works.
A good starting point would be looking at the classes available in the WatchFace API.
[developer.android.com/reference/android/support/wearable/watchface/package-summary.html
Another good starting point would be getting your feet wet with the emulator, or better yet an actual device. Play around with the sample modules available.

Categories

Resources