martin (+1.0)
 22/11/03 5:26PM |
I run a school bar - If you can turn this into a tough, semi-commercial product usable by youngsters (18 year olds) I'd be very interested. |
Mart (+1.0)
 22/11/03 8:11PM |
The last time I saw someone DJing they were using a PC and every so often they had to do a quick (well slow ) re-boot. I presume to prevent crashes. I agree with the previous comment that this could be an idea for a commercial product. |
timephoenix (+2.0) 22/11/03 9:56PM |
This would be an excellent commercial product. A searchable MP3 database like the one in MusicMatch Jukebox would come in handy for requests. |
pipalya (+1.0)
 22/11/03 10:17PM |
Bloody fantastic effort! A killer product? |
Grek1 (-1.0)
 22/11/03 11:27PM |
In reply to imj:
Why would it not be legal ? |
Spriteman (+2.0)
 23/11/03 12:51AM |
Nice one, ix.
I had considered a project but not being able to sync the bpm of different tracks did seem like a real limitation. It's be nice to see if this was possible on a RiscPC with 128kb mp3s.
--
Spriteman |
Smiler (+2.0)
 23/11/03 6:47AM |
This looks great! What would make it better is if you could search IDv3 tags for artist, album, year of release or even track number on an album. That way punters can be more vague about their requests.
"Err, it's the 3rd track on Club Remix 2001. You know what one I mean?"
Great idea, and a great implemntation too. |
jonix (+2.0)
 23/11/03 12:39PM |
In reply to Spriteman:
syncing the BPM of different tracks would require the ability to monitor your 2nd track independently from the playing track. One way this is possible is by using a 2nd output device (eg. Irlam 24i16 card). Additionally, pitch control (ie. adjusting the speed of playing tracks) is required. This is not something that is directly provided by AMPlayer but I would envisage using the AMPlayer module to turn MP3 streams into raw samples and then using a separate player to allow controlling of pitch.
In reply to Smiler:
that would be useful although this does of course mean that all the information has been entered correctly  |
jonix (+2.0)
 23/11/03 12:47PM |
In reply to Spriteman:
incidentally, a StrongARM RiscPC could cope with playing twp 256Kbit streams at once from the tests that I performed. This does result in a rather sluggish desktop though. |
em2ac (+2.0) 23/11/03 1:49PM |
Would an app like Wimp 2 enable even more performance?
This would be a marketable product, especially if used on the iyonix with one of those cool cases
Perhapss another app to pre-read files and calculate their BPM? then use an addon to AMPlay to adjust the new track accordingly?
Also the use of a second screen for advanced visualisations for flashy lights is another great idea
hope this can work you for you!  |
john (+1.0) 23/11/03 2:12PM |
Sharedsound could "fool" amplayer into playing tunes faster/slower by passing in a slightly different multiplier (usually used to correct for different sample rates) AFAIK the source code for SS isn't available but as with everything, it's not hard to hack. You could then write a program call a sharedsound SWI to tell it a multiplier depending on where your lever is (or whatever).
Wimp2 wouldn't enable more performance, PMT doesn't make the CPU faster, it just doles it out differently. AMPlayer runs on callbacks so it can grab cpu time when foreground apps are running. Once I heard mention that they were looking at making amplayer decode during disc reads, but it sounds hard to me.
I've often wondered why Sharedsound wasn't designed to handle multiple independednt outputs, but then again it isn't a problem for most people. I expect someone with a little thought about APIs and such could come up with a multi-output SS type module. |
jonix (+2.0)
 23/11/03 2:22PM |
Wimp2 wouldn't necessarily help. The desktop is sluggish simply because of the processing power required to decode the mp3 streams. I would be interested to see how the Iyonix would cope (I imagine much better).
I have not yet seen an algorithm which will calculate the BPM of a track accurately. I would be interested to hear if someone knows of one.
True DJs will prefer to match records themselves by adjusting pitch rather than using pre-calculated BPM counts because this can take the fun away from actually playing the music.
Advanced visualisations and light control would certainly top such a project off but the former would certainly require plenty of CPU power depending on what effects you're after.
Using mp3s as a storage mechanism is not ideal, you can't guarantee you won't come across corrupted frames and that the frames will all be the same length. This means that calculating an offset in an audio file is not accurate.
Considering the price of large hard discs and the fact that many DJs will have a "record bag", it may be better to use raw sound sample data which, although requires more initial bandwidth to retrieve from disc, will require significantly less CPU power allowing time for DSP or visualisation effects. |
jonix (+1.0)
 23/11/03 2:25PM |
In reply to John:
A multi-output SharedSound module would be the best case. Preferably thought for how the API may interact with sound hardware drivers on the Iyonix (which may include surround sound, Dolby, etc) should be taken into consideration. |
em2ac (+2.0) 23/11/03 2:34PM |
I thought that the ATI range had the ability to do visulisations from a raw sound passed to it? I know mine can. (using the ViewFinder)
although Wimp 2 wont make the process faster, I just thoguht that you could give the desktop more time slice to speed the redraw up a little?
having used my PC as a DJ machine, I know that the re-start thing is THE WORST THING THAT CAN HAPPEN - big silences (our big problem was the SB Live card packing up due to too much data being passed to it?)
if the schematics of the connections and the software were availible, I know my RiscPC would be travelling in my car
What ever happens, good luck! |
piemmm
 23/11/03 3:47PM |
How well does it crossfade tracks by Mr Walkie Talkie? |
Spriteman (+1.0)
 23/11/03 6:36PM |
As far as I can see, the best way to change the bpm for the audio is to attack the raw audio streams. You can do some funky manipulation in software. For instance, Window Media Player can change the playback speed without altering the pitch. Combining the two effects would allow you to play back Beyonce a little faster without making her sound like a chipmunk
--
Spriteman |
jonix (+2.0)
 23/11/03 6:50PM |
In reply to Spriteman:
On a turntable, you probably only have the ability to change the pitch by +-10% which may only begin to start Beyonce sounding like a chipmunk I believe the technique that you are referring to is called time stretching. |
john (+1.0) 23/11/03 8:38PM |
e2mac: to increase the desktop timeslivce you would have to take some away from AMPlayer, which would mean that you'd have gaps in your sound. I'm presuming the sound being continuous is pretty much essential for the system.
In reply to Spriteman:
the best way to change bpm is surely just to play it faster. No-one really notices that kind of thing Although admittedly I don't know how time stretching works, presumably some sort of frequency analysis and regeneration. |
Spriteman
 23/11/03 8:39PM |
10% on Crazy In Love is enough to do it
The process that I mentioned could be called time-stretching but it doesn't incur the strange distortion that was associated with earlier versions of this process. ISTR that there was an app for RISC OS that could process sound samples to produce the stylised and distorted time stretch.
--
Spriteman |
hutchies
 24/11/03 12:53PM |
Yes, it was on one of the Datafile PDCDs (either 3 or 4) so it's probably kicking around somewhere on the web. If I was at home now I could look up its name... |
Spriteman (+1.0)
 24/11/03 2:29PM |
Timestretch is what I was on about.
[Link: www.drobe.co.uk]
--
Spriteman |
guestx (-1.0) 24/11/03 4:13PM |
In reply to martin:
"I run a school bar"
Things have certainly changed since I was at school...
In reply to mavhc:
"I don't get this crossfading thing, one tune ends, everyone claps, the next one starts"
You've been missing out, although if the music "on the decks" is vanilla Kylie Minogue, then you haven't been missing out by much.  |
simo (+1.0)
 24/11/03 5:38PM |
My brother-in-law did some cool DJ stuff at a wedding once - it involved using a Linux box and a custom-written visualisation plugin for XMMS that would drive a laser show thing to the beat of MP3's stored on a CD.
It was pretty good, with different pcitures being drawn and also a motor to control the disco ball RPMs!
This was all done on an old P166 laptop as the PII-300 that was supposed to do it couldn't boot to Linux as a Windows virus had nuked the boot sector!
There was no fading or any of that stuff, but it was very impressive that the Pentium did so well - I guess it has the FPU that the StrongARM lacks.... |
em2ac 24/11/03 5:48PM |
I would be interested in trying this? any idea if we would be able to see such a program for download? |
harmsy
 24/11/03 5:58PM |
That's totally cool.  |
spellinn (+1.0) 24/11/03 6:30PM |
Some food for thought :
- The iyonix could easily perform twin MP3 decoding plus some pitch/time shifting to match BPMs, and maybe even some visual
- Using a PCI soundcard, you could output mutiple audio streams, or even perform some of the frequency/time shifting using an onboard DSP.
Cheers,
Neil |
spellinn 24/11/03 6:32PM |
OK banned-word-typo should obviously be "shifting"
/Neil/ |
spellinn 24/11/03 6:34PM |
In reply to s:
h-i-f-t-i-n-g !!! grrrr.... |
| 2 comment(s) are below your moderation threshold. Login to view them. |
| Use the forum for more comments on this article |