Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
jachwe
jachwe's Profile
2
Posts
0
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
Video Capture: Resolutions and Settings
[1 Reply]
03-Aug-2012 08:33 AM
Forum:
Core Library Questions
Hey.
I got a Blackmagic Intensity Pro HDMI Capture Card to capture video output of an iPad.
Using the Video Library it's really easy to get that picture into processing.
But i got two problems and looking for help:
1. Although i select to Capture at 1280x720, the image that is drawn seems to be of a very bad resolution.
(when viewing the image in other apps it is fine)
2. I always have to manually call .settings() and set the input settings to 60fps or the screen wont show anything.
Would be awesome if i could set that programmatically.
Thanks in advance.
Here is the (simple) code i am using:
import processing.video.*;
Capture camera;
int[] _size = {1280, 720};
void setup()
{
size(_size[0], _size[1]);
String[] devices = Capture.list();
camera = new Capture(this, _size[0], _size[1], devices[3], 60);
camera.settings();
}
void draw() {
if (camera.available() == true) {
camera.read();
set(0, 0, camera);
}
}
Ess Sound Library: Click on repeated play of .wav file
[0 Replies]
03-Aug-2012 05:09 AM
Forum:
Contributed Library Questions
Hello,
i am writing a sequencer. I tried different Sound Libraries so far and i like Ess the most.
But still there is a problem.
I can play the sounds without any problem for exactly one time.
Whenever i try to play an AudioChannel again there is a click noise in the sound.
I tried to explicty stop() the AudioChannel before playing it again, and also stop it on the Done Event.
I also tried the snapOutToZero and snapInToZero options without any success.
Is there anything i am missing?!
Thanks for your help.
Jewe
Edit for Codesnippet:
init in class:
player = new AudioChannel(tr);
call:
if( lastBeat != beatCount ){
if(bass[beatCount].active){
bass[beatCount].player.stop();
bass[beatCount].player.play();
}
if(snare[beatCount].active){
snare[beatCount].player.stop();
snare[beatCount].player.play();
}
lastBeat = beatCount;
}
«Prev
Next »
Moderate user : jachwe
Forum