Questions tagged [finch]

Finch is a simple, low-latency OpenAL sound engine for Apple iOS.

General info about Finch and a basic tutorial can be found on GitHub. If you have a question, take a look there, maybe the readme already answers it. If not, feel free to ask here. If nobody answers your question, poke zoul (at) fleuron.cz to take a look.

69 questions
1
vote
0 answers

How do I stop all playing files in finch?

my question is, is there a way I can stop all sound being played at the same time with one statement? For example if there 20 sounds playing, how do i stop them without having to write 20 statements?  
0
votes
2 answers

Finch Sound Engine Memory Leak

I want to access some sounds in different classes and can be read and change the pitch values of each sound in multiple classes. Then i use extern FISound *mySound in my application delegate methods and loaded them in my view controller. It is…
frenz
  • 47
  • 6
0
votes
1 answer

playing m4a files on finch

I have tried putting in the decoding options in the decoder file with finch in order to get .m4a files to play, but it when it actually plays the sounds, it comes out static. Any ideas on how to get this work? Thanks
0
votes
1 answer

using finch by zoul, is loading 12MB of wavs into an array causing an erratic crash for my users at launch?

So my code works for about 90% of people. The rest get a crash at launch. I figure with all the memory I'm tying up here, this is the problem? Maybe i shouldn't use an array as such? for(i=60;i<80;i++){ myNewString = [NSMutableString…
rowdyruckus
  • 892
  • 4
  • 12
  • 23
0
votes
1 answer

How to use bypass with Finch in Elixir tests?

My project uses Finch to make parallel HTTP requests. I tried to add bypass to my tests, but the HTTP requests are not being detected. When I run the test, I get this error: No HTTP request arrived at Bypass Here is my test: defmodule MyClientTest…
Daniel Cukier
  • 11,502
  • 15
  • 68
  • 123
0
votes
1 answer

How can I make my robot turn 90 degree to the right?

I was wondering if anyone knew how I could make my finch robot turn right by 90 degrees? The below code is what I've tried but it's incorrect as the robot doesn't turn by 90…
user12580773
0
votes
1 answer

How can I specify an IP address besides localhost?

I'm taking my first steps with Scala and Finch and working up a very simple rest API. Currently everything works properly, but I am unable to serve over anything besides "localhost" and there is no apparent way for me to specify it. I've googled for…
Robbie Milejczak
  • 5,664
  • 3
  • 32
  • 65
0
votes
1 answer

TwitterServer (Finch/Finagle) seems to block api call till it finishes its calculation

I'm setting up a new rest server using TwitterServer, and it seems to block a new api call, till a previous one be finished. Here is a simple modification of the basic code taken from the documentation at https://twitter.github.io/twitter-server…
eran
  • 21
  • 3
0
votes
1 answer

Java: duration of movement of Finch Robot

I'm new to programming. I have code for my Finch robot that simply loops a zigzag section after the user inputs how many times it should loop for, but how do I input another question that asks how long each zigzag section should be? For example, the…
Dys
  • 5
  • 2
0
votes
2 answers

Finch Robot - How do I loop specific lines of code? (Java)

I am completely new to coding and have no clear idea what I am doing. I have a code for my Finch robot that simply makes it move left and right, but how do I make this simple process loop for three times? Additionally, can a code be implemented to…
Dys
  • 5
  • 2
0
votes
2 answers

Finch Audio Engine not opening default OpenAL device

I have an abstract class that initializes Finch to the global variable Finch *engine in the awakeFromNib method as follows: engine = [[Finch alloc] init]; None of the abstract class's subclasses override the method. However, whenever I try my…
ASMach
  • 91
  • 3
  • 9
0
votes
1 answer

Finch: how can i define Endpoint with param in the middle

i am trying to define an Endpoint with param in the middle. something similar to: get("foo" :: param("id") :: "goo") so, i can call it with the following rest call: http://mydomain/foo?id=99/goo but, for some reason, it doesn't work. any idea…
eran
  • 21
  • 3
0
votes
0 answers

Finch post endpoint definiton Break on finangle 0.14.0.

I tried to define a finch post endpoint, for simplify purpose, I used stringBody, The endpoint definition looks like: val e = "product"::"v1"::"createBody"::stringBody And when I tried to start the service, got following question: Exception in…
Shi Chen
  • 91
  • 2
  • 7
0
votes
1 answer

How to specify a request parameter as Json type

I am creating a Finch endpoint which expects a Json. URL - LogBundles/Long JSON Message/Process I am using json4s library for Json parsing How do I specify the body as type json Or how do I pass a Json value between LogBundles and Process? I…
Prateek Mane
  • 111
  • 1
  • 9
0
votes
1 answer

Java Finch Robot Obsctacle sensors

I am working on the finch robot and i am having problems using one of the functions. my_finch.getObstacleSensors(). my_finch is the robot.This is what the API says; public boolean[] getObstacleSensors() Returns the value of both obstacle sensors…
Bart123
  • 45
  • 2
  • 11