Raspberry pi sound visualizer. - Raspberry Pi General

I'm looking at a little project,
I'm not one for games of such, but I've always wondered is it possible to turn surround sound into a visual representation using a pi?
So the output from the sound card can be sent as 5.1 or 7.1 and surely these signals can be interpreted and visualized on a little screen in a 360degree field. Much like the movement sensor on alien.
Is this possible with a raspberry pi? To have the signals sent to the pi, such is the direction of sound coming from through the sound card, processed on the pi and visually represented on a little screen and allow the player to see the direction of the sound?
Much like a visual 7.1 surround sound.?
Surely it must be possible?
Any help would be great.
Ste

Related

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

Capture audio from other app?

Hi, I am new to android dev, but know java and other languages fairly well from before.
I have a simple question: is it possible to capture the audio from not only the mic or voice calls as defined in MediaRecorder.AudioSource, but instead from another app?
reb8 said:
Hi, I am new to android dev, but know java and other languages fairly well from before.
I have a simple question: is it possible to capture the audio from not only the mic or voice calls as defined in MediaRecorder.AudioSource, but instead from another app?
Click to expand...
Click to collapse
Like what kind of sounds. You could unpack the app and look for the audio files.
Suppose I want to build an application that broadcasts my telephone conversations on the net in real time. The infrastructure of such an app seems like a fairly straight-forward thing: use MediaRecorder to record the voice, throw it onto the net (ok, this is the opposite of simple, but you get the idea).
Now, suppose I'd like to broadcast the sound from an mp3 application instead. As I'd like to do it in real time, looking for it on disk is not the solution.

How would you change HD2 ?

Maybe HTC is reading this forum, so I start a thread for your changes and wishes for HD2. My changes are (wishes for HD3):
- Oled display
- display with capacitive sensors AND press sensitivity , for gloves, finger nails, stylus
- More battery power or less power consumption
- Hardware GPU support for ALL applications !!!
- TV - Out with adapter
- Hardware Buttons in better quality AND going inside (like iphone , Grr) , so you don´t press always any button if you just take the phone in your hand
- Maybe better CPU power or dualcore. I don´t need it right now, but 1 year is a long time and I want to avoid that htc use the same CPU for another 5 years as in the past
- Camera with 720 p video and better lenses.
- stronger WiFi connections
And my manila wishes are:
- manila style Task manger / switcher
- manila style task management tool instead of MS office old thing.
- manila style notes
- manila style counter and stopwatch, like it is in Android right now.
- manila style Email client !!
- better album application, with easy folders access.
- much better mp3 player ! : I want rate my music (and sync, of course), intelligent playlists for my own ( 4 stars, for example), I want to search for music with keyboard and switch fast though it with letters on the right side to jump to S for example. The last two wishes are already there, in the contact manager !! I want the same for music and video ! Better caching of thumbnails, there should be no reload every time I scroll. (same as contacts, there IS no reload !! right now )
- video player with folders and DETAILED view: I want an image AND the name of the movie ! Most time you can´t see what file it is, because it is just a small image . Rateing and playlists, too. And of course keyboard search and Jump to letter, just the same interface for contacts, music, videos, Footprints, weather cities with same slight modifications for each area.
- manila style google maps application with smooth !! multitouch.
- Opera 10 with multitouch, of course.
And : SAVE AND SNYC with ALL Manila and System settings with my desktop or in a file at least !!!!!
Imagine, you do a Rom Update or Hard Reset, just load this settings file and ALL your favorites and "make it mine" settings are back, without hours of tweaking again, your email is set up again, you weathers, your ringtone, ALL of it ! What a dream.......
edit - deleted until HansZimmer version 3 is released with a better humour chip.
I don´t understand your message. Do you think HTC is not going further anymore ? I don´t think so and just want to tell what for me as customer is important for the next device. And as far as I know htc is building the devices for us customers, so I let them know which areas are important for me. If you don´t have anything to tell about this subject, please let you opinion on another place. thank you.
How would I change HD2? I'd have it fulfill all the promises on the box and the specs: SMS without anguish, all notifications working as advertised, OS that worked out of the box and not needing constant hotfixes, a battery that doesn't have you constantly scoping out the next available wall plug...
Shall I go on?
Yes, please. This is the why I started this thread
Hardware: Nothing. I'd say it's perfect for now. No doubt it will be improved with faster processor, more memory, wimax in the future, but that's how it goes, and for its time it's just perfect.
Software: A "bigger" Sense. As in continue what has been done now, and "finish" putting that excellent layer over the old WM to hide it completely. But I'm pretty sure that's what WM7 will be. And don't forget to store a whole lot of settings in the registry so that we cant continue to tweak them to our own liking
Also, unified software and hardware specs to ensure inter-device compatibility, so we dont have software that works on some devices but not others, or miss support for hardware capabilities anymore, and a marketplace that goes with it. Also part of it as it seems.
longer battery, more than 3 alarms
that's it
imagine an HD2 with the same buttons on both side of the screen but the middle buttons are dpads/trackpads/touch screen maybe even track balls!
Audio Oblivion said:
imagine an HD2 with the same buttons on both side of the screen but the middle buttons are dpads/trackpads/touch screen maybe even track balls!
Click to expand...
Click to collapse
I'd love that! It'd be like the HP iPAQ hx4700 (4" VGA display PDA), which I LOVE. Buttons on sides and trackpad in the middle. Though I wouldn't want to make it bigger or make the screen smaller...
Stereo speakers. Such a beautiful device needs beefy sound to complete the package.
Bigger internal storage.
Sense should BE the default UI for Windows Mobile... forever. It is the most beautiful UI on any Phone OS to date!
HTC Should build their own proprietary OS just for their phones so that it is tailored to work the best in terms of speed and stability. And not some overlay on another OS. Love my HD2 tho!
The HTC HD2 is almost perfect! What changes I would like to see...hmmm...easy
1- Remove the camera protrusion in the rear.
2- TV-out
3- More internal memory
4- Video Call feature
5- Built-in VoIP SIP
What I would "want" them to do...
a- capablity to install Xeon QuadCore processor chip
b- Twin Hyper cooling fans for the processor
c- Night vision with heat/UV vision camera
d- Direct Blu-Ray quality video recording
e- Capablity to Plugin a USB external HDD
...think I've oozed out too much greed....I'll just stop now!
athar13 said:
The HTC HD2 is almost perfect! What changes I would like to see...hmmm...easy
1- Remove the camera protrusion in the rear.
2- TV-out
3- More internal memory
4- Video Call feature
5- Built-in VoIP SIP
What I would "want" them to do...
a- capablity to install Xeon QuadCore processor chip
b- Twin Hyper cooling fans for the processor
c- Night vision with heat/UV vision camera
d- Direct Blu-Ray quality video recording
e- Capablity to Plugin a USB external HDD
...think I've oozed out too much greed....I'll just stop now!
Click to expand...
Click to collapse
And don't forget this important aspect: purchase price!!
Putting the new HD3 on the market at $199 (€145, £127) would definitly be the best aspect of them all
And don't forget to give all accessories prices like: $27 for car charger, $ 25 for extended battery + cover etc..
Ah well... we'll have to keep dreaming, 'cause who knows what the 'evil' minds of HTC are up to next
Grtz,
Degake
santahtc,
yes, bring us good stereo speakers as my sharp 903 had.
and an always accessible SDhc card slot.
and a flat back, not that surfboard one!
I'd like the HD2 to have a more constructive forum on xda, where there's less trolls and flamers. Other than that, I can't fault it.
A touchscreen that enables typing would be nice. http://forum.xda-developers.com/showthread.php?t=595655
See what I mean
johncmolyneux said:
See what I mean
Click to expand...
Click to collapse
lol I was expecting just that.
There is nothing wrong in pointing the good and the bad stuff.. I happen to be one who has those problems... Shouldn't I be looking for solutions?
Cheers mate! Peace!
Is it just me, or are people wanting a quad core laptop in a smartphone...
The reason I got the HD2 was to combine my phone, PDA and media player, and it does
My pockets are so light now.
One thing, I wish I could lock the screen during music/video playback I want to see the screen and not pause the playback accidentally
USB host
Video Out
Better battery performance
IrDa to control my TV

[Q] Using accelerometer to perform actions

So I'm in the preliminary stages of doing an experimental HCI project for a capstone course. I have no android (java) coding experience but I do have background in C++, Python, and QT so I'm hoping to be able to pick up java relatively fast.
Anyways, the idea of my project relies on being able to take accelerometer readings to determine device tilt in the X and Y axis (as documented in the SensorEvent section in the Android Reference guide) and pipe it into an app such as Google Maps to perform a certain action (in this case I'm tying to pan the map).
I know there are games that use the accelerometer to determine tilt that exist out there (eg. Minion Rush when collecting bananas on the unicorn) so it should be well documented I'm hoping....
Is it possible to make an app that's a "skeleton" over Google Maps and when the app detects certain orientations of the phone to execute the appropriate function. eg. To pan in the direction the phone is tilted? It looks like there's the "CameraUpdateFactory.scrollBy(float, float)" function to pan the map that takes 2 floats as arguments can I take the accelerometer readings (X and Y) and plug them into this function? I'm somewhat familiar with QT signals and slots, is there something like that that exists in Android app development so when the phone is tilted past a certain angle it will emit a signal that can be captured and plugged into the above function?
Also can anyone point me to any HCI research papers that may deal with this topic or keywords to be searching for?

[Q] i want an algorithm

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.

Categories

Resources